MATLAB: How to validate contrast adjusting using imadjust comparing to other contrast adjusting techniques and original image

contrast adjustimage processingImage Processing ToolboxMATLAB

I want to compare the difference between imadjust image and original image using a specific measurement o technique.Can you suggest any technique to show the differnce between original and imadjust image?

Best Answer

You can cast the images to double then subtract them to see the differences
diffImage = double(image1) - double(image2);
imshow(diffImage, []);
impixelinfo;
You can also view the values in the workspace/variable inspector - just double-click on the variable name in the workspace panel.