question

AhmedWassimBENSALEMENISo-3626 avatar image
0 Votes"
AhmedWassimBENSALEMENISo-3626 asked AhmedWassimBENSALEMENISo-3626 commented

Convert Image to HSV (HSL)

Does anybody knows how to convert a image to HSV ?
I want the V parameter to get the brightness of image ,
Thank you

dotnet-csharpdotnet-xamarinformsdotnet-androiddotnet-xamarinessentials
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Castorix31 avatar image
0 Votes"
Castorix31 answered AhmedWassimBENSALEMENISo-3626 commented

There was an answer in this old thread : Converting RGB to HSV


· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

the answered method take a Color as parameter , do u know take image instead as paramater and convert it to Hsv

0 Votes 0 ·
Philchel-8024 avatar image Philchel-8024 AhmedWassimBENSALEMENISo-3626 ·

Can't you loop on all image pixels and change them from RGB to HSV ?

0 Votes 0 ·

do u know what i need to do for the image to be able to loop its pixels ? converting it to bitmap?
i am new in this , do u have some example please

0 Votes 0 ·