HSV color assignment depending on the height of the corresponding histogram bin

1 vue (au cours des 30 derniers jours)
Jin Jun Chow
Jin Jun Chow le 27 Mai 2021
Commenté : Jin Jun Chow le 27 Mai 2021
how do i assign a certain colour based on these colour theshold?
Which can produced results like this?

Réponses (1)

KALYAN ACHARJYA
KALYAN ACHARJYA le 27 Mai 2021
If you use less than & equal (both inclusion), it may be cover the entire image.
e.g
if h_level>0.75 & s_level>0.75
pixels=red
so on...
Use logical indexing to avoid multiple if else.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by