1 | initial version |
That's not really an answer bu with this code I have got your result :
image.at<uchar>(0,0)=0; image.at<uchar>(1,1)=0; image.at<uchar>(0,1)=255; image.at<uchar>(1,0)=255; imshow("orignal",image); resize(image, image2, Size(256,256),0,0,INTER_LINEAR); imshow("resize", image2); waitKey();
May be you should check carrefully your parameter
2 | No.2 Revision |
That's not really an answer bu with this code I have got your result :
image.at<uchar>(0,0)=0;
May be you should check carrefully your parameter