nn::jpeg::CTR::MpAttribute Structure

Syntax

struct MpAttribute
{
   bool isMpfVersionValid;
   bool isMpIndividualNumValid;
   bool isPanOrientationValid;
   bool isPanOverlapHValid;
   bool isPanOverlapVValid;
   bool isBaseViewpointNumValid;
   bool isConvergenceAngleValid;
   bool isBaselineLengthValid;
   bool isVerticalDivergenceValid;
   bool isAxisDistanceXValid;
   bool isAxisDistanceYValid;
   bool isAxisDistanceZValid;
   bool isYawAngleValid;
   bool isPitchAngleValid;
   bool isRollAngleValid;
   u8 reserved[1];
   u8 mpfVersion[MPF_VERSION_SIZE];
   u32 mpIndividualNum;
   u32 panOrientation;
   Rational panOverlapH;
   Rational panOverlapV;
   u32 baseViewpointNum;
   Srational convergenceAngle;
   Rational baselineLength;
   Srational verticalDivergence;
   Srational axisDistanceX;
   Srational axisDistanceY;
   Srational axisDistanceZ;
   Srational yawAngle;
   Srational pitchAngle;
   Srational rollAngle;
};

Description

Structure holding the MP Attribute IFD in a format easily processed by the library. The MP Attribute IFD is included in the data stored in MP format.

Initialize this (get its information) using the JpegMpDecoder::GetMpAttribute function.

Member Variables

isMpfVersionValid Whether the MP format version is valid.
isMpIndividualNumValid Whether the individual image number is valid.
isPanOrientationValid Whether the panorama image placement is valid.
isPanOverlapHValid Whether the horizontal overlap is valid.
isPanOverlapVValid Whether the vertical overlap is valid.
isBaseViewpointNumValid Whether the base viewpoint number is valid.
isConvergenceAngleValid Whether the convergence angle is valid.
isBaselineLengthValid Whether the baseline length is valid.
isVerticalDivergenceValid Whether the vertical divergence is valid.
isAxisDistanceXValid Whether the horizontal (X-axis) distance is valid.
isAxisDistanceYValid Whether the vertical (Y-axis) distance is valid.
isAxisDistanceZValid Whether the line-of-sight (Z-axis) distance is valid.
isYawAngleValid Whether the yaw angle is valid.
isPitchAngleValid Whether the pitch angle is valid.
isRollAngleValid Whether the roll angle is valid.
reserved Reserved (ignored).
mpfVersion MP format version.
mpIndividualNum Individual image number.
panOrientation Panorama image placement.
panOverlapH Horizontal overlap.
panOverlapV Vertical overlap.
baseViewpointNum Base viewpoint number.
convergenceAngle Convergence angle.
baselineLength Baseline length.
verticalDivergence Vertical divergence.
axisDistanceX Horizontal (X-axis) distance.
axisDistanceY Vertical (Y-axis) distance.
axisDistanceZ Line-of-sight (Z-axis) distance.
yawAngle Yaw angle.
pitchAngle Pitch angle.
rollAngle Roll angle.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL