I want to convert two image files into strings and than to compare them. This is easy, but how to mention where the difference exist?

I have two image file in bmp file format. How to convert them into string and to check if they are differnt or same. If different how to mention or find that where the difference exists. This idea have to be extented with video application as well.

Hi,
if you have vision, you could use the functin IMAQ Image to Array to have a 2D array of the pixel values.
You can then compare pixel by pixel; if your images come from a camera, I would recommend to set a treshold of acceptance.
This is a time consuming solution anyway.
Alternative methods:
1) Make a subtraction of the two images, the resulting image will be the difference of them
2 ) Use IMAQ LogDiff function (operators palette)
3) Calculate the histogram of both image and compare the histogram reports
Good luck,
Alberto

Similar Messages

  • Want to convert  tif image file into jpg image file , pls help me

    hey coders, i want to convert a tif image file into a jpg image file , can u all help in this

    In it's simplest form, it's two lines of code.
    BufferedImage bi = ImageIO.read(/*the tif file*/);
    ImageIO.write(bi,"jpeg",/*output file*/);Though, you need to install [JAI-ImageIO|https://jai-imageio.dev.java.net/binary-builds.html] read the tif file into a BufferedImage.

  • I created a new adobe account. I want to convert a doc file into pdf. How to do that?

    HI,
    I created a new adobe account. I want to convert a doc file into pdf. How to do that?
    I have seen a Create pdf menu and under that Convert office files to pdf. But I can't click it, why?
    How to convert my doc file to pdf?

    Hello,
    if you create your doc files by the help of WORD, you could use a Microsoft add on (it depends of your WORD Version).
    Hans-Günter

  • I want to convert a pdf file into xml.Which programme should I use and how do I access it?

    I want to convert a pdf file into xml.Which programme should I use and how do I access it?I am based in India.

    Hello,
    if you create your doc files by the help of WORD, you could use a Microsoft add on (it depends of your WORD Version).
    Hans-Günter

  • I tried to convert a PDF file into Word and it gave me computer language

    I tried to convert a PDF file into word and it gave me computer language. Help!

    HI Aijan,
    I am trying to convert a pedigree chart so I can put it in my family's genealogy book. I need to make some corrections on it. It was created on a MAC and I am on a PC. This may be part of the problem. I am on Windows 8 on a 1-year old Samsung computer laptop. I have Adobe Reader XI on it. It says that I can convert a PDF to an Excel or Word file for editing.
    It looks like computer code to me.
    Here is the first page of what I am copying:
    Thanks for your help.
    Susan Cole
    4 :1.4;1 ,0/123140 )*+,
    !" (+ KA0 (>>*
    !," LAA,A3 CM     6" (> N8/ ()((
    6," -./&01.2&3 45
    2" ++ 5=: ()IH
    2," -./&01.2&3 45
    2 -./% ,0/123140 )*+,
    !" < 5=: ()(+
    !," -./&01.2&3 45
    6" +> %&' ()?<
    6," -./&01.2&3 45
    2" (+ @A9 ()>$
    2," %&1&0B C8B D,0.9:13 45
    5 <2.41%=1 ,>1 ',89?,
    !" (+ O'B (>>$
    !," -./&01.2&3 45
    2" (? KAE ()II
    2," -./&01.2&3 45
    1 !"#$% '$( )*+,
    !" $ %&' ()*+
    !,"-./&01.2&3 45
    6" ) %&' ()*
    6," 781 59:&;&13 45
    2"
    2,"
    6  -./% @1#21( 78',9
    !" +) @=; (>$I
    !," P&QA1           6" ++ %&' ()H)
    6," PA'86A3 R5
    2"
    2,"
    3 +."5#$ 6$44510 78',9
    !" +> @=9 ()(*
    !," 7E99 FA;;&E3 G43 4A9A2A 2" ?H 5=: ())I
    2," 4ABJ&20A; 4.BE3 45
    7 6$44510 A!$B$;1C !DEF6
    !," S9:;A92 2"
    2,"
    8 :1.4;1 6$0/$G$( )*+,                                                           !
    !" $ @=9 (>*+
    !," C898;=;=3 CM
    6" (I 5=: (>$I
    6," RA.6&A3 CM
    2" (I T&! ()(+
    2," -./&01.2&3 45
    9 H2$4$ D$451 9*@,++                                                              "
    !" +< T&! (>*I
    !," RA.6&A3 CM 2" (? T&! ()($
    2,"-&2;A9213 45
    10 @5225$I !0"$40 ',89?,                                                             #
    !" +< N8/ (><<
    !," 52&;A.2&3 5=1B0A;.A
    --Original Message

  • My music is stuck in the cloud. I have over 4000 songs and bedise most of them it says waiting. How do i download the rest of my songs into my library

    My music is stuck in the cloud. I have over 4000 songs and beside most of them it says waiting. How do i download the rest of my songs into my library

    See Empty/corrupt iTunes library after upgrade/crash.
    tt2

  • I'm new to photoshop and I want to convert an image file to a fabric file like .zfab or .fab...is this possible? I want the image to be in color and the images are .png. I am using windows 8

    HI I am using software for fashion design called Marvelous Design . I want to import my fabric patterns which are .png image files but they have to be in .zfab or .fab format. can adobe convert these files into these extensions? If so, how do I do it? Thanks for any help!

    This is from File extension FAB - Open .fab files :
    The FAB file extension is associated with the Fabmaster software, or file format developed by the Electronic Source Company.
    Fabmaster seems to be obsolete product that is not supported by its developers.
    ~~~~~~~~~~~~~~~
    As for the software, did you mean Marvelous Designer?
    ~~~~~~~~~~~~~~~
    For ALL file formats supported by Photoshop, see:
    Photoshop Help | Supported file formats

  • How do I convert an image file into an array?

    I am using LabVIEW v.6.0.2
    I have no NI IMAQ device or IMAQ card, also no Vision
    The image file I have can be saved as a file containing numbers relating to the picels. I want to put these numbers into an array and plot a cross section intensity chart ( I am investigating young's double slits experiment and want to see the interference fringes in graphical form).

    I'm not sure what you're asking.
    In the GRAPHICS palette, there are READ JPEG file, READ BMP file, and READ PNG file VIs. Choose one and together with DRAW FLATTENED PIXMAP and a PICTURE indicator, you can display a picture with two functions and two wires.
    If you have spreadsheet-type data and import it with READ FROM SPREADSHEET FILE (in the File I/O palette), you can plot that directly to an intensity indicator.
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

  • How does one convert a photoshop file into inDesign and maintain edibility??

    I have an entire print file done by another person in Photoshop but would like to convert it into inDesign for fluidity. 1st of all, is that the best scenario? 2nd, is that a possibility? I've begun working with the files in inDesign by creating Photoshop PDF files for it to be linked to; however, that keeps all of the editing within Photoshop. And I would like to have the entire document in inDesign only. This is my dilemma, can anyone offer advice?
    Thank you!
    K.D.

    You can't convert Photoshop to editiable InDesign (though there is a plugin from RecoSoft that claims to make editable ID files from PDF: http://www.recosoft.com/products/pdf2id/).
    About the best you can hope for is to leave pixel information in the Photoshop file (where it really belongs) and place that into an ID document, then set any type in ID.
    Peter

  • I want to store an xml file into database, and transport it to the XI.

    tell me  in how many ways we can store a xml file in database.
    one i know is.- create a table with field same as that of XML. store XML file data in it
    and at the time of transfering data to XI fatch data from table and create an XML file and transfer...
    tell me if u know some more

    Dear Swethi,
    You can move images to SAP using SE78. then u can use them where ever u you require them.
    SE78->GRAPHICS->BMAP here give ur image name and click on save
    Rgds,
    Kiran
    Edited by: Kiran on Jun 11, 2009 7:15 AM

  • XML file into String

    Hello,
        I want to convert total xml file into string in UDF, i am getting an error. can anybody tell me the solution. what is the wrong in bellow code.
    String str =a+b;
    String strLine;
    StringBuffer sbr=new StringBuffer();
    try{
         FileInputStream fileInputStream = new FileInputStream(str);
             DataInputStream dataInputStream = new DataInputStream(fileInputStream);
             BufferedReader bufferedReader = new BufferedReader(new   InputStreamReader(dataInputStream));
             while ((strLine = bufferedReader.readLine()) != null)   {
             sbr.append(strLine);
         catch (Exception e){      e.printStackTrace();       }
    return sbr.toString();}

    check this link
    How to store big XML string  in ABAB DB
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • How do I combine two PDF files into one?

    I want to merge two PDF files into one to make things easier when I take the file(s) to a professional printer.
    Can I do this in Preview?
    Thanks.

    You can't do in Preview.
    You can combine individual PDFs into one PDF using one of these freeware utilities.
    PDFMergeX @ http://www.malcom-mac.com/blog/pdfmergex/
    joinPDF @ http://www.macupdate.com/info.php/id/16604
    Combine PDFs @ http://www.monkeybreadsoftware.de/Freeware/CombinePDFs.shtml>
    PDFLab (join & split) @ http://pdflab.en.softonic.com/mac
     Cheers, Tom

  • Is there a way that you can convert a pdf file into a InDesign 5.5 file

    I want to convert a pdf file into a InDesign CS5.5. Is there anyway you can do this, or is there any software which can be downloaded that achieves good results.

    Recosoft has a converting plugin:
    http://PDF to InDesign, Convert PDF to InDesign, PDF to InDesign converter

  • I would like to convert a matlab file into a .dll and use it in LabVIEW. However, when I run the .dll in LabVIEW I get an error stating "... Procedure not found". What could this be? Can anyone help me...

    I wish to convert my Matlab files into .dll's so that I can use them in LabVIEW. I am using 'mcc' and 'mbuild' of Matlab to convert my .m files into .c and .dll.
    When I try to run the .dll's in LabVIEW, I get an error message in a modal window stating some required .dll or procedure is not found.
    How should I resolve this issue. Should I add any other Matlab .dll's in course of making my .dll?
    Please help in solving this issue... Thankyou very much.

    KJV wrote in message news:<[email protected]>...
    > When I run the matlab generated dll, it is stating 'matllb.dll not
    > found'. Is it that I should set the path for matlab\bin to include
    > all the dll's before I compile? When I make dll from C, it works fine
    > in LabVIEW. The problem is from .m to .dll. The problem also arises
    > when I convert my .m to .exe. The same error of 'matllb.dll not
    > found' comes over. Should I change my matlab compiler options or
    > something else? Please help me?
    I have the same question,I don't know how to use the matlab DLL file in labview,
    I hope someone can descripe the procedure in detail.

  • Convert Inputstructure into String and store into DB2

    Hello All
    My requirement is I want to convert total input structure into string then stored into database single field as clob. Can anyone suggest me how will i retive input structor, is there any user defined function will i write or is there any inbuilt functionality in SAP PI. Plese suggest me
    Thanks&Regards,
    VenkatK

    Hi Swarup / Shamly
      My input structure is nearly 60 fields. Sample Structure
    <?xml version="1.0" encoding="utf-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
          <SOAP-ENV:Body>
             <create xmlns="urn:MySoapServices">
                <PurchaseOrder>
                   <BuyerDetails>
                        <Organization>University of Washington</Organization>
                        <Authorized_Person>
                             <FisrtName>Cease</FisrtName>
                             <LastName>Wayne</LastName>
                        </Authorized_Person>
                        <Street>Savery Hall</Street>
                        <City>Seattle</City>
                        <State>Wa</State>
                        <Zip>98195</Zip>
                        <Contact_Numbers>
                                  <Phone>888-846-6638</Phone>
                                  <Fax>212-629-1158</Fax>
                        </Contact_Numbers>
                        <Email>hidekiu.washington.edu</Email>
                   </BuyerDetails>
                   <SupplierDetails>
                        <Organization>Thomas Industrial Network</Organization>
                        <Authorized_Person>
                             <FisrtName>Cease</FisrtName>
                             <LastName>Wayne</LastName>
                        </Authorized_Person>
                        <Street>5 Penn Plaza, 10th Floor</Street>
                        <City>New York</City>
                        <State>NY</State>
                        <Zip> 10001</Zip>
                        <Contact_Numbers>
                                  <Phone>888-846-6638</Phone>
                                  <Fax>212-629-1158</Fax>
                        </Contact_Numbers>
                   </SupplierDetails>
                   <PurchaseOrderInformation>
                        <Order_Number>4556</Order_Number>
                        <Order_Delivery_Date>10-10-2006</Order_Delivery_Date>
                        <PO_Type>Finished</PO_Type>
                        <status>PO sent</status>
                   </PurchaseOrderInformation>
                   <Address>
                        <Shipping_Address>
                             <Organisation>University of Washington</Organisation>
                        <Authorized_Person>
                             <FisrtName>Cease</FisrtName>
                             <LastName>Wayne</LastName>
                        </Authorized_Person>
                             <Street>Savery Hall</Street>
                             <City>Seattle</City>
                             <State>Wa</State>
                             <Zip>98195</Zip>
                             <Email>hidekiu.washington.edu</Email>
                        </Shipping_Address>
                        <Billing_Address>
                             <Organisation>University of Washington</Organisation>
                        <Authorized_Person>
                             <FisrtName>Cease</FisrtName>
                             <LastName>Wayne</LastName>
                        </Authorized_Person>
                             <Street>Savery Hall</Street>
                             <City>Seattle</City>
                             <State>Wa</State>
                             <Zip>98195</Zip>
                             <Email>hideki</Email>
                        </Billing_Address>
                   </Address>
                   <Payment_Terms>
                        <Purchase_Order>
                             <PO_Number>456</PO_Number>
                             <Payment_Type>Bank</Payment_Type>
                             <Payment_Type_PO>
                                  <Bank>
                                       <BankName>Citibank</BankName>
                                       <AccountNumber>654987456</AccountNumber>
                                       <BranchCode>564</BranchCode>
                                  </Bank>
                                  <Credit_Card>
                                       <Payment_Type_CC>VISA</Payment_Type_CC>
                                       <CC_Number>1234 4567 7890 0123</CC_Number>
                                       <CC_Expire_Date>10-12-2012</CC_Expire_Date>
                                  </Credit_Card>
                             </Payment_Type_PO>
                        </Purchase_Order>
                        <Currency>USD</Currency>
                   </Payment_Terms>
                   <Purchase_Items>
                        <Item>
                             <Part_Name>6 foot wide 5 foot high cabinet</Part_Name>
                             <Quantity>9</Quantity>
                             <Description>Cabinets of systems</Description>
                        </Item>
                        <Item>
                             <Part_Name>6 foot wide shelves</Part_Name>
                             <Quantity>6</Quantity>
                             <Description>Shelves for books</Description>
                           </Item>
                   </Purchase_Items>
              </PurchaseOrder>           
             </create>
          </SOAP-ENV:Body>
       </SOAP-ENV:Envelope>
               I need to store whole XML structure (Including  XML version) into Database single field as a clob. not  field values. Please help me out from this issue.

Maybe you are looking for

  • Decode function in OracleXMLQuery

    selectStr = "SELECT DECODE(email,null,'',email), FROM mytable WHERE user_id=\'" + search_id + "\'"; using this select statement in conjunction with OracleXMLQuery produces the following exception. oracle.xml.sql.OracleXMLSQLException: Character ')' i

  • How to Upgrade 11i Database from 10.2.0.2 to 10.2.0.3

    Hi Friends, I have 11i database with (10.2.0.2)...now i want to upgrade my database to 10.2.0.3..... I have gone through the 10.2.0.3 pre instalaltion tasks....Do we again need to run the DBUA from 10g Oracle Home.... Please suggest

  • Nokia 700 constant requests for exchange activesyn...

    I installed a couple of new apps this morning: some microsoft stuff that came up in Nokia Suite and the the new Maps Suite from beta labs. Since then my phone has started asking for the Exchange ActiveSync password every few minutes? I use ActiveSync

  • Usb irda adapter compatible with apple remote

    Hi to everyone, i have one apple remote and one apple macbook air 11'. I have this usb irda adapter http://cgi.ebay.it/ws/eBayISAPI.dll?ViewItem&item=270714474273&ssPageName=STRK:M EWAX:IT#ht4403wt952. Is this adapter compatible with apple remote? th

  • RELATIONAL DATABASE TABLES IN SAP BW

    hi friends please give me the information regarding the RELATIONAL DATABASE TABLES IN SAP BW?