Jump to content

Pixel Count in ROI


Recommended Posts

Hi guys,

I've looked at the histogram example that comes with Labview 8.5 evaluation version and am attempting to modify it to show the number of pixels in an ROI. If I want to find the number of pixels in the ROI that I have drawn when running the histogram VI, what functions and controls should I add? Many thanks.

Link to comment

If you just want a raw pixel count, the simplest way would probably be to convert the ROI to a mask using "IMAQ ROI to Mask" and then input that mask into "IMAQ Quantify" or "IMAQ Particle Analysis." I don't know if you have access to these VIs in the evaluation version of LV, however. You may need the Vision module. I believe you can download it for free and use in evaluation mode for 30 days.

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
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.