diff --git a/ext/opencv/cvmat.cpp b/ext/opencv/cvmat.cpp index a210a94..7b38990 100644 --- a/ext/opencv/cvmat.cpp +++ b/ext/opencv/cvmat.cpp @@ -583,7 +583,7 @@ prepare_decoding(int argc, VALUE *argv, int* iscolor, int* need_release) * Reads an image from a buffer in memory. * * Parameters: - * buf - Input array + * buf - Input array * iscolor - Flags specifying the color type of a decoded image (the same flags as CvMat#load) */ VALUE diff --git a/ext/opencv/iplimage.cpp b/ext/opencv/iplimage.cpp index ecc00d7..3ccd4a0 100644 --- a/ext/opencv/iplimage.cpp +++ b/ext/opencv/iplimage.cpp @@ -138,7 +138,7 @@ rb_load_image(int argc, VALUE *argv, VALUE self) /* * call-seq: - * decode_image(buf[, iscolor=CV_LOAD_IMAGE_COLOR]) -> CvMat + * decode_image(buf[, iscolor=CV_LOAD_IMAGE_COLOR]) -> IplImage * * Reads an image from a buffer in memory. *