1 | initial version |
Hi! As I see, you declare a 2 dimensional Mat, so you can use Mat.at<>()
like this:
downSize.at<float>(row, column)
This works fine. 2 | No.2 Revision |
Hi! As I see, you declare a 2 dimensional Mat, your source has type CV_U8C1, so you can should use
like this:
Mat.at<>()
This works fine.downSize.at<float>(row, Mat.at<unsigned char>(row, column)
.
3 | No.3 Revision |
Hi! As I see, your source has type CV_U8C1, so you should use Mat.at<unsigned char>(row, column)
. Destination type isn't taken into account, as described here: resize.
4 | No.4 Revision |
Hi! As I see, your source has type CV_U8C1, so you should use
. Destination type isn't taken into account, as described here: resize.Mat.at<unsigned downSize.at<unsigned char>(row, column)