Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

cpselect doesn't show images

Asked by Jeff Spector on 6 May 2013

Hi, I'm trying to register two images taken on two different CCD cameras. I know I can't do this with a simple linear transformation (rot. translate and scale) as there is a "warping" and different parts of the images overlap in different ways. I am hoping to auto matlab to do the image registration for me. When I load my images and run "cpselect" The two images come up as all black. they are 16-bit tiff files. They also come up all black when I scale them to be from 0 to 1. Any help would be greatly appreciated. I've looked at how to scale the images form [0 1] in other messages, but that did not help display mine correctly. thanks, -jeff

0 Comments

Jeff Spector

1 Answer

Answer by Image Analyst on 6 May 2013

Did you try imregister()?

You can display any image in any intensity range using [] in imshow():

imshow(yourImage, []);

1 Comment

Jeff Spector on 6 May 2013

I am using R2010a. I don't think I have access to imregister. I will check around to find someone with a newer verison of MATLAB if that is what I need..

Image Analyst

Contact us