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

조회 수: 3(최근 30일)
Jin Jun Chow
Jin Jun Chow 2021년 5월 27일
댓글: Jin Jun Chow 2021년 5월 27일
how do i assign a certain colour based on these colour theshold?
Which can produced results like this?


KALYAN ACHARJYA 2021년 5월 27일
If you use less than & equal (both inclusion), it may be cover the entire image.
if h_level>0.75 & s_level>0.75
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