im trying to load 2 images of 150MB and i cant load it someone can helme please?
this is my code, i donĀ“t have errors
Mat imageRed = imread("images/OrtoImagenTest/band(3).tif", CV_LOAD_IMAGE_GRAYSCALE);
Mat imageNir = imread("images/OrtoImagenTest/band(4).tif", CV_LOAD_IMAGE_GRAYSCALE);
int rows = imageRed.rows;
int cols = imageRed.cols;
cout <<"rows " <<rows << endl;
cout << "cols " << cols << endl;
if (!imageRed.data || !imageNir.data)
{
cout << "error al leer las imagenes";
return -1;
}