Mailinglist Archives:
Infrared
Panorama
Photo-3D
Tech-3D
Sell-3D
MF3D
|
|
Notice |
This mailinglist archive is frozen since May 2001, i.e. it will stay online but will not be updated.
|
|
P3D Re: JPS format images
- From: "Greg Wageman" <gjw@xxxxxxxxxx>
- Subject: P3D Re: JPS format images
- Date: Thu, 17 Sep 1998 20:04:43 -0700
From: Brian Reynolds <reynolds@xxxxxxxxx>
jon siragusa:
>> There is nothing stopping anyone who is knowledgable in any
programming
>> language to write a JPS reader/writer for other platforms. JPEG is
>> a cross-platform file format. The Stereoscopic Descriptor, being
>> basically a set of flags, is cross-platform. There is no "standard"
>> for an anaglyph or interleaved JPEG is there?
>
>Depending on how hard it is (and if I can get a readable version of
>the JPS specification), I might try such an implementation (probably
>only for reading a JPS file and outputting anaglyph, and parallel and
>cross eyed pairs).
I've already done a "jpstopnm" converter which is really nothing more
than a hack of the IJG's stand-alone decompressor program "djpeg".
Basically all I had to do was add code to read the JPS descriptor and
set some flags. In the decompressor loop, the flags are checked to see
what the current line represents (left image, right image, or
single-image case for anaglyph, mono, etc.) and gets written to the
correct output file. If you're interested I can send you the source
code. If nothing else you could use it as an example or a starting
point for your own project.
I intend to do the opposite direction as well (pnmtojps), but haven't
made a start at it yet.
-Greg W. (gjw@xxxxxxxxxx)
------------------------------
|