I want to apply some algorithm only on region of interest in an input image.
Let say I have an image A.
image_A=imread('1.jpg'); "size is 576×576"
[rows cols colors]=size(image_A);
new_image=imcrop(image_A);"this crops only interested region lets say I am cropped the lower region from image_A".
"Now I want this region size as same as image_A" for further processing.
Let say I wan to subtract these two images. like
can any one help…