Jump to content

HSV color frequency


Recommended Posts

Hello,

Im using Labview and im trying to get a single pixel color value of HSV starting on the x0 y0 coordinates from my picture,  x1 y0, x2 y0, ... at the rows and then continue to columns. Where would i get the frequency of each color (0-255) on the whole picture at the table with one column for H => 0-255, S => 0-255 and V=> 0-255. But i need the frequency so i only need to add +1 everytime it appearce in there for each color to count it at the end (i need it for fuzzy later, to show my fruit has a good color and is ready to be harvested).

Could you please help me with that? 


 If you have any more questions about it , feel free to ask.

Edited by Sue Aranel
Link to comment

I don't have the vision addon installed, so can't point you to a specific VI. I recall there being an example that performed a histogram of the colors (in RGB?). You may need to open up various vision examples as it might not specifically state it was a histogram example.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.