Jump to content

Not Rectangular Image to Image


Recommended Posts

Hi,
   I have an application where I need to extract a portion of an Image, binarize with different threshold the two part of the original image and then merge them back.
To do so, at the moment, I trace a rectangle on the original Image, use two Mask from ROI VI to extract the inside and outside portions of the image and then I use the IMAQ ImagetoImage 2 VI  to merge the two parts.
This procedure works only with rectangular ROI, But I need to do the same with a define by user Polygon.
Any suggestion on How to do it?
In the attached example If you rotate the rectangle you can see my problem. The rotated rectangle seems to become a bigger rectangle. It seems to me that I need something like transparency to solve it....

Thank you so much!
 

 

Main.zip

Edited by Gepponline
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.