How can i perform ratioing of two images?
Show older comments
I have two images of different wavelength and i want to know the difference in the two images. Simply dividing gives me a dark image. So is there any way to divide the image which give a ratio image from which we can interpret any changes in the images due to change in wavelength.
Answers (2)
Walter Roberson
on 5 Mar 2013
Edited: Walter Roberson
on 5 Mar 2013
0 votes
You could imagesc() the result of the division.
Also, make sure that you convert the images to floating point before doing the division, as dividing integer data types is going to give you an integer data type as an answer.
Would it possibly make more sense to subtract than to divide?
aswathy nair
on 5 Mar 2013
0 votes
3 Comments
Image Analyst
on 5 Mar 2013
This should have been a comment, not an Answer. Why is colormap not working?
Walter Roberson
on 5 Mar 2013
How are you displaying the image ?
aswathy nair
on 13 Mar 2013
Categories
Find more on Images in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!