Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

template image from ROI?

I am trying to duplicate the "create template" function included in the NI vision builder in labview.  I want to define a ROI, and save a template image from there whose bounds are the ROI.  Is there an easy way to do this?

Thanks
0 Kudos
Message 1 of 9
(5,366 Views)
Do you have the Vision Development Module to use with LabVIEW?  If you do, then you will be able to exactly reproduce this functionality.  To get some more details, what are you creating the template for?  Is it for a geometric match, pattern match, etc.  Please let me know and I can help you get started doing this in LabVIEW.
 
Jason N
0 Kudos
Message 2 of 9
(5,352 Views)
Yes I do have the NI vision dev module.  I have actually figured out a way to do it,  using the "IMAQ extract" tool, passing in the ROI and setting the X and Y sample to "1" (every pixel).  Seems to work good.

Thanks
0 Kudos
Message 3 of 9
(5,348 Views)
"National Instruments - NI's new Vision Acquisition Software (version 8.2.1 and later) includes full support for Prosilica's GigE Vision cameras."
 
Is this message already confirmed?
Thanks
0 Kudos
Message 4 of 9
(5,350 Views)

That is definitely the route to go using the IMAQ Extract function.  There is a great pattern matching example in the NI Example Finder called "Pattern Matching Example" that shows how to use the IMAQ Extract function to get an area of an image to use for a template.  The example finder is found by going to Help>>Find Examples on the LabVIEW splash screen or on an open vi.

Jason N

0 Kudos
Message 5 of 9
(5,318 Views)
National Instrument now offers support for GigE Vision cameras with Vision Acquisition Software 8.2.1 available at:
http://digital.ni.com/softlib.nsf/webcategories/85256410006C055586256BE60070436D?opendocument&node=1...

Hope  this helps,

Johann
0 Kudos
Message 6 of 9
(5,282 Views)
Hi Boss! :) I have a very big problem, and i can't find answer formy question. My problem is: I would like to execute an *.exe file, named : Ni vision Template Editor.exe. It is a part of vision development tool. When u start the application,  click first File -> new Template. This editor is used by another application for example: Vision Builder AI, Vision Developement Tool. And when u use this Editor from VisionB. A.I, it is needless to select a file to, open, the editor opens it automaticly. How should I do this, from LV code? I think I would use a kind of paramerer, or kind of property node, But i dont know how to do this. Could u help me? Thank you very much!
---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 7 of 9
(4,453 Views)

 


Hi Boss! :smileyhappy: I have a very big problem, and i can't find answer formy question. My problem is: I would like to execute an *.exe file, named : Ni vision Template Editor.exe. It is a part of vision development tool. When u start the application,  click first File -> new Template. This editor is used by another application for example: Vision Builder AI, Vision Developement Tool. And when u use this Editor from VisionB. A.I, it is needless to select a file to, open, the editor opens it automaticly. How should I do this, from LV code? I think I would use a kind of paramerer, or kind of property node, But i dont know how to do this. Could u help me? Thank you very much!

 

Start a new thread

0 Kudos
Message 8 of 9
(4,432 Views)
:)), yes u are totally right... I'm working on it.  Thx your fast reply!
screen.jpg
---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 9 of 9
(4,428 Views)