How to combine two palettes inside one image?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Valeriy
am 16 Jan. 2023
Kommentiert: Walter Roberson
am 17 Jan. 2023
Is it possible to combine two palettes inside one image? For example, using main part of the image with gray palette, but some stressed part of it, inside circle, for example, with jet palette?
Thank you
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 16 Jan. 2023
Yes, there are several ways. You can make up a mask, and then apply the colormap to the whole indexed image and create an RGB image from it, then you can turn the grayscale image into a color image, and then use the mask to replace inside the mask with the pseducolored RGB image.
Or you can add an offset to the circular part so that it lies in a different gray scale range and then make a colormap that is a color one and gray one combined, and then apply that colormap to the image with colormap.
Which way do you prefer?
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Blue finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!