From: Brandon Giles on 23 Jun 2010 10:45 Hi Everyone, I'm working with an unsupported image data structure. I can view the image that its supposed to produce with the function imagesc. When I try to use imshow or imtool I just get a black image. When looking at CData values of the black image, the values of the 512x512 matrix range from [0,5e-10]. When I use contrast adjust tool for the black image displayed using imtool, and set the max value to 5e-10 I can view the image, so I believe that imagesc automatically scales the image data to [0,1] instead of [0.5e-10]. Is there a way to call imtool with this scaling ability? Also, I'm trying to save the image using imwrite, but it appears I save the unscaled CData when I do this. Is there a way to permanently change the CData from the unscaled to the scaled version so I can just view the image without having to rescale it? Thanks so much for your help! Brandon
|
Pages: 1 Prev: Help with image analysis Next: Permanently changing the CData of an image? |