NI Vision Template Editor
I have an application that is using geometric pattern matching. (Not very well). I have recently come across the NI vision Template editor. I like the way it works and would like to use it or a facsimile of it in my application. I need to be able to use it without operator control just program control. Can anyone help me out or point me in the right direction.
I am trying to improve the pattern matching in my application. I like the template editor for the fact that i can see what patterns it is finding in my picture.
When i use the pattern matching vi's i can not see what it finding and how to impriove it.
Since NI already has this editor it would be nice to use it in my application. However i need to have less operator interaction and more program controlled
capabilities.
if only there was a way to use the current vi's to make a similar application so that i could use in my application.
Thanks
Similar Messages
-
Hi all!
I have been using NI Template Editor for a long time. It is a very very useful program, and it can be called form VA / VBA. Thats the reason why it is so useful. I would like to know how should I use this function/program from my own code. ( call parametrized Template Editor e.g. form my pattern matcher program like in VBA/VA - for current Image.)
I used system execute vi- which run standard *.exe files , but in this case, image file must be selected.
I would like to know how should I use T.E. in my own program, as flexible as possible like, VA/VBA - for current image!
Thank you very much!!!
+++ In God we believe, in Trance we Trust +++
[Hungary]
Solved!
Go to Solution.Hi Durnek,
As far as I understand, you want to develop an application in LV which does Pattern Matching.
For this, you need a Template which you define in Template Editor.
In delopyed applications, the templates are predefined, in which case Template Editor is a great tool, but does not need to be called with every run.
Still, We have encountered similar requests, and we also have a product suggestion to embedd Template Editor in LV, just like VA.
We are hoping this feature will be available in the future.
Until then here are some parameters that could be called
/newath -pm -gpm -gpm2 -d
launches the editor and opens the image located at the specified path.
The parameters -pm -gpm -gpm2 and -d are optional and allow to create a template of type pattern matching, geometric matching (legacy), new geometric matching and defect inspection respectively.
You can combine those parameters to create a template of the desired type. Only the specified tabs will be enabled. If you don't specify any optional parameters, all tabs are available.
/editath
edits the template located at the specified path.
This is the responsibility of the user to save the template manually within the interface, since the training interface is called by command line and there is no way for the calling application to know if the user OKs or cancels the editor.
One important point regarding calling the template using a command line: if the path contains a space, you need to use quotes, so that the exec knows that this is only one parameter.
For instance:
"Path to template Editor\NI Vision Template Editor.exe" "/new:\Images\8 bit\image.tif" -pm -gpm -d
Please reply if this fits your application needs
Best regards,
Mircea -
I have a machine vision application, in which the geometric pattern match technique was used to find the target in variant images.
as we know ,we have to make a geometric template by the NI Template editor, in the editor we can adjust the parameters of specified curve settings to get the wanted curves, and we can draw the custom area to ignore during the match. then we save the template for latter using in our vision application.
Now my question is coming. when I program my application for the geometric match. I have to specified the Curve Parameters for the input of IMAQ Advanced Setup Learn Pattern 2, obviously, I have to set this parameter same as the one in the template, but I don't know how to extract it from the geometric template. I have tried all methods I can, for example, read custom data, IMAQ Get Geometric Template Features(this is just for the feature based? then is there a same VI for the edge based?) , even to anasys the PNG file formats!!!! But I can not read the geometric template info by myself!
It is too illogical that we have to adjust the CURVE PARAMETERS manually again for the " IMAQ Advanced Setup Learn Pattern 2"after I have already done that in the NI Template editor !!!!
Solved!
Go to Solution.Hello,
why do you need to specify the curve parameters again, if you have already built a template using the template editor?You do not need to use "IMAQ Advanced Setup Learn Geometric Pattern 2 VI" to find the matches (see the attached example).
you can wire the control to the "curve parameters" to the "IMAQ Setup Match Geometric Pattern 2 VI", but the values are not used if you wire a true boolean to the "use learn curve parameters" node (it is like this by default). To prove this, i have attached a small program, with pre-created template (using the template editor) for geometric matching. The template and three test images are also included.
Try changing the curve parameters with the "use learn curve parameters" enabled, and you will see that the matching score remains the same. Then disable the boolean control and try changing the curve parameters.
Also take a look at the detailed help for "IMAQ Setup Match Geometric Pattern 2 VI", specifically the "Use Learn Curve Parameters".
I hope this helps.
Best regards,
K
https://decibel.ni.com/content/blogs/kl3m3n
"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
Attachments:
geometric_matching_LV2010.zip 3154 KB -
Call Template Editor in LabVIEW
Is it possible to call template editor in LV? I searched around and found using command prompt is asolution, but is there any VIs or a combination of VIs that can realize this function in new version Labview?
Following is the link that calling template editor using command prompt:
http://forums.ni.com/t5/Machine-Vision/call-template-editor/m-p/1081416/highlight/true#M27206
Thanks for your kind help!Hello,
you can open the tempate editor via the command prompt.
Save the templates on disk and read them in your Labview program.
Best regards,
K
https://decibel.ni.com/content/blogs/kl3m3n
"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful." -
How to make custom Metadata accessible in Text Template Editor ?
Hi all.
I used Lightroom SDK to create a plugin generating custom set of Metadata (for LR5) to manage images as produced items (printed and framed photos).
In order to be able to create usefull lists of items, I would need to be able to print this metadata fields on contact Sheets.
This is the only functionality that prevents me from using Lightroom as a database for produced artworks, beeing able to manage exhibitions, stock locations, sales etc...
Guess this means I have to make those new fields accessible in the Text Template Editor that allows user to compose an aggregated text from various type of metadata for printing or slideshows.
But seems that only the original sets of metadata appears in Text Template Editor, not the one created by my plugin.
Is there a way to add this functionnality to my plugin ?
Thank you very much.First let me say I have no idea what you mean by Text Template Editor.
mbrch wrote:
Is there a way to add this functionnality to my plugin ?
3 ways:
======
1. If metadata definitions are available in metadata provider module without running plugin initialization function (i.e. as on-the-fly compilable lua), then Jeffrey Friedl's Metadata Viewing Preset Editor will support it. (this is the normal case, the other case would be if plugin init computes a global variable that is returned by metadata provider module instead).
2. You can edit a metadata viewing preset manually, by placing a .lrtemplate file in 'Metadata Field Lists' folder - in with your other presets (is that what you meant by text template editor?). - see example below.
3. Define a tagset factory for your plugin and return the metdata viewing preset options from the tagset factory implementation file - there are instructions in the programmer's guide.
Example below:
return {
items = {
formatter = "com.adobe.label",
label = "File/Folder"
"com.robcole.photoName",
"com.robcole.folderPath",
formatter = "com.adobe.label",
label = ""
'com.robcole.developSettings.ProcessVersion', -- individual develop settings can be included like this.
'com.robcole.developSettings.CameraProfile', -- individual develop settings can be included like this.
formatter = "com.adobe.label",
label = ""
formatter = "com.adobe.label",
label = "Exif Metadata"
'com.robcole.exif.AELockButton',
'com.robcole.exif.ActiveD-Lighting',
-- add more here...
'com.robcole.exif.' -- "help" item - remove this item once you've got the hang of this...
title = "Exif Select",
id = "Exif_Select_382790710"
Rob -
Supporting drilldowns in BIP reports defined in Web Layout Template Editor
Hi Experts,
We have a requirement to show a table in a BIP Report defined in a web layout template editor and within this report, if there is drilldown on one of the columns, we would want to display more details in an additional column to be displayed afresh. Also, we have a requirement to display the same whenever there is a selection from a report prompt. In addition, is such a drill down feasible from within a graph? Is this achievable? We know this is feasible in OBIEE - not sure about BIP. Any pointers in this direction is appreciated!
RegardsHi Sripathy, I can't thank you enough for the help !!! We looked for all kinds of documentation and was never able to find exact information.
Also, do you mind if we email you if we run into more problems ? We are new to this. If you think it's ok, my email is [email protected] If not, thanks again, at least this will get me started. -
Facing problem in query template editor
Hi All,
After creating connection to MySQLserver in my machine through DATA Servers after that i tried to access that server(through name of server ex:mysqlconnect) in
query template editor by following the procedure then i am not getting the modes list
procedure what we followed:
Data Servers->query template editor->select new->select TagQuery->select mysqlconnect
here in modes window i have to get modesbut i am not getting anything except message "No Data Available".
In the same way there is one more in Tag Query section that is simulator where i am getting all modes.
Please help me out how to get that modes for the connection we have created(mysqlconncet)Srikanth,
Based upon the simple nature of this inquiry, and the responses so far, I am speculating that you are very new to the product and have not had any formal product training. I would encourage you to pursue the SAP education courses to get a proper foundation on the xMII software.
'No Data Available' always implies that a Fatal Error occured and in the case of the Template Editor you will see additional information in the Sun Java Console which should give you indication as to the underlying issue. The console is the same place to look if you encounter this error message in any of the runtime applets.
Any error like this also produces an error message along with all sorts of additional troubleshooting details in the general logs which are accessible from the main Menu.
Regards,
Jeremy Good -
Can you help with filename template editor, RAW copy asDNG 6 dig sequence_yd?
lightroom 3 for pc - I need help to set up filename template editor as follows for RAW copy as DNG
6 dig sequence_year--Month_day.dng (copies from metadata)
sample as follows:
128580_2013-April-24.dng
128581_2013-April-24.dng
so the next # would be
128582
I want it to automatically go to the next #.
Thanks for your help.
AndyNevermind I finally figured it out! :-)
-
Lightroom Filename Template Editor
While importing images from a device, I'm attempting to setup my filename structure to include Camera Type (D200). I've seen several tutorials suggesting the Filename Template Editor has a field in the "Additional" section where you can insert various EXIF information. I've downloaded the Trial version 1.3.1. I only see a variation of "Date" in the additional section. Do I have to set something up for this to be active?
There is a second drop-down list in the Additional Section of The Filename Template Editor screen and that allows you to insert fields such as camera make and model. I did not have to do any set-up to get this drop-down list to appear. (Lightroom 1.3.1, XP Pro SP2).
-
Good Morning Everyone,
We used report wizard and SUM, COUNT calculations in Total.
The total Values display bottoms of reports.
We wish to move top but no more place in template editor.
If you have any advise for us, please let us know.
Thanks in advace,
S!G
Edited by: Sea!Gull on Dec 2, 2010 5:34 AMThank InoL and everyone,
- by "template editor" you mean "Editor - Paper Layout" I presume
http://1.bp.blogspot.com/_jHOjXtHYkXM/S5AJ6_UDvII/AAAAAAAAAAk/-RV7aGwUvcg/s1600-h/EmptyColumn.bmp
Please let us tell about the report:
We are doing annual reports to display Total Students, Earned Credits, other columns in top of the Report.
We wish to display by a class:
Class Title
Location
Class Date
Distance/ Webinar/ Regular
Credits by Categories: Communication, Management, Ethic, Majors, Total
We have done using Report Wizard:
Group Above Style
We used SUM, COUNT calculations
The current reports are in MS Acess and converting to reports as much as possible to keep old style.
If you have any more questions for report, please let us know.
Thank InoL again,
S!G -
LR5 Filename Template Editor - Where do I find detailed help?
I would like to export photos to my iPad in {capture date} sequence. I read somewhere (?) that LR5 exports photos in {filename} sequence and not {capture date} sequence and so I have to rename my photos so that the {capture date} dominates the export sequence. This is particularly true when there are photos from multiple cameras [different filename structures] in the same sequence. Is this true?
drkjones wrote:
Is this true?
I think it's truer to say your iPad will display in filename sequence by default regardless of the order Lr exports them in.
Personally, I name my source files so they are in the order I want (alphabetically), and then don't rename upon export. But if you haven't done that, then
a filename template like
{Sequence # (001)} {Filename}
and then do as dj said: sort by capture date before exporting (photos don't need to be in a collection)
that'll work.
R -
Filename Template Editor Option
It would be nice to ad "Shot Name" as an insertable option in the file name editor so that one can name a batch of images by the shot name with a sequence # during the tethered capture process.
Adobe should include a token based editor to build strings that includes all metadata. This should be available wherever a string could be built, including file names, titles, loupe info, slideshow text and so forth.
-
Hi Buddies,
I want to know that,
If it is possible for a user that,he tells his requiremnts thru forntpage i.e. u may say fronpage as template to show form.If yes pls tell me how can I do this.
regards
Yujvendrasboben...
Hey.. this is a question I'm hoping you can help me with. I went to you site and didn't find an email, so I'm posting it here hoping you'll see it and email me. Being the person on the discussion boards that seems to best understand iWeb...
Question - have you figured out where the rss.xml file actually IS that iWeb generates when you publish to .mac?
My podcasts have the wrong artwork at iTunes. I've talked to the genius bar, apple care, iWeb support, scoured the discussions boards of iTunes and iWeb. Even the guys at apple care didn't know how to fix it. iTunes technical support didn't know either.
There's a number of people publishing to iTunes with iWeb that seem to be having the same problem. It's not the individual episode artwork, it's the artwork that appears next to your podcast page, and when you search for it on the ITMS.
The only way to fix it is change the rss, but iWeb publishes to .Mac, and that rss file can't be found. Iv'e tried changing the rss file on iDisk, that doesn't do it.
so.... taking your lead I did a big look through of iWeb, didn't find the rss file.
Help me obiwan... you're my only hope!
Jim
[email protected]
PS.. here's the podcast page on the itms... you'll see when you check out the artwork
http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=122202893&s=143 441 -
Install VM Server on Guest Linux to Install EBS Vision Templates ?
Hello
I have a Mac with VMware fusion and plan to install a guest linux 6 virtual machine. My question is: Do I need to Install VM manager and VM Sever on the linux virtual machine?
Will VM Server Installation erase my host operating system (Mac)? The VM server manual says
" Oracle VM Server includes a small Linux-based management operating system. All previous operating systems and data are lost during the installation of Oracle VM Server"
ThanksHello,
Please note that VMware and Oracle VM are 2 different products; VMware is a desktop product from VMware, and Oracle VM requires a separate 64bit server for Oracle VM Server and (at least initially) another separate 64bit server for Oracle VM Manager. This Oracle VM Manager can after it has been installed be moved to a Virtual machine on the Oracle VM Server as documented; 4.7 Running Oracle VM Manager as a Virtual Machine
All documentation is at Oracle VM Documentation
Regards, Carlo. -
Error-1074396120 Not an image, problem with IMAQ Learn multiple geometric patterns
Error-1074396120 Not an image, problem with IMAQ Learn multiple geometric patterns
Hi!
I've tried to modify the example of "multiple geometric patterns matching" , and just use two patterns, but when I run the VI this error appear and I doon't know how to solve it! , the error appears in the "IMAQ Learn multiple geometric patterns" block.
Running on:
- labview 32 bits
- windows 7 64 bits
- usb camera 2.0
Any sugestion would be helpful..... ! Regards
Attachments:
template_12.png 150 KB
template_11.png 123 KB
vision_multiple_pattern_matching.vi 127 KBthanks all for your replies, the problem was on my template images, I had to give them information about the pattern matching, and I did it with NI Vision Template Editor, within Vision utilities, and I chose template with Feature Based.
Thank you again and Regards!
Maybe you are looking for
-
How do I change my id for a single account.
I use my Fathers id when first setting it up so I could get on the internet and make my own. Now I do not know how to change it.
-
Cannot delete emails and will not let me trash them
I have approximately now, 6 emails on my phone that have been deleted from my address in my computer but will not delete off my iphone 4 and it will not let me trash them either I get the error *unable to move message* The message could not be moved
-
why does iPhoto launch Google Chrome when I Check For Updates?
-
Working on Flash over a network
In the past I have had an issue when working on flash projects over the office network. The files would suddenly say they could not save and the file itself would disappear. I lost a few projects this way and found many others who had the same experi
-
Can I run rhino and grasshopper on a virtual windows on my macbook air?
Can I run rhino and grasshopper on a virtual windows on my macbook air? I keep getting a not enough memory message.