Re: Module naming -- processing 3D JPEG files...

2017-05-04 Thread Timothe Litt
Neither wise nor a sage, but:

Is there a more general term than "Stereo", which implies 2: left and right?

What about other composite views that make an image appear to have
depth/perspective?

E.g. Hologram (Holo?)  Is there a term that covers the space of all
composite views and/or related images?

Alternatively, might one pair for other reasons?  (Image::Pair::format)?

Image::Group::Stereo::format?

Image::Container::Stereo::format?

Image::Composite::Holo::JPG?

Image::Diffraction::XRay::bmp?

Image::Resonance::Slice::tiff?

Not my field, obviously.  But I do wonder if taking a second level
namespace for this is the best choice...

Of course, no one wants infinitely long names.  But maybe there's a
happy medium.  (Sorry, no pun intended.)

I'm not necessarily opposed to "stereo" (nor would it matter if I were),
but you asked for feedback, and that's what comes to mind...

Timothe Litt
ACM Distinguished Engineer
--
This communication may not represent the ACM or my employer's views,
if any, on the matters discussed. 

On 02-May-17 23:20, BC wrote:
> Oh great and wise sages of the CPAN wisdom,
>
> I'd like some feedback and advice for naming some modules I am
> contemplating.
>
>Image::Stereo::MPO
>Image::Stereo::JPS
>Image::Stereo::JPG
>
> These would be modules used for basic manipulation of
> stereographic JPEG-based images.
>
> Here's a bit of background for the interested.
>
> MPO -- Multi-Picture Format
>
>Digital 3D cameras (yes, there are such things) most commonly
>store L/R images as a pair of JPEG files in a container file
>with the extension ".MPO".  The container file also contains
>additional meta data, beyond the standard JPEG fields, that
>describes relationships between the images.  (Actually, to be
>more accurate, MPO files can store any number of related
>images, such as for panoramics.  But in practice, in the wild,
>MPO files contain stereographic pairs.)
>
> JPS -- JPEG Stereo Format
>
>Another older format for stereographic pairs has an extension
>of ".JPS".  This is a JPEG file with the R/L images 'glued'
>together side-by-side and some additional meta data (EXIF).
>
> JPG
>
>And L/R stereo pairs are often just combined into a single
>JPEG file without any special meta data and may be in a
>side-by-side or under-over format.
>
> A common thing to want to do is to take L/R stereo pair of JPEG
> files and combine them into a single MPO or JPS file, and
> likewise take an MPO or JPS file and split it out into two
> separate JPEG files.  That's what these modules will do.
>
> OK -- probably more than you wanted to know.
>
> As for the module names, stereographic images are commonly
> referred to as 3D images, but there are other associations for
> the term, plus I'm guessing that "::3D::" would be a no-no for
> CPAN module naming.  Stereographic images are also shorthanded as
> just "stereo" which is a more reasonable name length.
>
> ...BC
>



RE: Module naming -- processing 3D JPEG files...

2017-05-03 Thread BC

 Which would give you something like
 Image::TriD::StereoPairs::MPO


I'm liking 'StereoPairs'.  Unless there are strenuous objections,
I plan to go with...

Image::3D::StereoPair::MPO

Now all I have to do is write the software.  :-)

Thanks to all for the feedback.

...BC

--
---[ bill.co...@alumni.unh.edu ]--
 Bill Costa
 New Hampshire, USA
 http://pubpages.unh.edu/~wfc
 WORK: +1-603-862-3056
 HOME: +1-603-435-8526
[ No good deed... Goes unpunished. ]--


Re: Module naming -- processing 3D JPEG files...

2017-05-03 Thread Dan Book
>
> Some would consider the following to be even more general and
> thus better:
>
>Image::3D::Pairs::MPO
>Image::3D::Pairs::JPS
>Image::3D::Pairs::JPG
>
>Image::3D::Lenticular
>Image::3D::VR
>Image::3D::Holo
>Image::3D::DepthMap
>
> But wouldn't this break the rule for an uppercase letter as the
> first character?


A number as the first character of a subnamespace is fine, as long as it is
not the first character of the whole package name.

-Dan


RE: Module naming -- processing 3D JPEG files...

2017-05-03 Thread BC

Is there a more general term than "Stereo", which implies 2: left
and right?


Well as it would apply to stereographic imaging, that would be
"binocular", which is definitely two and only two.  But there is
a very strong association of that term with the paired telescopes
commonly called binoculars.


Not my field, obviously.  But I do wonder if taking a second
level namespace for this is the best choice...


Your point about trying to narrow it down to image pairs is well
taken.  Referring to the images themselves as 'stereo pairs' or
'3D pairs' is very common in the stereographic community.


What about other composite views that make an image appear to
have depth/perspective?


There are indeed other stereographic formats that can involve
more than two images.  For example 3D lenticulars are best done
with arrays of at least 3 or more images and there have been many
3D cameras that have been purpose-built for the technique:

https://upload.wikimedia.org/wikipedia/commons/thumb/4/48/Nimslonew.jpg/300px-Nimslonew.jpg

http://www.3dham.com/stereo_cameras/Nishikacamera320.jpg

And of course static 3D VR images, and 3D panoramic images can
also involve using an array of images beyond single pairs.


E.g. Hologram (Holo?)  Is there a term that covers the space of
all composite views and/or related images?


It sometimes gets applied that way, but a hologram is a unique
and different process that yields a true 3 dimensional image of
an object not a scene.  You can think of VR as an image that
surrounds the viewer, where with holography the viewer can
surround an object.

And of course, 3D images can also be generated from 3D computer
modeling, and capturing depth maps.

https://en.wikipedia.org/wiki/Depth_map

https://phys.org/news/2016-06-imaging-technique-image-depth-monocular.html

As for the 2nd level, the term stereographic is certainly the
least ambiguous, since 'stereo' by itself is even more commonly
used to mean stereophonic.  So you could do:

   Image::Stereographic::Pairs::MPO
   Image::Stereographic::Pairs::JPS
   Image::Stereographic::Pairs::JPG

   Image::Stereographic::Lenticular
   Image::Stereographic::VR
   Image::Stereographic::Holo
   Image::Stereographic::DepthMap

But this feels like something out of the Department of Redundancy
Dept. since what you are saying is "image-solid-image". (Stereo
is the Greek word for solid.)

So alternatively, the more concise:

   Image::Stereo::Pairs::MPO
   Image::Stereo::Pairs::JPS
   Image::Stereo::Pairs::JPG

   Image::Stereo::Lenticular
   Image::Stereo::VR
   Image::Stereo::Holo
   Image::Stereo::DepthMap

Some would consider the following to be even more general and
thus better:

   Image::3D::Pairs::MPO
   Image::3D::Pairs::JPS
   Image::3D::Pairs::JPG

   Image::3D::Lenticular
   Image::3D::VR
   Image::3D::Holo
   Image::3D::DepthMap

But wouldn't this break the rule for an uppercase letter as the
first character?

So I'm thinking the "stereo" 2nd level namespace proposal would
be a good balance between descriptiveness and brevity, and
taxonomically I think you can argue that "Image::Stereo" is
unambiguous.  But "3D" looks good to me too, if it is allowed.

...BC

--
---[ bill.co...@alumni.unh.edu ]--
 Bill Costa
 New Hampshire, USA
 http://pubpages.unh.edu/~wfc
 WORK: +1-603-862-3056
 HOME: +1-603-435-8526
[ No good deed... Goes unpunished. ]--


Re: Module naming -- processing 3D JPEG files...

2017-05-03 Thread James E Keenan

On 05/03/2017 04:12 AM, Smylers wrote:

BC writes:


I'd like some feedback and advice for naming some modules I am
contemplating.

   Image::Stereo::MPO
   Image::Stereo::JPS
   Image::Stereo::JPG


Sounds good to me — you've clearly considered this carefully, and your
explanations make sense.

Smylers



I concur with Smylers.  +1


Re: Module naming -- processing 3D JPEG files...

2017-05-03 Thread Timothe Litt
Neither wise nor a sage, but:

Is there a more general term than "Stereo", which implies 2: left and right?

What about other composite views that make an image appear to have
depth/perspective?

E.g. Hologram (Holo?)  Is there a term that covers the space of all
composite views and/or related images?

Alternatively, might one pair for other reasons?  (Image::Pair::format)?

Image::Group::Stereo::format?

Image::Container::Stereo::format?

Image::Composite::Holo::JPG?

Image::Diffraction::XRay::bmp?

Image::Resonance::Slice::tiff?

Not my field, obviously.  But I do wonder if taking a second level
namespace for this is the best choice...

Of course, no one wants infinitely long names.  But maybe there's a
happy medium.  (Sorry, no pun intended.)

I'm not necessarily opposed to "stereo" (nor would it matter if I were),
but you asked for feedback, and that's what comes to mind...

On 02-May-17 23:20, BC wrote:
> Oh great and wise sages of the CPAN wisdom,
>
> I'd like some feedback and advice for naming some modules I am
> contemplating.
>
>Image::Stereo::MPO
>Image::Stereo::JPS
>Image::Stereo::JPG
>
> These would be modules used for basic manipulation of
> stereographic JPEG-based images.
>
> Here's a bit of background for the interested.
>
> MPO -- Multi-Picture Format
>
>Digital 3D cameras (yes, there are such things) most commonly
>store L/R images as a pair of JPEG files in a container file
>with the extension ".MPO".  The container file also contains
>additional meta data, beyond the standard JPEG fields, that
>describes relationships between the images.  (Actually, to be
>more accurate, MPO files can store any number of related
>images, such as for panoramics.  But in practice, in the wild,
>MPO files contain stereographic pairs.)
>
> JPS -- JPEG Stereo Format
>
>Another older format for stereographic pairs has an extension
>of ".JPS".  This is a JPEG file with the R/L images 'glued'
>together side-by-side and some additional meta data (EXIF).
>
> JPG
>
>And L/R stereo pairs are often just combined into a single
>JPEG file without any special meta data and may be in a
>side-by-side or under-over format.
>
> A common thing to want to do is to take L/R stereo pair of JPEG
> files and combine them into a single MPO or JPS file, and
> likewise take an MPO or JPS file and split it out into two
> separate JPEG files.  That's what these modules will do.
>
> OK -- probably more than you wanted to know.
>
> As for the module names, stereographic images are commonly
> referred to as 3D images, but there are other associations for
> the term, plus I'm guessing that "::3D::" would be a no-no for
> CPAN module naming.  Stereographic images are also shorthanded as
> just "stereo" which is a more reasonable name length.
>
> ...BC
>



signature.asc
Description: OpenPGP digital signature


Re: Module naming -- processing 3D JPEG files...

2017-05-03 Thread Smylers
BC writes:

> I'd like some feedback and advice for naming some modules I am
> contemplating.
> 
>Image::Stereo::MPO
>Image::Stereo::JPS
>Image::Stereo::JPG

Sounds good to me — you've clearly considered this carefully, and your
explanations make sense.

Smylers
-- 
http://twitter.com/Smylers2


Module naming -- processing 3D JPEG files...

2017-05-02 Thread BC

Oh great and wise sages of the CPAN wisdom,

I'd like some feedback and advice for naming some modules I am
contemplating.

   Image::Stereo::MPO
   Image::Stereo::JPS
   Image::Stereo::JPG

These would be modules used for basic manipulation of
stereographic JPEG-based images.

Here's a bit of background for the interested.

MPO -- Multi-Picture Format

   Digital 3D cameras (yes, there are such things) most commonly
   store L/R images as a pair of JPEG files in a container file
   with the extension ".MPO".  The container file also contains
   additional meta data, beyond the standard JPEG fields, that
   describes relationships between the images.  (Actually, to be
   more accurate, MPO files can store any number of related
   images, such as for panoramics.  But in practice, in the wild,
   MPO files contain stereographic pairs.)

JPS -- JPEG Stereo Format

   Another older format for stereographic pairs has an extension
   of ".JPS".  This is a JPEG file with the R/L images 'glued'
   together side-by-side and some additional meta data (EXIF).

JPG

   And L/R stereo pairs are often just combined into a single
   JPEG file without any special meta data and may be in a
   side-by-side or under-over format.

A common thing to want to do is to take L/R stereo pair of JPEG
files and combine them into a single MPO or JPS file, and
likewise take an MPO or JPS file and split it out into two
separate JPEG files.  That's what these modules will do.

OK -- probably more than you wanted to know.

As for the module names, stereographic images are commonly
referred to as 3D images, but there are other associations for
the term, plus I'm guessing that "::3D::" would be a no-no for
CPAN module naming.  Stereographic images are also shorthanded as
just "stereo" which is a more reasonable name length.

...BC

--
---[ bill.co...@alumni.unh.edu ]--
 Bill Costa
 New Hampshire, USA
 http://pubpages.unh.edu/~wfc
 WORK: +1-603-862-3056
 HOME: +1-603-435-8526
[ No good deed... Goes unpunished. ]--