How can I implement IMAQ correlation for 16bit image?

Hi
When using IMAQ correlate. vi in Machine vision Filter catergory, the vi only works for 8 bit source and template image case.
16 bit source image case makes error.
But I need 16 bit source image without losing image information, I want to use full 16 bit image correlation with 8 bit template.
How can I implement the code in labview?
Need help.
Many thanks.

Unfortunately you can't do so.
There are some functions in the Vision Lib that only accept 8bit images. In order to use them you have to convert your image to an 8bit Image.
Keep in mind that converting an Image to 8bit will not necessary result in a loss of data. Check your Images, it might be that you are not using the full range of a 16bit value. you might be able to use a mixture of dynamic shifting and bit shifting in order to convert an image to an 8 bit, then embedding these criterias in the image and use them to convert back to a 16bit at a later time without losing any data, or in most cases minimal precision loss. 
If you would like to attach one of the images you are using, I can take a look at it to see if this is possible in your case.
Good luck,
Dan,
www.movimed.com - Custom Imaging Solutions

Similar Messages

  • How can I implement my vision for my website?

    Hello, I'm having a lot of trouble reaching my goals for my website using Muse. I do love Muse, it's allowed me to lauch pozzswim.ca and get some content up which I would have never been able to do before having no coding knowledge, but it's is only about 30% as functional as I want it to be.
    My vision:
    There are 2 sections to my site which the current version of muse would make very difficult to do: a blog and a news page. I want these two things streamlined and hassle free so I can upload new content on the fly as it happens no matter where I am.
    If a user were to navigate to my /video-blog.html page what I want them to see is a neat, chronologically organized view of the blogs I've done with a breif description and a thumbnail. Clicking on the blog title/thumbnail/description will take the user to a new page with the full blog and the video from youtube I've uploaded for it plus a section for comments using livefyre and links to other blogs. There will also be a headline on my homepage with the most recent 2 or 3 blogs I've done.
    If a user were to navigate to my /news.html page they would see a well organized chronolgical view of all my news items. My news items are usually short updates and links and won't require their own pages but will need to be formatted in an easy to digest way. I would also have a headline on the homepage for the most recent news items.
    The homepage headlines should update automatically as I post things, and blog pages and news articles should be able to be created without me having to do everything manually in Muse.
    Implementation:
    I'm sure this is possible, but how can I do this and still use Muse to design my site? I know it requires a content management system, but how can I integrate one into the static content created by Muse? Options I've looked into are wordpress, joomla, and business catalyst but how do I use those with what I already have?
    I could just create a pure wordpress site, but that would mean leaving Muse and the design freedom it gives me and learning a whole new system which I wouldn't have time for. Business Catalyst I wouldn't be too thrilled about as I would have to pay 3 times the hosting cost to get their blogging features plus I would have to migrate and I like my current host.
    So how can I do this?
    Thanks for your time and support
    -Andrew

    CRM, including blogs, is currently supported on Muse, but they are working on it. Meanwhile, you can try to integrate a blog into Muse. See more information:
    http://forums.adobe.com/message/4605983#4605983
    Here is a short video explaining how to integrate a blog
    https://my.adobeconnect.com/_a295153/p6wv1sik1gq/?launcher=false&fcsContent=true&pbMode=no rmal

  • How can i implement RMI Activatable for CORBA clients

    Hi, i need some help to implement RMI Activatable for CORBA clients, i was reading the CORBA specifications, that is used PortableRemoteObject.exportObject(this) in the server contructor. but in hte moment to execute rmic -iiop returns the next error:
    error: java.rmi.server.RemoteServer is not a valid remote implementation: has no
    remote interfaces.
    1 error
    so. my question is. how can i implent this funtionality on my RMI server that extends Activatable class ?
    i would like that you could give me some help, about it
    greetings !!

    You can't.

  • How can I Change Asset names for swapped images in duplicated symbols?

    I have what seems to be a bug in edge animate cc2014 in following circumstances:
    1. Duplicate a symbol
    2. Drag duplicate symbol onto stage.4
    3. Rename symbol
    4. Click to edit symbol
    5. Select an image inside the symbol
    6. In properties panel change path to swap the image to be used in this instance of the  duplicated symbol ( I need to reuse this symbol many times and not being able to change asset names is a real problem!).
    7. The names for the asset in both the timeline and the elements were auto generated at the time of duplication when try to change the names they revert back to the auto generated  names.
    How can I overcome this problem which is clearly a bug or a poorly thought through bit of programming by an otherwise highly competent adobe edge animate tesm
    Thank in advance
    David.

    Again, incorrect. It's not about how I can address a specific symbol with code - no problems there - it's what the composition loads into the symbol. Try it with some complex component or sub- symbols.
    Work-Around for using Duplicated and Revised symbols (symbol variants) in the SAME document. Solution.
    Tedious, but easy. Low risk. Edge Animate 2014.1.1
    When you duplicate a symbol comprised of symbols itself ("sub-symbols"), only the outermost symbol gets a unique name, not it's component inner symbols. Upon import of additional variants, a unique name is created in the Library/Symbols panel for the inner symbols, yet the references in the outer symbol can't update to use those unique inner-symbol names. Therefore, the composition loads the symbol with the matching name. This will be the first variant to be imported.
    Make the Duplicate
    Duplicate the symbol in the Library/Symbol Panel. Rename. Export.
    Prepping the Symbol
    Open a new document, import and place the new symbol.
    Select the asset to be switched/replaced. Make the switch in the property panel. Properties/Images/Swap button. (I revised my base or source symbol to have different colored background images. This is how I created 4 color variants.)
    Save the new document, of course. "Example1.an"
    Export the revised symbol from the Library/Symbol Panel for safe keeping.
    Return to Example1.an
    Elements Panel: Work through the nested symbols, adding a preceding identifier to all symbols in the heirarchy.
    *KEEP IT SIMPLE so you can easily and quickly move through the .js files in the following steps.*
    Save Example1.an.
    Library/Symbols Panel: Go down the list, renaming all the symbols with the same preceding identifier as was used in the Elements Panel. *I advise to stay parallel with the Elements panel. Change as little as possible.*
    Disregard any odd appearance you may see on the stage for now.
    Save Example1.an
    Revising the Code
    In Edge Code, also part of the Creative Cloud suite, or any code editor, open the two .js files for "Example1.an." found in the same folder...Edge.js and ...EdgeActions.js
    ...Edge.js
    find  "symbolName" - prepend with the identifier whatever is not already prepended.
    at the same time, look for "id" nearby - prepend with the identifier whatever is not already prepended.
    Save
    ...EdgeActions.js
    First read the grey comments about not degrading the //Edge Comments.
    Search the document for "//Edge symbol" - prepend whatever is not already prepended.
    Carefully check all the orange text, prepending the symbol names you find. This same code can be seen in your Code Panel with the "Full Code" button.
    Save
    Return to Edge Animate
    When prompted to Reload, say yes.
    Save Example1.an
    EXPORT your new top level symbol - now a fully separated asset.Now you have created a fully unique symbol, which can be used in conjunction with other variants in the same document.
    Import your new, unique symbol variant it into your real document.
    This is the solution if your Symptoms are:
    I duplicated symbols to make different variations, but now I can't use the duplicated symbol variants together.
    When I try to swap images in a duplicated symbol, it succeeds when used alone, but reverts when used with the original symbol.
    My duplicated symbol works properly alone, but not when it is used with the original symbol.
    My symbol seems to revert to the original source symbol.

  • How can I implement this functionality for button in Captivate.

    Hello Everyone
    I want to create a button with same functionality as on mobile.
    If the button is clicked for first time it will type in "2".
    Second time "a"
    third time "b"
    fourth time "c"
    then again circles back to 2.
    Thanks in advance if anyone can point us to the right direction.
    Cheers, JagVWS

    Which version are you using? It will be less cumbersome in the latest version, because you can copy/paste decisions.
    You can have a look at this blog post, it is not cycling text containers (which will be your case) but images. The logic is the same, bit different from Rod's explanation because I'm resetting the counter to 0 after each cycle. That way you need only one user variable (I'm trying to limit work). Probably you will not want to show an extra button after the first cycle, but that is easy to skip.
    http://blog.lilybiri.com/blog-after-posterous-clickclick
    Lilybiri

  • We have a requirement to print the w2 forms for employees using java application, how can i implement this. Please give some suggestion.

    We have a requirement to print the w2 forms for employees using java application, how can i implement this. Please give some suggestion.

    Anyone any ideas to help please?

  • How can I in IMAQ Vision know to which blob a pixel belongs to?

    Hi,
    How can I in IMAQ Vision know to which blob (particle) a pixel belongs to?
    I use IMAQ Complexmeasure and Complexparticle to get data about every particle in the image and then use this data (position, length and direction) to see if two particles "belong to each other". I want to start from one particle and from the data (position, length and direction) find a search area and in that area look for pixels (binary image), if I find one I want to know to which blob that pixel belongs to. (Programmatically) How can I do that?
    Deeper explanation: The image I send is just a small part of a bigger image. As you can see there are a lot of streaks on the image, they are generated by small particle
    s moving in the air. I use a long exposure time and have a chopper in front of the camera that will generate a short streak, a middle long streak and a long streak. By doing this I can see how the air is moving around in a room. As you can see I must know which streaks are generated by the same particle. As I said earlier I use IMAQ Complexmeasure and Complexparticle to get data about every blob (streak in this case) in the image and then use this data (position, length and direction) to see if two streaks "belong to each other". I start from one streak and from that streaks data (position, length and direction) I can find a search area and in that area look for pixels ( hopefully belonging to a streak generated by the same particle ), if I find a pixel I want to know to which streak (blob) that pixel belongs to so I can look at this new streaks data (length, direction) to verify if these two streaks are generated by the same particle. So my questions are:
    How can I see to which strea
    k (blob) an individual pixel belongs to? (programmatically)
    What is the best way to create a search area, ROI? (programmatically)
    What is the best way to look for a pixel in the search area, IMAQ GetPixelValue? (programmatically)
    Thanks
    Pelle
    Attachments:
    streak.jpg ‏6 KB
    scan0001.PNG ‏66 KB

    Pelle,
    This is an interesting project. It will be difficult to use blob processing, because there are a large number of intersecting paths.
    A few ideas to start with:
    For each particle, the path is essentially the same brightness. I would start with white and gradually decrease the threshold level to locate the different blobs.
    Also, for each particle, the alignment is roughly the same. I would only consider blobs that have about the same orientation of the long axis. They don't seem to make sudden right angle turns.
    I would search by doing a particle analysis, select a particle and search for related particles by comparing the centroid of nearby particles to see if they fall in the area +/- 15 degrees from the long axis orientation of the
    particle. You should be able to locate a best choice at each end of the particle.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • How can I implement a Digital I/O counter with a maximum source frequency of 80 MHz (like 6602 board) using CompactRIO?

    How can I implement a Digital I/O counter with a maximum source frequency of 80 MHz (like 6602 board) using CompactRIO? It appears as if the Digital I/O modules for CompactRIO are much slower than this.
    Thank you,
    --Ray

    Hi Ray,
    The highest frequency input we offer for C Series modules is 20 MHz if you are doing LVTTL and 10 MHz for 5 V TTL.  These modules are the 9402 and 9401, respectively.  Unfortunately, there is no 80 MHz input on this form-factor.
    Regards,
    Chris E.
    Applications Engineer
    National Instruments
    http://www.ni.com/support

  • How can we benefit from WebDynpro for ABAP over Normal ABAP

    Dear Guru's,
    Please guide me what are +Ves of WebDynpro over Normal ABAP. Once all Applications are developed how can we organize them. For Example In SD module there is sequence of Tcodes to be executed this is true for all modules . Is there any concept involved in this new technology.
    For What purpose we can suggest someone to implement in an Organization.
    Many Thanks in Advance.
    Regards
    Ram

    Hi Ram,
    Here Are some comparisions I made w.r.t Webdynpro for ABAP (also some benifits over Java):
    1     "Pros:it will be easier to move your development project through the system landscape if both the UI and business logic are in the same development environment.(Update: This is is less of a concern now that CTS+ lets you bundle your WD Java UI developement with ABAP development objects into a single transport, with SPS13. )
    2     tons of custom ABAP business logic is easier to access via WD for ABAP
    3     WD for ABAP has a code wizard, so easy to build
    4     SAP List Viewer and ALV handled better
    5      The biggest thing is the NWDI. Most of the SAP customer have ABAP stack, but not everyone has the Java stack. To develop WD Java you need to set up the NWDI envrionment, like SLD, CMS, CBS, DTR, etc. which is a huge effort if you don't have them in place. While for WD ABAP, the environemnt is normally there as given for most of customers if they have the right version.
    6     If your business is in SAP system, I would prefer WD ABAP. There are many WD components available in WD ABAP like select-option, Alv table, F4-help which are not available in WD Java. Beside in WD ABAP you can deal the context node in form of internal table which is much more performant than dealing with the contextelement which is the case for WD Java.
    Regards,
    Tanaya
    Edited by: Tanaya A on Dec 10, 2009 6:19 PM

  • How can I implement an user function in a derived column of a report ?

    Hello,
    I've a report and added a derived column.
    In this column should be displayed the result of a function.
    GETANZGJMONATE ( to_date(#START_AFA#,'DD.MM.YYYY'), #ND#, :P302_GJ );
    How can I implement this?
    Thanks in advance
    Regards Ulrike

    Ulrike - I would do this in the SQL statement (there may be other ways).
    Presumably START_AFA and ND are table columns?
    Presumably you've also created the GETANZGJMONATE function?
    So, something like this should work (this also assumes that START_AFA is of a DATE type - you'll need the TO_DATE call if not):
    SELECT COL1
    , COL2
    , START_AFA
    , ND
    , GETANZGJMONATE (START_AFA, ND, :P302_GJ)
    from TABLE
    where ...
    Can't remember if you have to grant any particular execute permissions on the function ('grant execute on GETANZGJMONATE to public', for example) when you call it from SQL on a page, but you could try that if the function call fails.
    Depending on what's in :P302_GJ and what the function parameter data type is, you might need to use the '&P302_GJ.' syntax or TO_NUMBER etc.
    Hope this helps.
    Regards,
    John.

  • How can i implement 'Distribute Qty' function in BAPI_GOODSMVT_CREATE

    Hi all,
    Using MIGO For GR. if more than one Batch or Production Date or Vendor Batch for same Purchase Order Line Item and Deliv date, need to hit ‘Distribute Qty’ button to split the entry line into multiple lines before enter Production Date and Vendor Batch.
    So I want use bapi BAPI_GOODSMVT_CREATE  implement MIGO function for a interface. Anyone have some suggestion how can i implement the 'Distribute Qty' function in the bapi.
    My email address: [email protected]

    Hello,
    1. Use structure BAPIPAREX for passing custom fields. (There are several blogs/posts on how to make use of this).
    2. In the BAPI i noticed there is a BAdI to populate these fields into your business tables.
    Call BAdI MB_BAPI_GOODSMVT_CREATE to fill own fields
        TRY.
            get badi lo_mb_bapi_GOODSMVT_CREATE.
          CATCH cx_badi_not_implemented.                    "#EC NO_HANDLER
        ENDTRY.
        TRY.
            call badi lo_mb_bapi_goodsmvt_create->extensionin_to_matdoc
              EXPORTING
                EXTENSION_IN = EXTENSIONIN[]
              CHANGING
                CS_IMKPF     = S_IMKPF
                CT_IMSEG     = T_IMSEG[]
                CT_RETURN    = return.
          CATCH cx_badi_initial_reference.                  "#EC NO_HANDLER
        ENDTRY.

  • How can we implement the currency translation in a query definition

    How can we implement the currency translation in a query definition and should it modified for each and every type of currencies

    hi rama krishna
    i think u can not get any translation in Query. this is only for het the report as it is there in tables. if u want to write a report take a help of the Abaper
    hope u goit,assign points if u ok for this
    thanks
    subbu

  • How can I implement the connection pool in my java stored procedure

    my java stored procedures (in database 'B') have to connect to another oracle database ,let's say 'A'. And how can I implement the behavior like the so-called connection pool in my java stored procedure in 'B', as below.
    1. database B, has 2 java stored procedures sp1 and sp2
    2. both sp1 and sp2 connects to databse 'A'
    whatever I call the sp1 and sp2 and the database 'A' always only one connected session from sp1 and sp2 in database 'B'.
    THANKS A LOTS...

    my problem is I have a lots of java stored procedures need to cnnect to the remote oracle db, and I hope the remote db can only have a connected session from my java stored procedures in my local db. I try as below
    class sp{
    static Connection conn=null; //the remote db connection,
    public static void sp1(){...}//procedure 1, using conn
    public static void sp2(){...}//procedure 2, using conn,too
    I can 'see' the 'conn' variable if I invoke the sp1() and sp2() from the same client application(maybe sqlplus). But if I invoke the sp1() from client 'A' and invoke sp2() from client 'B' then the sp1() and sp2() can not see the 'conn' variable for each other. I think it's because the two clients cause oracle to create two instances of the class 'sp' and the sp1() and sp2() located in different instance seperately. Thus the sp1() and sp2() can not see 'conn' for each other. They can only see its own 'conn'.
    To connect to the remote db from the java stored procedure is easy but is it possible to connect to the remote db via database link from the java stored procedure at my local db ? If so, then I also archive my goal .
    BTW , thanks a lots...
    andrew :-)

  • How can I implement Authentication in LDAP

    How can I implement Authentication in LDAP.

    Hi,
    If ur using JAAS, then use NTLoginModule in ur conf file and your own defined CallbackHandler for validating and obtaining the Subject (user connected to your domain).
    Remember the user is the one which the code obtains when u login to your Domain based machine.
    Apart from this, Apache Http Server also provides you with a popup window asking for the user's credentials when u set the SSPIDomain in the httpd.conf file.
    httpd.conf
    ========
    <Location /Seet/servlet/ >
    SSPIAuth On
    AllowOverride None
    Order allow,deny
    Allow from all
    AuthName "seet190 auth"
    AuthType SSPI
    SSPIAuth On
    SSPIAuthoritative On
    require valid-user
    SSPIDomain seet190
    </Location>
    seet190 is the domain name
    Actually so far in the Security Forum, u might refer to some of the replies posted for more help but actual LDAP authentication can be done by passing the user's info too.
    HTH,
    Seetesh

  • How can I implement recipe control concept in SAPME?

    Dears,
    How can I implement recipe control concept in SAPME?
    For example,
    We can config the standard temperature setting needs to be between 100~120 degree C for Operation OP1 and Material MA1
    So, before user start the SFC of MA1 at OP1, system can display the config values(100~120) for user reference, then, user need to input the real temperature when process the SFC, if it's out of spec, system can warning. System will collect the input data for analysis in future.
    Thank you.

    Thank you for your information.
    Since customer prefer to use a custom UI which can communicate with SAPME by web service.
    So I can not use SAPME default data collection or work instruction user interface.
    I'm considering by using data collection and work instruction config data to develop a web service in MII and poblish to custom UI in which it can display the spec data and reject user's input if out of spec.
    Please feel free to inform me if any other good idea, thanks!

Maybe you are looking for