MATLAB: How do i get the matrix index to agree

chain codefreeman chain codeimage processingImage Processing Toolboxindexmatrix

i have two images which have been image processed how to get the two images to have the same matrix index, i have used matlab to calculate the values of x, y and x1, y1:
>> size(x)
ans =
142505 1
>> size(y)
ans =
142505 1
>> size(x1)
ans =
176868 1
>> size(y1)
ans =
176868 1
this is what i am getting but i need to perform a calculation to try and make these images the same.

Best Answer

Do you have a 2D grayscale image, or a 3D RGB color image? x, y, x1, and y1 look like 1D arrays. What do they represent? Four one-dimensional grayscale images?
Related Question