mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
continued merging of C, Python and C++ reference manuals
This commit is contained in:
@@ -49,6 +49,14 @@ Loads an image from a file.
|
||||
|
||||
.. ocv:pyfunction:: cv2.imread(filename[, flags]) -> retval
|
||||
|
||||
.. ocv:cfunction:: IplImage* cvLoadImage( const char* filename, int flags=CV_LOAD_IMAGE_COLOR )
|
||||
|
||||
.. ocv:cfunction:: CvMat* cvLoadImageM( const char* filename, int flags=CV_LOAD_IMAGE_COLOR )
|
||||
|
||||
.. ocv:pyoldfunction:: cv.LoadImage(filename, flags=CV_LOAD_IMAGE_COLOR)->None
|
||||
|
||||
.. ocv:pyoldfunction:: cv.LoadImageM(filename, flags=CV_LOAD_IMAGE_COLOR)->None
|
||||
|
||||
:param filename: Name of file to be loaded.
|
||||
|
||||
:param flags: Flags specifying the color type of a loaded image:
|
||||
@@ -87,13 +95,17 @@ imwrite
|
||||
-----------
|
||||
Saves an image to a specified file.
|
||||
|
||||
.. ocv:function:: bool imwrite( const string& filename, InputArray img, const vector<int>& params=vector<int>())
|
||||
.. ocv:function:: bool imwrite( const string& filename, InputArray image, const vector<int>& params=vector<int>())
|
||||
|
||||
.. ocv:pyfunction:: cv2.imwrite(filename, img[, params]) -> retval
|
||||
.. ocv:pyfunction:: cv2.imwrite(filename, image[, params]) -> retval
|
||||
|
||||
.. ocv:cfunction:: int cvSaveImage( const char* filename, const CvArr* image )
|
||||
|
||||
.. ocv:pyoldfunction:: cv.SaveImage(filename, image)-> None
|
||||
|
||||
:param filename: Name of the file.
|
||||
|
||||
:param img: Image to be saved.
|
||||
:param image: Image to be saved.
|
||||
|
||||
:param params: Format-specific save parameters encoded as pairs ``paramId_1, paramValue_1, paramId_2, paramValue_2, ...`` . The following parameters are currently supported:
|
||||
|
||||
|
||||
@@ -59,7 +59,10 @@ Displays an image in the specified window.
|
||||
|
||||
.. ocv:function:: void imshow( const string& winname, InputArray image )
|
||||
|
||||
.. ocv:pyfunction:: cv2.imshow(winname, mat) -> None
|
||||
.. ocv:pyfunction:: cv2.imshow(winname, image) -> None
|
||||
|
||||
.. ocv:cfunction:: void cvShowImage( const char* winname, const CvArr* image )
|
||||
.. ocv:pyoldfunction:: cv.ShowImage(winname, image)-> None
|
||||
|
||||
:param winname: Name of the window.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user