Jump to content

How to Create AOI based on threshold area?


Recommended Posts

Hi guys,

Lets say i have a picture with symbol at the middle of the picture.

Symbol is filled with red color while background are in black color. (pls refer to pic)

Now that i want to measure the color within symbol , how do i define the AOI?

** i only want to include symbol area

Is there any way to do it in VBAI?

Thanks in advance for u guys opinion.

post-17742-020397900 1277179690_thumb.jp

Edited by sharinganez
Link to comment

Hi guys,

Lets say i have a picture with symbol at the middle of the picture.

Symbol is filled with red color while background are in black color. (pls refer to pic)

Now that i want to measure the color within symbol , how do i define the AOI?

** i only want to include symbol area

Is there any way to do it in VBAI?

Thanks in advance for u guys opinion.

Hello,

I don't think you can define your "free shape" AOI, it has to be rectangular or circular or any geometrical shaped available in the palette.

That said, if colour is homogeneous on the aera you can define a rectangular AOI that is smaller than the symbol, so you only have one colour in your AOI. Would that be ok?

Link to comment
  • 3 weeks later...

You can define really complex ROIs, including free shapes. More info Image Aqcuitision and Processing with LabVIEW attached (sorry, no idea why the images are negatives :( ).

That said, Antoine put it, you might not actually want to make a complex ROI if all you want to do is find the rough colour of the symbol. I'd make a binary mask based on a B/W intensity threshold then look at the average colour.

ROIs.pdf

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.