i need code for hsv weight function ( based on saturation and intensity)

RGB= imread('image.jpg'); hsv =rgb2hsv(RGB);
AFTER THIS I NEED TO CALCULATE HSV WEIGHT FUNCTION.

2 Comments

how to implement r (255/I) (S,I) 1 S gray W 2
Why do you need to when the Mathworks implemented it for you in rgb2hsv()?

Sign in to comment.

Answers (1)

Categories

Asked:

on 22 Jan 2016

Commented:

on 23 Jan 2016

Community Treasure Hunt

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

Start Hunting!