MATLAB: Can I save the cropped image from IMTOOL in the Image Processing Toolbox 7.2 (R2011a) but not the contrast adjusted image

adjustcontrastimageImage Processing Toolboximtoolsave

I open an image using IMTOOL. I crop the image and then open the Adjust Contrast window and saturate my image. When I close the Adjust Contrast window, the contrast changes are still observed from IMTOOL. However when I export my figure to the workspace, only the cropping is reflected but my image is still not saturated. How can I obtain the saturated image as well?

Best Answer

To obtain the saturated image, you can export the image to the MATLAB workspace using the following steps:
1. Open image using IMTOOL
2. Go to Tools -> Adjust Contrast
3. In the Adjust Contrast (Image Tool) that opens, move the red handles to saturate the image.
4. Click on "Adjust Data" button at the bottom right corner of the window.
5. Close the window.
6. Export image to MATLAB Workspace (File -> Export to Workspace)
7. Type out a variable name in the window that pops up, to store the image.
Related Question