Gray Image to Color Indexed Image
1 view (last 30 days)
Show older comments
Yonghyun
on 16 Dec 2013
Commented: Oliver Woodford
on 19 Dec 2013
Dear all,
I have gray image, the range is -1 to +1 .
In this case, imshow(image, [0.4 1] ,'colormap','hsv'); %Not all range
I want to back this showed image to workspace with original size.
If the image size is larger than pixel size of monitor, the MATLAB reduce the size of showed image.
The input image is not 8 bit, its range is -1 to +1. It's the key.
This is gonna be a lot of thanks for your help.
0 Comments
Accepted Answer
Oliver Woodford
on 16 Dec 2013
Edited: Oliver Woodford
on 16 Dec 2013
A = sc(image, [0.4 1], 'hsv');
2 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!