Jump to content

Trim a Pictue


Recommended Posts

Posted (edited)

Hi,

I think a simple Problem, but I can´t find a simple solution ! I have a Picture and want to trim away the frame outside my ROI. Does anyone have an idea how to handle this ?

:frusty:

Thx a lot !!

Edited by santi122
Posted

Hi,

I think a simple Problem, but I can´t find a simple solution ! I have a Picture and want to trim away the frame outside my ROI. Does anyone have an idea how to handle this ?

Not sure if this is answering the "right" question. But there's a post on NI's board discussing something possibly similar.

http://forums.ni.com/ni/board/message?board.id=200&message.id=6314#M6314

Someone else has posted code for cropping an image around a "hole". You could probably find something useful there.

http://forums.ni.com/ni/board/message?board.id=200&message.id=18024#M18024

Posted

No need to use IMAQ - Get Image Subset from Graphics&Sound -> Picture Function palette does this. If by "Picture" you mean Picture Control, you have to use Picture to Pixmap first.

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.