Extracting EXIF info from Jpeg + And Stitching Algorithm

I develop Stiching program for digital images in order to create Panoramas with Java. I need to extract EXIF meta data from Jpeg images : focus, focal lens, exposure, constrat, white balance, shutter speed et al.
I ve looked at several code in Java on google, i dont understand much, if anyone can explain it in a simple way for me plz, i will be very appreciate.
Also if anyone have any info on stitching algorithm using Java , it will be very helpful.
Thank you
Hoan

I examined your sample .jpg with Exiftool, the most authoritative metadata tool available, and I also used the following tools to examine the metadata:
OS X 10.9.5: Finder, Preview, Photoshop CC 2014, LR 5.6, exiv2
Windows 8.1: File Explorer, Irfanview 4.38
All of these were able to display the EXIF metadata, including exposure information, without problems, and Exiftool didn’t flag any nonconformities.  So it seems that it’s the Android apps that aren’t conforming to the standards.
Looking at the internal structure of the LR-produced .jpg, I suspect that it is producing a layout of the IFD0, IFD1, and ExifIDF sections that the Android apps aren’t expecting (because the developers didn’t follow the standards).  LR produces the following ordering: unused bytes, ExifIFD, IFD1, IFD0.  A more typical ordering would be: (no unused bytes), IFD0, ExfIFD, IFD1.   Both orderings conform with the standards.
You could test out this hypothesis by obtaining a copy of the free Exiftool and then in a Terminal window (Mac) or command prompt (Windows) do the following command:
exiftool –exif:usercomment=”Hello world!” sample.jpg
This will cause Exiftool to rewrite the Exif metadata in the more-common ordering.  If the Android apps can now see the EXIF exposure metadata in the modified sample.jpg, then that confirms the apps are non-standards-conforming and should be fixed.

Similar Messages

  • Exif info from JPEG exports from LR 5.6 doesn't display in some photo viewers

    I've noticed that when I export JPEGs from LR, the Exif for things like the aperture, shutter speed, and exposure doesn't display in photo viewers like Gallery and QuickPic on my Android tablet.  Using an Exif reader, the fields are there.  I think I have traced it to:  if the original image imported into Lightroom was a jpg, the Exif will display.  If the original image was raw (NEF), the Exif won't display.   Has anyone else seen this?

    I examined your sample .jpg with Exiftool, the most authoritative metadata tool available, and I also used the following tools to examine the metadata:
    OS X 10.9.5: Finder, Preview, Photoshop CC 2014, LR 5.6, exiv2
    Windows 8.1: File Explorer, Irfanview 4.38
    All of these were able to display the EXIF metadata, including exposure information, without problems, and Exiftool didn’t flag any nonconformities.  So it seems that it’s the Android apps that aren’t conforming to the standards.
    Looking at the internal structure of the LR-produced .jpg, I suspect that it is producing a layout of the IFD0, IFD1, and ExifIDF sections that the Android apps aren’t expecting (because the developers didn’t follow the standards).  LR produces the following ordering: unused bytes, ExifIFD, IFD1, IFD0.  A more typical ordering would be: (no unused bytes), IFD0, ExfIFD, IFD1.   Both orderings conform with the standards.
    You could test out this hypothesis by obtaining a copy of the free Exiftool and then in a Terminal window (Mac) or command prompt (Windows) do the following command:
    exiftool –exif:usercomment=”Hello world!” sample.jpg
    This will cause Exiftool to rewrite the Exif metadata in the more-common ordering.  If the Android apps can now see the EXIF exposure metadata in the modified sample.jpg, then that confirms the apps are non-standards-conforming and should be fixed.

  • How can I extract the info from my Time Capsule?

    How can I extract the info from my Time Capsule?

    What info would that be??
    If you mean how to recover TM back to a computer.. see Pondini Q14-17
    http://pondini.org/TM/FAQ.html
    If that isn't it .. we do not know what.. "the info" you are talking about.

  • How can I extract the soundtrack from iMovie and put it in my iTunes Library?

    How can I extract the soundtrack from iMovie and put it in my iTunes Library?

    Or this
    From iMovie 10.0.6 select Share > File. Then select Format=Audio Only. Then select File Format and choose from AAC,MP3,AIFF or WAV.

  • Problem transferring white balance Exif info from iPhoto to Aperture

    I originally posted this question on the Aperture discussions page, but it was suggested to me that maybe I should try asking it on the iPhoto page as well.
    I want to transfer my iPhoto library over to Aperture, but am reluctant to do so until I have familiarised myself with the new program. (I have over 23,000 photos in iPhoto.)
    As a start, I have imported a few of my recent photos from iPhoto so that I can find my way around Aperture. One thing puzzles me. I can see the white balance information for each photo in iPhoto but the white balance field is greyed out in the Aperture metadata, and there is no 'cloud' or 'sun' picture at the top right of the Info panel, even though the white balance field is ticked in the Metadata Fields panels for Exif Info and Camera Info. I really need to know which camera setting I used for each photo to help me learn how to take better photos, but as far as I can see the information is not available to me anywhere in Aperture.
    I have performed Aperture Library First Aid (repaired permissions and database, and rebuilt database) but the problem still exists. At the suggestion of someone on the Aperture page I have also created a new Aperture library and then imported some original photos from iPhoto which I exported to the desktop and then into the new Aperture library. I had the same problem, with no white balance information showing. That's when I was advised to try the iPhoto discussions page as well!
    Does anyone have any ideas for me please?

    Well, Terence, it duly showed up the white balance data when I shot a Raw photo. But I don't understand why Aperture recognises white balance for Raw but won't show it for Jpegs, whereas iPhoto recognises both.

  • Index of EXIF-metadata from jpeg files by TREX

    Hello,
    I have the following scenario:
    We have a central fileserver with a lot of marketing pictures. Our marketing people are looking for a solution to search pictures by data stored in the EXIF-metadata of the jpeg-files.
    So I like to integrate this fileserver as a repository in KM, set up an index and let TREX do the search (as of note 663630 TREX can search the EXIF-Data of JPEG-Files).
    As goodie I want to give the marketing people the possibility to browse through the pictures in an image gallery. This gallery should be consisting of a query-based taxonomy where all the pictures are sorted by special EXIF-data (e.g. name of the photographer).
    Until now I have integrated the fileserver (as a FS-Repository) and create an index.
    Before index creation I added the mime-type “image/jpeg” to the TREXValidMimeTypes.ini and restarted TREX.
    After indexing the pictures could be found by it’s name, but the EXIF-data is not indexed.
    Now my question:
    Why TREX doesn’t index the EXIF-metadata?
    And how can I use the EXIF-data in an taxonomy?
    System:
    EP6.0 on WebAS 6.40 SPS16
    TREX SPS16 Patch 2
    KMC SPS16 Patch 2
    Greetings from Berlin, Germany
    Jens

    Greetings to Berlin,
    when triggered by KM, TREX will only index metadata that is known to KM as KM propertis.
    I do not know in detail and am not at all sure, but you could try to create custom properties in KM that are called exactly like your EXIF-metadata, set them to "indexable", <b>not</b> fill them with values on KM side and then try again.
    You may want to try this for just one of the EXIF-metadata as a test.
    Even if that works somehow, the maximum result is:
    - Property <b>name</b> existent in KM
    - Property thus searchable an classifiable
    - BUT property <b>values</b> will not show up in KM, as they will remain known only to TREX
    Regards, Karsten

  • EXIF info in Finder and iPhoto different

    When I import pictures from my Canon Powershot Pro1, iPhoto has the correct exif info, but any other program, either finder or another program called "Name those files", uses faulty exif information, namely that the creation date of the file is the import date. I like to rename my files, including the original date it was taken, and I am not able to because of this glitch, although maybe I should rename in iPhoto. I don't know.

    mevannorden:
    Welcome to the Apple Discussions. There's a contextual menu application, PhotoToolCM 2.0, that will batch rename the files to the EXIF date -0 YYYY-MM-DD-01.jpg. You can use it before importing into iPhoto. You can also use another renaming application, like R-Name to append the additional information to the file name. You will end up with a file name like this: YYYY-MM-DD-01-your info here.jpg
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • HT1212 I did not sync my iPad to iTunes on my PC. Now my iPad is disabled because I forgot my passcode when I set up iOS 7 on it. I have tried to use the support info from Apple AND the cut and paste responses from people in the community, but it does not

    I did not sync my iPad to iTunes to my PC. Now my iPad is disabled because I forgot my passcode when I installed iOS 7 to it.
    Before anyone cuts and pastes the info from Apple support in response to this, I have already tried those steps. iTunes simply states that it cannot do anything since the iPad is locked with a passcode. I cannot access iCloud to use that specific advice as iCloud will not let me sign in; a message keeps coming up reading that there is an error with the server. Remote Swipe? Not sure. It is three hours later, and I am no further.
    What else can I do? I never had a passcode set up when I first got my iPad. I would have bypassed this with the installation of iOS 7 if I had known about this.
    Thank you in advance.

    You can only play 720p video.
    Download the 720p or standard def version.

  • BI- Extract Hour:Min from date and get Avg

    Hi there,
    am working on BI answer and trying to get the average of the working hours of the departments. The Working Hrs column is Date format in the Database. And I managed with Forum help to Extract the Hours from this column and do the average through the BMM in the RPD on the Fact table as following:
    EXTRACT( HOUR FROM "Ain_Access"."Fact_Access"."Working Hours")
    Now on the BI Answer results I have 8 instead of 08:57.
    But what I need is to Extract the Hour and the minuets and get their AVG.
    Appreciate your help,

    Averaging column with date/time format in BI Answer
    this expression will work:
    (60 * EXTRACT( HOUR FROM "Ain_Access"."Fact_Access"."AVG Working Hours" ) + EXTRACT( MINUTE FROM "Ain_Access"."Fact_Access"."AVG Working Hours" )) / 60
    but only if this "AVG Working Hours" is DATE type.... and this look like strange name fore DATE? "AVG" is average, aren't?
    Arent u need to use "Working Hours" instead of "AVG Working Hours" ?
    like this:
    (60 * EXTRACT( HOUR FROM "Ain_Access"."Fact_Access"."Working Hours" ) + EXTRACT( MINUTE FROM "Ain_Access"."Fact_Access"."Working Hours" )) / 60
    all best
    phenix

  • Extracting image thumbnails from JPEG

    Hello,
    I need to extract and display the thumbnails that are embedded in JPEG files. Does anybody know how to do that?
    Thanks,
    Stan

    You sure there are thumbnails embedded in JPEG files? Its the first I've heard of it. Anyway, if you want to load a JPEG and get a thumbnail of any size, use java.awt.Image.getScaledImage(int,int,int)

  • Extract the data from database and send to XI in form of file

    hi,
        I am working on a scenario in which i am to extract thew data from an ODBC database. and send it to Integration Engine using a file adapter. In this case which adapter i should use? If i go for file adapter then how i will extract the data and if i go for JDBCadapter then i can't send the data in the form of file which is my basic requirement.
    Can someone help me out.

    Hi,
    You can Use JDBC Adapter to pull the data from Dbase very well.
    Check this For Refference Use
    PERIODIC SCHEDULING OF DATA BETWEEN ORACLE DB & R/3 SYSTEM
    Regards
    Seshagiri

  • Taking info from Column and Pasting to another Column without losing content?

    Hi Numbers Masters,
    I am working on an e-commerce store CSV spreadsheet.
    For instance:
    I have column "A" which is a description of a product and column "B" which is a SKU Number. I want the SKU number column info to be added to Column "A" without deleting the description content in Column "A". There is different values for each SKU number in column B and different content for info in Column "A".
    If I copy and paste I lose the info in Column "A" and am just left with info from Column "B".
    THANK YOU

    In Excel I would do this
    Save a copy of the file.
    Concatenate the text by creating a formula in a third column that "adds" the contents of A and B.
    Then inspect the column
    I expect Numbers works similarly.
    Use the & function to add strings (Descriptions or SKU)
    Something like this
    A1 & B1
    A1 & " " & B1
    gives you a space
    A1 & " -" & B1
    gives you a dash
    Description
    SKU
    Combine
    Scissors
    1234
    Scissors 1234
    Clipboard
    78766
    Clipboard 78766
    Masking tape
    9832
    Masking tape 9832
    Scissors
    1234
    Scissors:1234
    Clipboard
    78766
    Clipboard:78766
    Masking tape
    9832
    Masking tape:9832

  • OBTM Extract consumer info from X509 certificate

    All,
    Currently working with OBTM Release 12.1.0.3.6: build 26660. We try to set up segmentation based on the certificate used for signature.
    In previous release of OBTM ( Amberpoint ), it was possible to extract the CN from it. Anyone experience with that in the current release? When we extract the certificate from the message, it get even truncated so it's not usable.
    Any help, welcome!
    Tyia,
    Cheers!
    AR

    You can use getSubjectDN() .getName() or getSubjectX500Principal().getName()
    If you need more information, please drop me an email [email protected]

  • All of a sudden when downloading free apps i ger error code that the security code on my cc is invalid.  I havnt changed anything! How do i check my billing info from ipad and why am i getting message in first place?

    How do i check my billing info from ipad? All of a sudden im getting error messages that sec code on my cc is invalid when i go to download FREE apps? I havnt changed a thing on my end to warrant this error message

    Same thing happened to me with my peruvian credit card in the peruvian app store, I want to buy an app, but it says that my credit card is "not supported in the Peruvian app store"

  • Make pdf files from jpeg and zip files?

    how do I make a pdf file from a jpeg or zip file?

    You will need Adobe Acrobat or use https://createpdf.acrobat.com/ to make a PDF from JPEG.
    ZIP files need to be unzipped before converting the content to PDF.

Maybe you are looking for

  • [SOLVED]Updated to Xorg 1.6.1 and the problems started...

    Hi all, I upgraded whole system and xorg 1.6.1 got installed...now it wont let me configure it!!! which is so lame I mean I am not sure if everything changed in the way we used to configure X - by modifying /etc/X11/xorg.conf but now there is no such

  • Vendor Statistics Report ALV

    Hi, I am looking for a Vendor Statistics report developed by an ABAPER which basically shows how late a PO was, If full quantity was GR etc basically a Vendor Evaluation report, Points will be awarded any Vendor Evaluation Type report will be helpful

  • Why is incoming mail on EST and we are on CDT?

    Why is incoming mail on EST and we are on CDT?

  • JRUN Servelt 500 Error

    Any idea on how to resolve this error and or the cause... My code is very simple and worked before. Suddenly started sporadically showing this error message. 500 ROOT CAUSE: coldfusion.runtime.RequestTimedOutException: The request has exceeded the al

  • Pass on lot size" function not supported in costing runs

    hi when i am doing cost estimate through ck40n i am getting following error. Pass on lot size" function not supported in costing runs Message no. CK463 Diagnosis You have selected costing variant PPC1 for the costing run. The Pass on lot size indicat