<< cv_gradient ComputerVision cv_imageshow_image >>

ComputerVision >> ComputerVision > cv_imread_path

cv_imread_path

Reading image

Calling Sequence

cv_imread_path(path,flag)

Arguments

path

Path of the Image

Flag

inptu is either 1 or 0. 1 is for rgb image and 0 for grayscale

image

Image is read from the path and returned to output variable "image"

Description

Read an image

This is an example function showing how a function will be called from scilab, It will read the image whose path will be provided by the user and return the read image via the Ouput variable

Examples

image=cv_imread_path("N:\image.png",1)
image=cv_imread_path("~/image.png",1)

See Also


Report an issue
<< cv_gradient ComputerVision cv_imageshow_image >>