Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#2333 closed enhancement (fixed)

Add XMP APP1 parser for jpeg images.

Reported by: dburken Owned by: dburken
Priority: highest Milestone: OMAR Dec 2012
Component: Algorithms/Functionality Version: ossim/OMAR 1.8.14-3
Severity: blocker Keywords: jpeg XMP APP1
Cc:

Description

Have jpeg data with embedded XMP APP1 block with aircraft positioning data. Need to parse get corner points to geoposition.

Change History (2)

comment:1 by dburken, 11 years ago

Resolution: fixed
Status: newclosed

1) Added ossimXmpInfo class with code to parse xmp app1 block from jpeg image.

2) Added ossimXmpInfo::getProjection to grab corners from the parsed xml block and make an ossimBilinearProjection.

3) Added ossimJpegTileSource::getImageGeometry to return projection if found.

Above code allows data to be geopostioned on Earth with corners using a simple bilinear projection.

Note: This is NOT a rigorous model; you cannot do image space exploitation.

Affected files:

ossim/src/ossim/support_data/ossimInfoFactory.cpp
ossim/src/ossim/support_data/ossimXmpInfo.cpp
ossim/include/ossim/support_data/ossimXmpInfo.h
ossim/src/ossim/imaging/ossimJpegTileSource.cpp
ossim/include/ossim/imaging/ossimJpegTileSource.h
Note: See TracTickets for help on using tickets.