Welcome to PhotoForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Exif Metadata in JPEG2000: Request for Comments

 
   Digital Photography Tip (Home) -> General RSS
Next:  "Final" (ha-ha) lens  
Author Message
Thomas Richter

External


Since: Nov 27, 2007
Posts: 7



(Msg. 1) Posted: Wed Jan 09, 2008 9:25 am
Post subject: Exif Metadata in JPEG2000: Request for Comments
Archived from groups: rec>photo>digital (more info?)

Hi newsgroup, dear readers.

The purpose of this post is to collect some impression on the needs of
users and possible solutions. I'm looking for opinions on this from
people with practical experience in the field and try to collect some
advice.

Background: Exif is an image encoding standard, based on "traditional"
JPEG that, along with the image, also carries meta-data as the exposure
time, the white-point, the aperture and other camera specific settings.
This data can be used for multiple purposes, for example to
automatically or semi-automatically post-process images on a PC. Almost
traditionally, the name "Exif" has been identified with the data and
the binary container keeping it, however, Exif is really an image
format: Traditional JPEG, with a TIFF-like container in one of its
"comment" markers, keeping the Exif tags.

JPEG2000, the follow-up of the traditional JPEG encoding, offers various
methods how to integrate such meta-data. It's just that nobody has done
that yet and there is not yet a standardized approach for it.

The JPEG committee is aware of this problem, and tries to address it,
but several options *how* this is to be done are possible, and I'm
looking for opinions - what is in the market, what are user demands, etc.

Question 1: I often hear the claim that "JPEG2000 has Exif issues".
Would you believe that this is a serious market demand, and a serious
problem why JPEG2000 did not gain a market penetration?

Question 2: Currently, two solutions for the Exif problem are under
discussion. Option 1) would be to use the same Exif container as in
traditional JPEG, and pack it into JPEG2000, there as part of a file
format structure called a "UUID-Box" which ensures unique identification
of the structure. Option 2) would be to encode the same data set in XML,
a human readable text format, using a recent ANSI specification.

Drawback of the binary format is that it is, uhm, binary. Vendors kept
adding vendor-specific tags to it, and data is not human-readable.
Advantage is that there are well-established parsers for it, the specs
are accepted and in the market. And binary is easier to create and read
by the limited computation power found in the cameras.

Drawback of the XML format is that it is relatively heavy, i.e. requires
more space for encoding the same data, and requires more computation
power to encode and decode it. It is also a relatively new spec which
means that it currently has no penetration in the market whatsoever.
There are of course XML parsers, but none that collect data specific for
this set. The advantage is that it is human-readable, easily extensible,
and a more orthogonal solution for the problem. It is also, from a
technological p.o.v., the up to date approach for keeping the meta-data.

Technologically, both data sets contain the *same* data (or hopefully
will), i.e. provided an application supports both sets, the user would
be able to do the same tasks, regardless of a binary Exif or an XML
container. From this perspective, there is no difference (at least in an
ideal situation where a 1:1 mapping between the Exif tags and the XML
tags is given).

As said, there is currently *not yet* a standardized approach for
attacking the problem. Thus, the solution is not "take whatever will be
standardized". This is rather the question.


Thanks for comments,

Thomas

 >> Stay informed about: Exif Metadata in JPEG2000: Request for Comments 
Back to top
Login to vote
Marco Schmidt

External


Since: Aug 27, 2007
Posts: 5



(Msg. 2) Posted: Wed Jan 09, 2008 12:18 pm
Post subject: Re: Exif Metadata in JPEG2000: Request for Comments [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thomas Richter:

>Question 1: I often hear the claim that "JPEG2000 has Exif issues".
>Would you believe that this is a serious market demand, and a serious
>problem why JPEG2000 did not gain a market penetration?

Yes, no.

Yes, it's a demand now. With the kind of importance digital cameras
have _today_, I understand that EXIF-type data has become an important
feature and should be supported.

No on the "why ... did not gain"; serious problems in the past were
(and are)
* patent issues,
* the lack of a free implementation like IJG's was for JPEG,
* the lack of a pressing need to switch formats, JPEG2000 had no
overwhelming (!) advantage over JPEG (esp. with digital cameras which
typically don't use the low bitrates where JPEG2000 really shines in
comparison).

>Question 2: Currently, two solutions for the Exif problem are under
>discussion. Option 1) would be to use the same Exif container as in
>traditional JPEG, and pack it into JPEG2000, there as part of a file
>format structure called a "UUID-Box" which ensures unique identification
>of the structure. Option 2) would be to encode the same data set in XML,
>a human readable text format, using a recent ANSI specification.

As a developer, I really want to see that ugly IFD "follow this offset
pointer to the next structure / to the actual value" system vanish:
* It's error-prone (dangling pointers).
* It enables implementations where random access is necessary in order
to seek to locations before the current position in the input stream
(cf. arbitrary PDF vs. linearized PDF). Having all the data grouped
together instead of potentially spread over a file makes it possible
to do reading with an InputStream and not a RandomAccessFile (in Java
terminology). Sometimes, "only" the more simple InputStream kind of
data source (reading, but no seeking) is available, e.g. in servlets
or strict filter programs reading from stdin and writing to stdout.
* It's a nightmare to update (necessity to memorize or compute the
location of values larger than 32 bit before writing them).
* It comes with that implicit 4 GB (in praxi: 2 GB) limitation because
of 32 bit offset values.
And so on. Makes me think of the network model for databases, which
went the way of the dinosaur when something superior came along.

XML overhead in terms of space and parsing is negligible already and
becomes more so every year (even with embedded devices). There are XML
parsers available for about any programming language under the sun,
and querying and transformation can be done with languages more and
more developers know (XPath, XSLT). Provide a big enough area for the
XML metadata, and in-place editing of the metadata can be accomplished
easily, avoiding the necessity to rewrite large files just to edit a
single value.

About the reuse issue: In the same way IFD parsers exist in current
graphics software packages already, they probably come with XML
support as well in order to read and write configuration files and do
XMP editing (XMP is based on XML).

Hopefully, someone defines an XMP namespace for EXIF values. According
to
<http://en.wikipedia.org/wiki/Extensible_Metadata_Platform#Location_in_File_Types>,
there already is a place for XMP data in JPEG2000:
|JPEG 2000 - 'uuid' atom with UID of 0xBE7ACFCB97A942E89C71999491E3AFAC

Regards,
Marco

 >> Stay informed about: Exif Metadata in JPEG2000: Request for Comments 
Back to top
Login to vote
Alfred Molon

External


Since: Nov 03, 2007
Posts: 202



(Msg. 3) Posted: Wed Jan 09, 2008 6:15 pm
Post subject: Re: Exif Metadata in JPEG2000: Request for Comments [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article , thor RemoveThis @math.tu-
berlin.de says...

> Question 1: I often hear the claim that "JPEG2000 has Exif issues".
> Would you believe that this is a serious market demand, and a serious
> problem why JPEG2000 did not gain a market penetration?

Obviuosly a format which has exif issues is not going to be accepted by
the photographic community. But the main issue is that JPEG is the
standard and JPEG2000 does not offer significant advantages.

It may be much better at high compression levels, but at low compression
levels (1:10 or better) typical of digital photography it is not better
than JPEG (better in terms of image artifacts).

> Question 2: Currently, two solutions for the Exif problem are under
> discussion. Option 1) would be to use the same Exif container as in
> traditional JPEG, and pack it into JPEG2000, there as part of a file
> format structure called a "UUID-Box" which ensures unique identification
> of the structure. Option 2) would be to encode the same data set in XML,
> a human readable text format, using a recent ANSI specification.

xmp would be better.

> Drawback of the binary format is that it is, uhm, binary. Vendors kept
> adding vendor-specific tags to it, and data is not human-readable.
> Advantage is that there are well-established parsers for it, the specs
> are accepted and in the market. And binary is easier to create and read
> by the limited computation power found in the cameras.
>
> Drawback of the XML format is that it is relatively heavy, i.e. requires
> more space for encoding the same data,

That is less relevant today because memory is very cheap.

> and requires more computation
> power to encode and decode it.

Also irrelevant because most devices have sufficient processing power.
--

Alfred Molon
------------------------------
Olympus 50X0, 8080, E3X0, E4X0, E5X0 and E3 forum at
http://tech.groups.yahoo.com/group/MyOlympus/
http://myolympus.org/ photo sharing site
 >> Stay informed about: Exif Metadata in JPEG2000: Request for Comments 
Back to top
Login to vote
Bill Tuthill

External


Since: Sep 07, 2006
Posts: 243



(Msg. 4) Posted: Sat Jan 12, 2008 10:58 pm
Post subject: Re: Exif Metadata in JPEG2000: Request for Comments [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thomas Richter wrote:
> Question 1: I often hear the claim that "JPEG2000 has Exif issues".
> Would you believe that this is a serious market demand, and a serious
> problem why JPEG2000 did not gain a market penetration?

The real problem with JPEG2K, from a camera manufacturer's perspective,
is that it requires too much computing horsepower. Meanwhile I'm glad
you are trying to solve the EXIF problem. I predict CPU power will
increase in coming years, so JPEG2K might catch on. Or not.

> Question 2: Currently, two solutions for the Exif problem are under
> discussion. Option 1) would be to use the same Exif container as in
> traditional JPEG, and pack it into JPEG2000, there as part of a file
> format structure called a "UUID-Box" which ensures unique identification
> of the structure. Option 2) would be to encode the same data set in XML,
> a human readable text format, using a recent ANSI specification.

Do #1, because #2 is just stupid. XML might be the wave of the future,
or it could just be a passing fad. There is nothing wrong with EXIF
in current JPEG, and XML would not improve matters at all.
 >> Stay informed about: Exif Metadata in JPEG2000: Request for Comments 
Back to top
Login to vote
Alfred Molon

External


Since: Nov 03, 2007
Posts: 202



(Msg. 5) Posted: Sun Jan 13, 2008 6:56 am
Post subject: Re: Exif Metadata in JPEG2000: Request for Comments [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article , says...

> > Question 2: Currently, two solutions for the Exif problem are under
> > discussion. Option 1) would be to use the same Exif container as in
> > traditional JPEG, and pack it into JPEG2000, there as part of a file
> > format structure called a "UUID-Box" which ensures unique identification
> > of the structure. Option 2) would be to encode the same data set in XML,
> > a human readable text format, using a recent ANSI specification.
>
> Do #1, because #2 is just stupid. XML might be the wave of the future,
> or it could just be a passing fad. There is nothing wrong with EXIF
> in current JPEG, and XML would not improve matters at all.

The advantage of XML is that it's a human readable format, which is why
it would be better. And since JPEG2000 is an entirely new format, it's
not clear why it should use the old EXIF format of JPEG. There is really
no advantage in doing so.
--

Alfred Molon
------------------------------
Olympus 50X0, 8080, E3X0, E4X0, E5X0 and E3 forum at
http://tech.groups.yahoo.com/group/MyOlympus/
http://myolympus.org/ photo sharing site
 >> Stay informed about: Exif Metadata in JPEG2000: Request for Comments 
Back to top
Login to vote
John H. Guillory

External


Since: Jul 25, 2008
Posts: 2



(Msg. 6) Posted: Fri Jul 25, 2008 2:55 am
Post subject: Re: Exif Metadata in JPEG2000: Request for Comments [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sat, 12 Jan 2008 22:58:36 -0800, Bill Tuthill
wrote:

>Thomas Richter wrote:
>> Question 1: I often hear the claim that "JPEG2000 has Exif issues".
>> Would you believe that this is a serious market demand, and a serious
>> problem why JPEG2000 did not gain a market penetration?
The problem with Jpeg2000 from a "layman's" eyes.... None of my
existing Jpeg viewers worked with it, and I see no point in paying to
upgrade all my software to support Jpeg2000 in every program I own,
just because from the most I've seen it supports a lossless form of
saving pictures. There's other formats that support lossless format
pictures (png/mng, bmp, etc.) and are supported by everything I own.
Not to mention, if I want to throw a picture in a word processing
document and its in Jpeg2000, I generally have to convert it to jpeg,
gif, .bmp, .wpg, or some other supported format, import it, then later
delete the extra copy.... That's actually why Jpeg took so long for me
to convert my pictures to it.... Until all my software supported Jpeg
as is, I used GIF format.... I had convertor utilities, but why
should I convert my entire library and then every time I need to do
somethig with it convert it back.... Oh, and yes with Vista not
allowing a true full-screen DOS text mode like XP, don't think console
mode utilities area going to be quite as popular as they used to....
Sure, I still use them, but Vista's forcing me to go GUI more and
more, which is sad because true text console mode allows you to do
more quicker and easier....

>The real problem with JPEG2K, from a camera manufacturer's perspective,
>is that it requires too much computing horsepower. Meanwhile I'm glad
>you are trying to solve the EXIF problem. I predict CPU power will
>increase in coming years, so JPEG2K might catch on. Or not.
Not as I see it.... They could store all pictures in RAW format,
let the user convert the picture to whatever when they get to their
house or on their laptop.... Granted, does away with taking pictures
and running downto Walmart and developing pictures, formatting the
memory card and taking more pictures.....

>Do #1, because #2 is just stupid. XML might be the wave of the future,
>or it could just be a passing fad. There is nothing wrong with EXIF
>in current JPEG, and XML would not improve matters at all.
Why bother with XML any way? I mean, the picture is going to be in
binary format, not like your going to type the .jpeg file out to the
screen or edit it in notepad..... The only thing XML would do is
cause you to need a bigger Memory Stick, a bigger hard drive, send
larger files via e-mail, etc. Files are allready big enough as is,
its a reason I didn't want to get a new camera for the longest
time.... My 1.3 megapixel camera was awesome for E-Mail, as folks with
6 and 7 megapixel cameras found they had to reduce the picture's
resolution so much to send it via e-mail..... Since most I was doing
with my camera was for E-Mail and videos / slide shows, I had no need
what soever for a higher resolution.... No need to add waste to the
file format.....
 >> Stay informed about: Exif Metadata in JPEG2000: Request for Comments 
Back to top
Login to vote
John H. Guillory

External


Since: Jul 25, 2008
Posts: 2



(Msg. 7) Posted: Fri Jul 25, 2008 2:57 am
Post subject: Re: Exif Metadata in JPEG2000: Request for Comments [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, 13 Jan 2008 09:47:09 +0100, Alfred Molon
wrote:

>The advantage of XML is that it's a human readable format, which is why
>it would be better. And since JPEG2000 is an entirely new format, it's
>not clear why it should use the old EXIF format of JPEG. There is really
>no advantage in doing so.
And your used to editing your jpeg2000 pictures in notepad?
 >> Stay informed about: Exif Metadata in JPEG2000: Request for Comments 
Back to top
Login to vote
Roy G

External


Since: Sep 06, 2007
Posts: 29



(Msg. 8) Posted: Fri Jul 25, 2008 3:03 pm
Post subject: Re: Exif Metadata in JPEG2000: Request for Comments [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"John H. Guillory" wrote in message

> On Sun, 13 Jan 2008 09:47:09 +0100, Alfred Molon
> wrote:
>

YAWN !
 >> Stay informed about: Exif Metadata in JPEG2000: Request for Comments 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Free EXIF and metadata viewer for Mac OS X released - Hi group, I've released MetaViewer V1.0 for Mac OS X. "MetaViewer lists and displays almost all meta data that it finds in JPEG files. This can be standard EXIF data (like exposure time, aperture etc.), a thumbnail image, manufacturer makernotes,....

[pfoto] request for comments - http://www.photosig.com/go/photos/view?id=1226688 thank you

Filename TO Exif comments - Been Googling for hours. Seems many programs out there will take Exif data and create a filename for a photo. But I have hundreds (thousands?) of photos which have already been renamed to include the place, persons, etc. in them. Now I would like to..

EXIF and IPTC tags to html comments? - Just wondering if there are any tools out there that can use the exif or IPTC tags to create comments for html pages from jpg photos? This would certainly save a lot of time when coding webpages and also allow your own photos to be indexed fairly easily...

LuraWave JPEG2000 images are blurry - I've just started using IrfanView's LuraWave JPEG2000 plugin (at resolutions beyond 640x480) and have noticed serious blurring artifacts at the "default" setting of 95. Using the max setting of "100" the files are huge and it still d...
   Digital Photography Tip (Home) -> General All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]