最終更新:2019-06-17 (月) 18:12:41 (1747d)
OpenCV/画素値
cv::Mat
- cv::Mat::at<unsigned char>(y, x)
at(row, column)
at(y, x)
for(int y = 0; y < mat.rows; y++) { for(int x = 0; x < mat.cols; x++) { CvMat mat_ = mat; CvMat out_ = out; cvSet2D(&out_, y, x, cvGet2D(&mat_, y, x)); } }
IplImage
- cvGet2D
- cvSet2D?
- IplImage.imageData