Any good example of IMAQ Correlation vi.

Hello,
I am trying to understand the use of IMAQ Correlation VI for the purpose of feature tracking among the series of images for my experiment using Normalized Cross-Correlation technique. Kindly see the attached VI, it just not making any sense to me. Kindly suggest and any good example will be very helpful. Thanks in advance.
Attachments:
Correlation-1.vi ‏61 KB

It is a little hard to tell what you are trying to do from your explanation. You would have a much higher success rate if you posted on the Machine Vision board in the Most Active Hardware Boards. Also, if you post an example it is good practice to state the version of software used. It is also helpful to save it to a previous version to allow a broader audience to see the example.
You stated that you have a "purpose of feature tracking among the series of images for my experiment using Normalized Cross-Correlation technique." Could you post this with a more detailed explanation on the Machine Vision board? Also to explain what type of suggestions or advice you are looking for from the example that you posted would allow myself and others on the forums to understand what you are looking for here.
Vince M
Applications Engineer

Similar Messages

  • Any good examples of using hashCode?

    I am creating a simple test class of a date object using getYear, getMonth, GetDay, compareTo, equals and hashCode. Ive got everything else working fine, but im wondering if I am getting the correct output from the hashCode method. What exactly does the hashCode method do? anyone got a good example of using it and what it outputs?

    the name of my date class - here's the rest of my code if you want to verify it:
    package Final;
    import java.util.GregorianCalendar;
    import java.util.Calendar;
    public class SimpleDate
    /** Creates a new instance of SimpleDate
    public SimpleDate()
         GregorianCalendar greg = new GregorianCalendar();
              year = greg.get(Calendar.YEAR);
              month = 1 + greg.get(Calendar.MONTH);
              day = greg.get(Calendar.DATE);
    /** Creates the setDate method which allows the day, month, and year of the
    * date to be specified
    public SimpleDate( int year, int month, int day )
    setDate( year, month, day );
    /** Sets the day, month, and year variables for the date
    public void setDate( int year, int month, int day )
    GregorianCalendar greg = new GregorianCalendar();
    greg.set(Calendar.YEAR, year);
    greg.set(Calendar.MONTH, month-1);
    greg.set(Calendar.DATE, day);
    this.year = greg.get(Calendar.YEAR);
    this.month = 1 + greg.get(Calendar.MONTH);
    this.day = greg.get(Calendar.DATE);
    /** Defines the method getYear which gets the integer value which represents
    * the year in the date
    * @returns int year
    public int getYear()
    return year;
    /** Defines the method getMonth which gets the integer value which represents
    * the month in the date
    * @returns int month
    public int getMonth()
    return month;
    /** Defines the method getDay which gets the integer value which represents
    * the day in the date
    * @returns int day
    public int getDay()
    return day;
    /** Defines the boolean method equals which compares two dates to see if they
    * are equal
    * @returns boolean equals
    public boolean equals()
    return equals;
    public int compareTo()
    return comparable;
    public int hashCode()
    return hashcode;
    public String toString()
    String string1 = new String();
    return string1;
    /*************Built-in Self Test************/
    public static void main(String[] args)
    SimpleDate date = new SimpleDate();
    SimpleDate date2 = new SimpleDate();
    date.setDate(2005, 11, 4);
    System.out.println("Day, Month and Year: " + day + " " + month + " " + year);
    date.getYear();
    System.out.println("The year selected is: " + year);
    date.getMonth();
    System.out.println("The month selected is: " + month);
    date.getDay();
    System.out.println("The day selected is: " + day);
    date2.setDate(2004, 11, 4);
    System.out.println("The first date selected equals the second date selected: " + date.equals(date2));
    //System.out.println("The first date selected is comparable to the second date selected: " + date.compareTo(date2));
    //How do I implement compareTo?
    System.out.println("The hashcode for the first date selected is: " + date.hashCode());
    System.out.println("The hashcode for the second date selected is: " + date2.hashCode());
    // ***** Instance Variables *****
    static int year;
    static int month;
    static int day;
    boolean equals;
    int comparable;
    int hashcode;
    }

  • ADF: any good examples on inserting a new record

    Hi, I'm currently developing a
    web based application (using jsp + struts on top of ADF)
    and I've seen many many demos and viewlets on
    how to create a page that reads a list of employees
    or master-detail relationship of records.
    However, when I try to make a page which can insert
    a new record (ex. new employee, new department, etc),
    I am baffled, because I couldn't find a good example
    that showed me how to do it.
    Has anyone have a good example?
    thank you.

    Did you check the tutorials page?
    For example:
    http://otn.oracle.com/products/jdev/collateral/tutorials/9050/bizcomp_jsp_tut.html

  • EPUB with video and other functionalities - any good examples?

    Dear fellows,
    I'm in search of good examples of Epubs (electronic books or publications) with embedded video and eventually other advances functionalities. Can you mail me or refer me to good examples?
    Many thanks
    Knud Lindholm Lau
    Copenhagen

    Thanks Steve.
    Still as an ignorant: What does this mean for the possibility to read EPUBs sith embedded video and audio? Is Ibook the format of Ipads and and are these the only devices capable of running embedded video right now?
    Yours Knud

  • Any good example using JSF to perform search?

    is there a good design pattern I can find somewhere
    that uses jsf to search a list of words in a database
    and returns the definiation on the same page
    for example
    mywords.jsp
    submit jsf action
    bean searches mysql
    back to the same page mywords.jsp with the results listed
    thanks

    It is a little hard to tell what you are trying to do from your explanation. You would have a much higher success rate if you posted on the Machine Vision board in the Most Active Hardware Boards. Also, if you post an example it is good practice to state the version of software used. It is also helpful to save it to a previous version to allow a broader audience to see the example.
    You stated that you have a "purpose of feature tracking among the series of images for my experiment using Normalized Cross-Correlation technique." Could you post this with a more detailed explanation on the Machine Vision board? Also to explain what type of suggestions or advice you are looking for from the example that you posted would allow myself and others on the forums to understand what you are looking for here.
    Vince M
    Applications Engineer

  • Any good examples of content built for the iphone?

    Hi Guys
    Just testing and re-designing our content for the iPad on the iPhone. Colin fleming has advised designing a consistent area in your layout for page swipe and navigation and designing interactivity only in the upper area of the page. Just wanted to see some examples of this?
    Cheers
    Gemma

    A quick search in the app store found this: http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=285180322&mt=8

  • Are there any good code examples for displaying preview images in the storefront?

    I can gather other info using folio.xxx, but can not find any good examples to use for preview images.  Tried folio.getPreviewImage() with no success.  Oh, I should mention it is version 2.  Plenty of examples for version 1.
    Perhaps if I get a little more specific.
    I am calling up the folios via:
           adobeDPS.libraryService.folioMap.addedSignal.add(function(folios) {
                for (var i = 0; i < folios.length; i++) {
                    addFolio(folios[i]);
            }, this);
    This eventually works into a function where I am gathering and displaying folio data:
         var productId = folio.productId;
        var html  = "<div id='" + productId + "'>";
            html +=     "<a href='#'><img class='shadow' width='120' src='' border=0 /></a>";
            html +=     "<br /><span class='bold'>" + folio.title + "</span>";
            html += "</div>";
        this.$el = $(html);
    folio.title works fine to pull up the title, but I can no longer use folio.getPreviewURL in v2.  What code should I be using to set the src to the preview image?
    Thanks

    Have you looked at the default implementations of the library?
    In FolioItemView's render function, there is a function(follow the nested functions!):
    setTimeout(function(){ scope.loadPreviewImage() }, 100);
    It references this function (this doesn't copy well):
    loadPreviewImage: function() {
    if (this.el.parentElement) {
    var transaction = this.folio.getPreviewImage(135, 180, true);
    transaction.completedSignal.addOnce(this.getPreviewImageHandler, this);
    Going deeper, into the getPreviewImageHandler function is where you see the url value..
    if (transaction.state == adobeDPS.transactionManager.transactionStates.FINISHED && transaction.previewImageURL != null) {
                                  this.$el.find(".folio-thumb").attr("src", transaction.previewImageURL);
    Within the example is also code for supplying a preview when the Adobe API is not available:
    (Within the render function)
    var json = this.model.toJSON();
    $folioThumb.attr("src", json.libraryPreviewUrl);
    If you're making any changes to where the preview is displayed, you can just swap out the class ".folio-thumb" to whatever the class (or id) is of the element you're wanting to render the preview in.

  • Any Digester Examples

    I am trying to use Digester to parse an XML file. I am having trouble finding complete examples on how to impliment it.
    I'm just trying to parse a simple XML file with the following syntax:
    <mappings>     
    &#160;&#160;&#160;&#160;&#160;<variable name="string"> string </variable>
    &#160;&#160;&#160;&#160;&#160;<partial match="string"     replace="string" />
    &#160;&#160;&#160;&#160;&#160;<special match="string" class="class name" />
    &#160;&#160;&#160;&#160;&#160;<complete match="string" replace="string" />
    </mappings>
    I need it to grab both the attributes and the values. Does anybody know how to do this? Are there any good examples on the web?

    Try to use a sax parser (http://www.saxproject.org/)
    the only thing you have to do is create a class (MyHandler) extending a ContentHandler and implementing the methods
    void characters(char[] ch, int start, int length)
    void endDocument()
    void endElement(String uri, String localName, String qName)
    void startDocument()
    void startElement(String uri, String localName, String qName, Attributes atts)
    then,
    XMLReader r = XMLReaderFactory.createXMLReader();
    r.setContentHandler(new MyHandler());
    try {
    r.parse("http://www.foo.com/mydoc.xml");
    } catch (IOException e) {
    System.err.println("I/O exception reading XML document");
    } catch (SAXException e) {
    System.err.println("XML exception reading document.");
    any element begin/end/characters events will call the methods defined into MyHandler class...

  • No good examples....

    I was trying to look for some examples of what this software can do but can't find any good examples. The little video done on the product page but it doesn't look very high quality (video-wise).
    Where are some good examples of what this software can do?

    Go to http://cfbstaff.cfbisd.edu/blalack/
    scroll down and look in lower right corner for BEAR News broadcast...I have a class of students who create our daily news broadcasts for the school...we alos publish a smaller, lower quality file for the internet that you will see.

  • Links to good examples of XML

    Hi Guys
    I just started doing some XML, and I have yet not really understood what it is good for. Anyway, I have a task in school where we are supposed to use XML to make a regular HTML page and one for WAP (WML). Both pages should read from the same XML file.
    Is there any good examples out there? I need to see the big picture.
    Thanks
    David

    I always recommend this site, it has excellent tutorials and references:
    http://www.w3schools.com
    Check out the XML section for explanations of XML and WAP as well as some examples.

  • Any good XML over HTTP examples?

    Hi,
    Does anyone know of a good example of using a XML over HTTP web service? Especially one that would be easily graspable by someone who's new to web services (read: me)?
    Is there a way to generate stub classes from a WSDL? I tried to do it in NetBeans but it didn't work, maybe NetBeans expects SOAP web services?
    Thanks

    Hi,
    This use case seems to be best handled using a RESTful Web Service. Check the Restlet project for a supporting framework:
    http://www.restlet.org/documentation/1.0/tutorial
    Best regards,
    Jerome
    http://www.restlet.org

  • Is there a good example of a shuttle item?

    Hello,
    I am looking for a good example of a shuttle:
    How to populate a Left side, Right site and a Merge to save results.
    Left side should have all available options, except the ones that User already have.
    Right side should have only options that User already have.
    Both sides of shuttle should be populated on page load with Options names, not IDs.
    Using apex 4.2
    If there is any demo app with a shuttle that would be helpful too.
    Thank you.
    Added some clarifications.

    Hi ,
    Please find the below threads/blogs which mey be helpful
    1.Dimitri Gielis Blog (Oracle Application Express - APEX): APEX by Example - Default value of Shuttle
    2.https://community.oracle.com/thread/2374927
    3.http://www.easyapex.com/index.php?p=206
    4.https://community.oracle.com/thread/1120460
    5.Re: Denes's Ajax Filter Shuttle List not working in IE
    Hope this helps!!
    Thanks,
    Shwetha

  • Looking for good example about Woodstock components and custom validators

    Hi guys,
    could someone be so kind to give (or suggest) me a simple, minimal and working example with a Woodstock TextField (or Calendar) component and a custom validator?
    I cannot find good examples, all the ones I find on the net are too much wide and confusing so that I'm not able to adapt them to my needs.
    I already made a custom validator (formerly, "DateValidator") with the "validate()" method, and added it to some dynamically created components with code like this:
    calendar1.setImmediate(true);
    calendar1.setAutoValidate(true);
    MethodExpression methodExpression = facesContext.getApplication().getExpressionFactory().createMethodExpression(elcontext, "#{DateValidator.validate}", null, new Class[] { FacesContext.class, UIComponent.class, Object.class });
    calendar1.setValidatorExpression(methodExpression);
    Now, when I change data in the textbox or in the calendar, I see that something obscure is moving (this because I can read "Reading from localhost..." in the status bar of the browser), but nothing happens, and the validator method is never called (I tried this with the debugger).
    I think that only a good example could save me from the dark... Thanks in advance!

    Yes, I'd thought about just having the user set their
    timezone (similar to the forum Settings). However,
    even this forum settings causes some confusion.
    There's two options for a number of timezones. What
    differentiates them? The daylight saving rules are
    important to know and the list of timezones doesn't
    indicate this in any way. This list doesn't show all
    available timezones either (as previously mentionted,
    there's seven timezones for GMT -0700).Then you would have to do a better job than Sun did, wouldn't you? After all if you are going to be interpreting the answer you get, you had better ask a clear question. If you want to know the list of timezones actually supported by Java, then examine the source code for the TimeZone class. You can also search Google for "time zones" for links that will keep you busy for weeks learning the arcana of time zones around the world.

  • Post some good examples for logical database

    Hi all,
    Can any one post some good examples for logical database.
    Regards,
    Lisa

    Hi lisa
    Example of a Logical Database
    Let us consider the logical database TEST_LDB.
    Selections in the Selection Include
       SELECT-OPTIONS: SLIFNR   FOR LFA1-LIFNR,
                       SBUKRS   FOR LFB1-BUKRS,
                       SGJAHR   FOR LFC1-GJAHR,
                       SBELNR   FOR BKPF-BELNR.
    Database Program
    DATABASE PROGRAM OF THE LOGICAL DATABASE TEST_LDB
    PROGRAM SAPDBTEST_LDB DEFINING DATABASE TEST_LDB.
    TABLES: LFA1,
            LFB1,
            LFC1,
            BKPF.
    Initialize selection screen (process before PBO)
    FORM INIT.
    ENDFORM.                                "INIT
    PBO of selection screen (always before selection
    screen
    FORM PBO.
    ENDFORM.                                "PBO
    PAI of selection screen (process always after ENTER)
    FORM PAI USING FNAME MARK.
      CASE FNAME.
        WHEN 'SLIFNR'.
        WHEN 'SBUKRS'.
        WHEN 'SGJAHR'.
        WHEN 'SBELNR'.
      ENDCASE.
    ENDFORM.                                "PAI
    Call event GET LFA1
    FORM PUT_LFA1.
      SELECT * FROM LFA1
    WHERE LIFNR IN SLIFNR.
        PUT LFA1.
      ENDSELECT.
    ENDFORM.                                "PUT_LFA1
    Call event GET LFB1
    FORM PUT_LFB1.
      SELECT * FROM LFB1
    WHERE LIFNR = LFA1-LIFNR
    AND BUKRS IN SBULRS.
        PUT LFB1.
      ENDSELECT.
    ENDFORM.                                "PUT_LFB1
    Call event GET LFC1
    FORM PUT_LFC1.
      SELECT * FROM LFC1
    WHERE LIFNR = LFA1-LIFNR
    AND BUKRS = LFB1-BUKRS
    AND GJAHR IN SGJAHR.
        PUT LFC1.
      ENDSELECT.
    ENDFORM.                                "PUT_LFC1
    Call event GET BKPF
    FORM PUT_BKPF.
      SELECT * FROM BKPF
    WHERE BUKRS = LFB1-BUKRS
    AND BELNR IN SBELNR
    AND GJAHR IN SGJAHR.
        PUT BKPF.
    ENDSELECT.
    ENDFORM.                                "PUT_BKPF 
    The PROGRAM statement has the addition DEFINING DATABASE TEST_LDB. This defines the database program as belonging to the logical database TEST_LDB.
    The nodes of the structure are declared with the TABLES statement which generates the appropriate table work areas. You can also use the NODES statement to define database tables as nodes. If a node of a logical database is not a database table, you must use the NODES statement. The interface work areas are shared by the database program and the user, and so act as an interface for passing data. The term "user" here can mean either an executable program to which the logical database is linked, or the function module LDB_PROCESS.
    The subroutines INIT and PBO initialize the selection screen.
    In the PAI subroutine, you can include an authorization check for the user input on the selection screen. Plausibility or value range checks are also possible. If a check fails, you can write an error dialog. The corresponding field on the selection screen is then made ready for input again.
    The PUT_<node> subroutines read the database tables according to the selection criteria entered by the user and trigger the relevant events in the executable program. This program is intended only to show the essential structure of a logical database. It does not contain any refinements to improve response times. The order in which the subroutines are called is determined by the structure of the logical database.
    regards,
    vijay

  • I want Next/Back links between topics. Are there good examples how to do this?

    I also have multiple books in which I want to have Next/Back buttons. The Help PDF offered by Adobe does not adequately describe how to do this. Does anyone have a good example/description of how I do this?
    Walt Mahan

    Hi again
    To access the link I listed, you just click it in your web browser.
    There are a few different ways you can do this. You can insert the text as you wish to see it, then manually create the links. Ick! That's not very much fun.
    If you are using RoboHelp 8  you could create a Master Page and insert a Breadcrumb Trails placeholder, then apply the Master Page across the topics.
    For any version of RoboHelp you could achieve this by creating a Browse Sequence (Tools > Browse Sequence Editor) and generate WebHelp twice. The first pass to folder A and the second pass to folder B. During the first pass, you use the "Traditional - No skin" output. This would produce topics with code in them that contains the Previous and Next links. Then the second pass would be generated with a skin. You would then copy the topics from folder A and overwrite the topics in folder B to obtain the best of both worlds.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

Maybe you are looking for

  • Slot-loading CD drive on Macbook not showing up at all

    Hey everyone. New problem for me. I was trying to load a cd for my mouse into my Macbook tonight and normally, the drive would pull it in after I insert it half-way or so. Well, it's not doing that. I can push the disc in all the way so that my finge

  • How to view BMP images in JFileChooser.. for previewing..

    Friends, I was trying to open JFileChooser with preview of BMP images.. but remain unsuccessful.. it was showing JPG and GIF perfectly.. but in case of BMP it does not show anything.. am not using any filter though!! how to acheive this!! Thanking in

  • HT1335 Getting music off ipod formatted with a Mac

    How do I get music off an ipod that has been formatted on a mac and transfer it to my windows computer?

  • Why is my Acrobat Pro now running in "Trial" mode?

    Today when I attempted to launch Acrobat v10.1.12 (previously installed with CS6), I was prompted to sign in. When I signed in, I am alerted that I am running in "Trial" mode. I am licensed to use Acrobat Pro through my CS6 license. I recently signed

  • Parent WPF Client Window not on top after closing a screen set

    Hi all, I am observing some strange behavior with the WPF Client (SMP 2.3 SP 4). When closing a screen set (window), sometimes the parent window is in the background (meaning some other windows programs are on top of them) even if the parent window w