LumeneraImageFormatParams

Description

See LUCAM_FRAME_FORMAT Structure in official documentation for more thorough information

Structure fields and default values (if defined) are described below:

  • LumeneraPixelFormat PixelFormat - Pixel format returned by the camera, not all models support all formats
  • Box Aoi - Area of interest, limited by camera capabilities
  • Bool BinningX - True for binning, false for subsampling
  • int SSBinX - Subsampling or binning ratio
  • Bool BinningY - True for binning, false for subsampling
  • int SSBinY - Subsampling or binning ratio
struct LumeneraImageFormatParams
{
	LumeneraPixelFormat	PixelFormat;
	Box					Aoi;
	Bool				BinningX;
	int					SSBinX;
	Bool				BinningY;
	int					SSBinY;


	LumeneraPixelFormat PixelFormat() const	{ return PixelFormat;	};
	Box Aoi() const							{ return Aoi;			};
	Bool BinningX() const					{ return BinningX;		};
	int SSBinX() const						{ return SSBinX;		};
	Bool BinningY() const					{ return BinningY;		};
	int SSBinY() const						{ return SSBinY;		};

	bool operator == ( const avs::LumeneraImageFormatParams& rhs ) const
	{
		return PixelFormat == rhs.PixelFormat && 
			Aoi == rhs.Aoi && 
			BinningX == rhs.BinningX && 
			SSBinX == rhs.SSBinX && 
			BinningY == rhs.BinningY && 
			SSBinY == rhs.SSBinY;
	}

	bool operator != ( const avs::LumeneraImageFormatParams& rhs ) const
	{
		return !(operator==(rhs));
	}

};