Learn Load, Display In Addition To Relieve An Image
Mat imread (const string& filename, intflags=1 ) Parameters: filename – Name of file to live on loaded. flags –Flags specifying the color type of a loaded image: CV_LOAD_IMAGE_ANYDEPTH - render 16-bit/32-bit icon when the input has the corresponding depth, otherwise convert it to 8-bit. CV_LOAD_IMAGE_COLOR(>0) - If set, ever convert icon to the color one CV_LOAD_IMAGE_GRAYSCALE (0)- If set, ever convert icon to the grayscale one CV_LOAD_IMAGE_UNCHANGED (<0) loads the icon equally is (including the alpha channel if present) bool imwrite (const string& filename, InputArray img, const vector<int>¶ms=vector<int>() ) Parameters: filename – Name of the file. image – Image to live on saved. params – Format-specific relieve parameters encoded equally pairs paramId_1, paramValue_1,...