HiRISE
 PDS_JP2

Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
Image_Data_Block Class Reference

An Image_Data_Block describes PDS image data. More...

#include <Image_Data_Block.hh>

Inheritance diagram for Image_Data_Block:
Inheritance graph
[legend]
Collaboration diagram for Image_Data_Block:
Collaboration graph
[legend]

Public Member Functions

 Image_Data_Block ()
 Constructs an empty Image_Data_Block. More...
 
 Image_Data_Block (const idaeim::PVL::Aggregate &parameters, std::ios::off_type file_offset)
 Constructs an Image_Data_Block for an IMAGE OBJECT. More...
 
 Image_Data_Block (const idaeim::PVL::Aggregate &parameters, const std::string &filename)
 Constructs an Image_Data_Block for an IMAGE OBJECT in a detached file. More...
 
unsigned int image_bands ()
 Get the number of bands in the image. More...
 
unsigned int image_width ()
 Get the width of the image. More...
 
unsigned int image_height ()
 Get the height of the image. More...
 
unsigned int pixel_bytes ()
 Get the storage size of a pixel in bytes. More...
 
unsigned int pixel_bits ()
 Get the number valid bits (data precision) in a pixel. More...
 
int signed_data ()
 Check if the pixel data is signed. More...
 
int MSB_data ()
 Determine if the pixel data is MSB ordered. More...
 
unsigned int line_prefix_bytes ()
 Get the number of line prefix bytes. More...
 
unsigned int line_suffix_bytes ()
 Get the number of line suffix bytes. More...
 
std::string source_filename ()
 
std::string source_filename (std::string &pathname)
 
- Public Member Functions inherited from PDS_Data_Block
 PDS_Data_Block ()
 Constructs an empty PDS_Data_Block. More...
 
 PDS_Data_Block (const idaeim::PVL::Aggregate &parameters, std::ios::off_type file_offset)
 Constructs a PDS_Data_Block from its PDS label parameters and source file data location. More...
 
 PDS_Data_Block (const idaeim::PVL::Aggregate &parameters, const std::string &filename)
 Constructs a PDS_Data_Block from its PDS label parameters and detached source file. More...
 
std::ios::off_type location ()
 Get the offset location of the binary data block in the source file. More...
 
unsigned long long size ()
 Get the size of the data block. More...
 
- Public Member Functions inherited from PDS_Data
 PDS_Data ()
 Construct PDS_Data with no parameters. More...
 
 PDS_Data (const idaeim::PVL::Aggregate &parameters)
 Construct PDS_Data from a PVL Parameter Aggregate. More...
 
 PDS_Data (const idaeim::PVL::Aggregate &parameters, const std::string &detached)
 Construct PDS_Data from a PVL Parameter Aggregate. More...
 
 PDS_Data (const std::string &pathname)
 Construct PDS_Data from a named file. More...
 
PDS_Data_Block_Listdata_blocks (const char **excluded=NULL, const char **image_block_names=NULL)
 Get a list of all binary data blocks in the PDS data. More...
 
idaeim::PVL::Parameterfind_parameter (const std::string &pathname, bool case_sensitive=false, int skip=0, Parameter_Class_Selection parameter_class=ANY_PARAMETER) const
 Find a named Parameter. More...
 
virtual PDS_Dataparameters (const std::string &pathname)
 Set the parameters from a source file. More...
 
virtual PDS_Dataparameters (const idaeim::PVL::Aggregate &parameters)
 Set the parameters from a Parameter Aggregate. More...
 
idaeim::PVL::Parameterremove_parameter (const std::string &pathname, bool case_sensitive=false, int skip=0, Parameter_Class_Selection parameter_class=ANY_PARAMETER)
 Removes a named Parameter. More...
 
template<typename T >
bool parameter_value (const std::string &pathname, T &value, bool case_sensitive=false, int skip=0)
 Set the value of a named parameter. More...
 
double numeric_value (const std::string &pathname, bool case_sensitive=false, int skip=0) const
 Get the numeric value of a named parameter. More...
 
std::string string_value (const std::string &pathname, bool case_sensitive=false, int skip=0) const
 Get the string value of a named parameter. More...
 
- Public Member Functions inherited from Aggregate
Aggregateadd (const Parameter &parameter)
 
Aggregateadd (Parameter *parameter)
 
 Aggregate (const Aggregate &aggregate)
 
 Aggregate (Parser &parser, const std::string name="")
 
 Aggregate (const std::string name="", const idaeim::PVL::Parameter::Type type_code=Default_Subtype)
 
 Aggregate (const Parameter &parameter)
 
Depth_Iterator begin_depth ()
 
Aggregateclone () const
 
int compare (const Parameter &parameter) const
 
Aggregatecopy_in (const Aggregate &aggregate)
 
Depth_Iterator end_depth ()
 
void entering (Parameter *parameter)
 
Parameterfind (const std::string &pathname, bool case_sensitive=false, int skip=0, idaeim::PVL::Parameter::Type type=(Type)(ASSIGNMENT|AGGREGATE)) const
 
bool is (const Type type) const
 
bool is_Aggregate () const
 
bool is_Group () const
 
bool is_Object () const
 
Aggregatemove_in (Aggregate &aggregate)
 
Aggregateoperator= (const Parameter &parameter)
 
Aggregateoperator= (const Aggregate &parameter)
 
Aggregateoperator= (const Assignment &parameter)
 
Aggregateoperator= (const Value &value)
 
const Parameteroperator[] (unsigned int index) const
 
Parameteroperator[] (unsigned int index)
 
void read (std::istream &in=std::cin)
 
void read (Parser &parser)
 
Parameterremove (size_type index)
 
Parameterremove (Parameter *parameter)
 
Parameterremove (iterator position)
 
Parameterremove_depth (Parameter *parameter)
 
void removing (Parameter *parameter)
 
size_type total_size ()
 
Aggregatetype (const int type)
 
Type type () const
 
std::string type_name () const
 
Valuevalue () const
 
 ~Aggregate ()
 
- Public Member Functions inherited from Parameter
bool at_pathname (std::string pathname, bool case_sensitive, const Parameter *root=NULL) const
 
bool at_pathname (std::string pathname) const
 
bool at_pathname (std::string pathname, bool case_sensitive, const Parameter &root) const
 
std::string comment () const
 
Parametercomment (const std::string &comment)
 
bool has_children () const
 
Parameterindenting (const MODE_STATE state, const WHICH_MODE which=LOCAL_MODE_SET)
 
Parameterindenting (const bool enable)
 
MODE_STATE indenting (const WHICH_MODE which=RECURSIVE_MODE_SET) const
 
virtual bool is_Assignment () const
 
virtual bool is_Token () const
 
Parametermode_state (const MODE mode, const MODE_STATE state, const WHICH_MODE which=LOCAL_MODE_SET)
 
const MODE_STATEmode_state (const WHICH_MODE which=LOCAL_MODE_SET) const
 
MODE_STATE mode_state (const MODE mode, const WHICH_MODE which=RECURSIVE_MODE_SET) const
 
Parametermode_state (const MODE_STATE *const modes, const WHICH_MODE which=LOCAL_MODE_SET)
 
std::string name () const
 
Parametername (const std::string &name)
 
bool operator!= (const Parameter &parameter) const
 
bool operator< (const Parameter &parameter) const
 
bool operator<= (const Parameter &parameter) const
 
bool operator== (const Parameter &parameter) const
 
bool operator> (const Parameter &parameter) const
 
bool operator>= (const Parameter &parameter) const
 
 Parameter (const Parameter &parameter)
 
 Parameter (const std::string &name="")
 
Aggregateparent () const
 
std::string pathname (const Parameter *root=NULL) const
 
std::string pathname (const Parameter &root) const
 
std::string pathname_to (const Parameter *root=NULL) const
 
std::string pathname_to (const Parameter &root) const
 
std::ostream & print (std::ostream &out=std::cout) const
 
Aggregateroot () const
 
MODE_STATE verbatim_strings (const WHICH_MODE which=RECURSIVE_MODE_SET) const
 
Parameterverbatim_strings (const bool enable)
 
Parameterverbatim_strings (const MODE_STATE state, const WHICH_MODE which=LOCAL_MODE_SET)
 
unsigned int write (std::ostream &out=std::cout, int depth=0) const
 
virtual ~Parameter ()
 
- Public Member Functions inherited from Vectal< Parameter >
void assign (size_type number, const_reference value)
 
void assign (Iterator start, Iterator stop)
 
reference at (size_type index)
 
const_reference at (size_type index) const
 
reference back ()
 
const_reference back () const
 
Iterator begin ()
 
Const_Iterator begin () const
 
void clear ()
 
Iterator end ()
 
Const_Iterator end () const
 
void erase (size_type index)
 
iterator erase (iterator start, iterator stop)
 
iterator erase (iterator position)
 
reference front ()
 
const_reference front () const
 
iterator insert (iterator position, const_reference value)
 
void insert (size_type index, const_reference value)
 
void insert (iterator position, size_type number, const_reference value)
 
void insert (iterator position, InputIterator start, InputIterator stop)
 
Vectaloperator= (const Vectal< value_type > &vectal)
 
const_reference operator[] (size_type index) const
 
reference operator[] (size_type index)
 
pointer peek (const iterator &position)
 
pointer peek (const const_iterator &position) const
 
pointer peek_back ()
 
pointer peek_back () const
 
iterator poke (iterator position, pointer value_pointer)
 
void poke (size_type index, pointer value_pointer)
 
iterator poke (iterator position, const_iterator start, const_iterator stop)
 
void poke_back (pointer value_pointer)
 
void pop_back ()
 
iterator pull (iterator position)
 
iterator pull (iterator start, iterator stop)
 
pointer pull_back ()
 
pointer pull_out (size_type index)
 
pointer pull_out (iterator position)
 
void push_back (const_reference value)
 
Reverse_Iterator rbegin ()
 
Const_Reverse_Iterator rbegin () const
 
Const_Reverse_Iterator rend () const
 
Reverse_Iterator rend ()
 
pointer replace (iterator position, pointer value_pointer)
 
void resize (size_type new_size)
 
void resize (size_type new_size, const_reference value)
 
 Vectal (Iterator start, Iterator stop)
 
 Vectal (const Vectal &vectal)
 
 Vectal ()
 
 Vectal (size_type size, const_reference value)
 
Basevector_base ()
 
void wipe ()
 
virtual ~Vectal ()
 

Static Public Attributes

static const char *const ID
 Class identification name with source code version and date. More...
 
static const char *const IMAGE_BANDS_PARAMETER_NAME = "BANDS"
 The name of the parameter used to obtain the image bands value. More...
 
static const char *const IMAGE_WIDTH_PARAMETER_NAME = "LINE_SAMPLES"
 The name of the parameter used to obtain the image width value. More...
 
static const char *const IMAGE_HEIGHT_PARAMETER_NAME = "LINES"
 The name of the parameter used to obtain the image height value. More...
 
static const char *const PIXEL_BYTES_PARAMETER_NAME = "SAMPLE_BITS"
 The name of the parameter used to obtain the pixel storage bytes value. More...
 
static const char *const PIXEL_BITS_PARAMETER_NAME = "SAMPLE_BIT_MASK"
 The name of the parameter used to obtain the valid pixel bits value. More...
 
static const char *const PIXEL_DATA_TYPE_PARAMETER_NAME = "SAMPLE_TYPE"
 The name of the parameter used to obtain the pixel data type values. More...
 
static const char *const UNSIGNED_PIXEL_TYPE_IDENTIFIER = "UNSIGNED"
 Substring of the PIXEL_DATA_TYPE_PARAMETER_NAME parameter that identifies an unsigned pixel value. More...
 
static const char *const SIGNED_PIXEL_TYPE_IDENTIFIER = "SIGNED"
 Substring of the PIXEL_DATA_TYPE_PARAMETER_NAME parameter that identifies a signed pixel value. More...
 
static const char *const LSB_PIXEL_TYPE_IDENTIFIER = "LSB"
 Substring of the PIXEL_DATA_TYPE_PARAMETER_NAME parameter that identifies an LSB ordered pixel. More...
 
static const char *const MSB_PIXEL_TYPE_IDENTIFIER = "MSB"
 Substring of the PIXEL_DATA_TYPE_PARAMETER_NAME parameter that identifies an MSB ordered pixel. More...
 
static const char *const LINE_PREFIX_BYTES_PARAMETER_NAME = "LINE_PREFIX_BYTES"
 The name of the parameter used to obtain the line prefix bytes value. More...
 
static const char *const LINE_SUFFIX_BYTES_PARAMETER_NAME = "LINE_SUFFIX_BYTES"
 The name of the parameter used to obtain the line suffix bytes value. More...
 
- Static Public Attributes inherited from PDS_Data_Block
static const char *const ID
 Class identification. More...
 
static const char * BLOCK_WIDTH_PARAMETER_NAME = "ROW_BYTES"
 Name of the parameter specifying the binary block row width in bytes. More...
 
static const char * BLOCK_HEIGHT_PARAMETER_NAME = "ROWS"
 Name of the parameter specifying the binary block height in rows. More...
 
- Static Public Attributes inherited from PDS_Data
static const char *const ID
 Class identification name with source code version and date. More...
 
static const char * PDS_ID_PARAMETER_NAME = "PDS_VERSION_ID"
 Name of the parameter providing the PDS ID. More...
 
static const char * RECORD_TYPE_PARAMETER_NAME = "RECORD_TYPE"
 Name of the parameter specifying the type of label records. More...
 
static const char * BYTE_RECORD_TYPE = "UNDEFINED"
 The record type used to define byte count based records. More...
 
static const char * FIXED_LENGTH_RECORD_TYPE = "FIXED_LENGTH"
 The record type used to define fixed length records. More...
 
static const char * LABEL_RECORDS_PARAMETER_NAME = "LABEL_RECORDS"
 Name of the parameter specifying the number of records in the label. More...
 
static const char * RECORD_BYTES_PARAMETER_NAME = "RECORD_BYTES"
 Name of the parameter specifying the number of bytes per record. More...
 
static const char * FILE_RECORDS_PARAMETER_NAME = "FILE_RECORDS"
 Name of the parameter specifying the number of records in the file. More...
 
static const char * INTERCHANGE_FORMAT_PARAMETER_NAME = "INTERCHANGE_FORMAT"
 Name of the parameter indicating the data format. More...
 
static const char * IMAGE_DATA_BLOCK_NAME = "IMAGE"
 Name of the Image_Data_Block parameter group. More...
 
static const char * BYTES_UNITS = "BYTES"
 Units name for storage measured in bytes. More...
 
static const char RECORD_POINTER_PARAMETER_MARKER = '^'
 Record pointer parameter prefix. More...
 
- Static Public Attributes inherited from Parameter
static const bool DEFAULT_CASE_SENSITIVITY
 
static const char DEFAULT_PATHNAME_DELIMITER
 
static const char *const ID
 
- Static Public Attributes inherited from Vectal_ID
static const char *const ID
 

Protected Member Functions

virtual unsigned long long data_block_size ()
 Calculate the size of the binary data block. More...
 
- Protected Member Functions inherited from Vectal< Parameter >
virtual void entering (pointer value_pointer)
 
virtual void removing (pointer value_pointer)
 

Additional Inherited Members

- Public Types inherited from PDS_Data
enum  Parameter_Class_Selection {
  AGGREGATE_PARAMETER = -1 ,
  ANY_PARAMETER = 0 ,
  ASSIGNMENT_PARAMETER = 1
}
 Selects the class of parameter to find. More...
 
typedef std::vector< PDS_Data_Block * > PDS_Data_Block_List
 A vector of PDS_Data_Block object pointers. More...
 
- Public Types inherited from Aggregate
typedef Parameter_List::const_iterator const_iterator
 
typedef Depth_Iterator depth_iterator
 
typedef Parameter_List::iterator iterator
 
typedef Vectal< ParameterParameter_List
 
- Public Types inherited from Parameter
enum  MODE
 
enum  MODE_STATE
 
enum  Type
 
enum  WHICH_MODE
 
typedef Integer Default_Value
 
- Public Types inherited from Vectal< Parameter >
typedef Base::allocator_type allocator_type
 
typedef std::vector< Parameter * > Base
 
typedef Base::const_iterator Base_const_iterator
 
typedef Base::const_reverse_iterator Base_const_reverse_iterator
 
typedef Base::iterator Base_iterator
 
typedef Base::reverse_iterator Base_reverse_iterator
 
typedef Const_Iterator const_iterator
 
typedef const pointer const_pointer
 
typedef const value_typeconst_reference
 
typedef Const_Reverse_Iterator const_reverse_iterator
 
typedef const value_type const_value_type
 
typedef Base::difference_type difference_type
 
typedef Iterator iterator
 
typedef value_typepointer
 
typedef value_typereference
 
typedef Reverse_Iterator reverse_iterator
 
typedef Base::size_type size_type
 
typedef Parameter value_type
 
- Static Public Member Functions inherited from PDS_Data
static Image_Data_Blockimage_data (PDS_Data_Block_List *data_block_list)
 Get the Image_Data_Block from a PDS_Data::PDS_Data_Block_List. More...
 
- Static Public Member Functions inherited from Aggregate
static Type default_type ()
 
static Type default_type (const int type)
 
- Static Public Member Functions inherited from Parameter
static bool case_sensitive ()
 
static bool case_sensitive (bool enable)
 
static char path_delimiter (const char delimiter)
 
static char path_delimiter ()
 
static std::string type_name (const Type type)
 
- Public Attributes inherited from Aggregate
 CASE_INSENSITIVE
 
 CASE_SENSITIVE
 
- Public Attributes inherited from Parameter
 Verbatim_Strings
 
 Indenting
 
 TOTAL_LOCAL_MODES
 
 MODE_FALSE
 
 MODE_TRUE
 
 MODE_INHERITED
 
 ASSIGNMENT
 
 TOKEN
 
 AGGREGATE
 
 GROUP
 
 OBJECT
 
 END
 
 END_GROUP
 
 END_OBJECT
 
 LOCAL_MODE_SET
 
 DEFAULT_MODE_SET
 
 RECURSIVE_MODE_SET
 
- Protected Attributes inherited from PDS_Data_Block
std::ios::off_type Location
 Offset location of the data block in the source file. More...
 
unsigned long long Size
 Size of the data block in bytes. More...
 
- Protected Attributes inherited from Parameter
std::string Comment
 
MODE_STATE Modes [TOTAL_LOCAL_MODES]
 
std::string Name
 
AggregateParent
 
- Static Protected Attributes inherited from Parameter
static bool Case_Sensitive
 
static MODE_STATE DEFAULT_MODES [TOTAL_LOCAL_MODES]
 
static char Path_Delimiter
 

Detailed Description

An Image_Data_Block describes PDS image data.

An Image_Data_Block is a PDS_Data_Block that specializes in describing PDS image data.

Author
Bradford Castalia, Drew Davidson and Ben Pearson, UA/HiROC
Version
1.13
See also
PDS_Data_Block

Constructor & Destructor Documentation

◆ Image_Data_Block() [1/3]

Constructs an empty Image_Data_Block.

◆ Image_Data_Block() [2/3]

Image_Data_Block ( const idaeim::PVL::Aggregate parameters,
std::ios::off_type  file_offset 
)

Constructs an Image_Data_Block for an IMAGE OBJECT.

Parameters
parametersParameter Aggregate describing the data block
file_offsetImage data block offset location in the source file.

References Image_Data_Block::data_block_size(), and PDS_Data_Block::Size.

◆ Image_Data_Block() [3/3]

Image_Data_Block ( const idaeim::PVL::Aggregate parameters,
const std::string &  filename 
)

Constructs an Image_Data_Block for an IMAGE OBJECT in a detached file.

Parameters
parametersParameter Aggregate describing the data block
filenameName of file containing the image.

References Image_Data_Block::data_block_size(), and PDS_Data_Block::Size.

Member Function Documentation

◆ image_bands()

unsigned int image_bands ( )
inline

Get the number of bands in the image.

The number of image bands is assumed to be 1 if it can not be determined from the IMAGE_BANDS_PARAMETER_NAME parameter.

Returns
The number of image bands.

Referenced by main(), and PDS_Converter::PDS_JP2_image_parameters().

◆ image_width()

unsigned int image_width ( )
inline

Get the width of the image.

Returns
The number of pixels in each line of the image. This will be zero if the value could not be determined from the IMAGE_WIDTH_PARAMETER_NAME parameter.

Referenced by HiPrecision_PDS_Converter::adjust_image_map_projection(), HiRISE_PDS_Converter::adjust_image_map_projection(), main(), and PDS_Converter::PDS_JP2_image_parameters().

◆ image_height()

unsigned int image_height ( )
inline

Get the height of the image.

Returns
The number of lines in the image. This will be zero if the value could not be determined from the IMAGE_HEIGHT_PARAMETER_NAME parameter.

Referenced by HiPrecision_PDS_Converter::adjust_image_map_projection(), HiRISE_PDS_Converter::adjust_image_map_projection(), main(), and PDS_Converter::PDS_JP2_image_parameters().

◆ pixel_bytes()

unsigned int pixel_bytes ( )
inline

Get the storage size of a pixel in bytes.

N.B.: The number of valid bits in a pixel may be less than the total number of bits in the pixel bytes used to store the pixel.

Returns
The number of storage bytes per pixel. This will be zero if the value could not be determined from the PIXEL_BYTES_PARAMETER_NAME parameter.

Referenced by main(), and PDS_Converter::PDS_JP2_image_parameters().

◆ pixel_bits()

unsigned int pixel_bits ( )
inline

Get the number valid bits (data precision) in a pixel.

If the number of bits per pixel can not be determined from the PIXEL_BITS_PARAMETER_NAME parameter the valid pixel bits are assumed to be all bits in the pixel bytes.

N.B.: The number of valid bits in a pixel may be less than the total number of bits in the pixel bytes used to store the pixel. The valid pixel bits occupy the least significant bits of the pixel bytes.

Returns
The number of valid bits in a pixel. This will be zero if neither the PIXEL_BITS_PARAMETER_NAME parameter could be found nor the bytes per pixel determined.

Referenced by main().

◆ signed_data()

int signed_data ( )
inline

Check if the pixel data is signed.

The signedness of the data is determined by identifying the UNSIGNED_PIXEL_TYPE_IDENTIFIER or SIGNED_PIXEL_TYPE_IDENTIFIER substring in the PIXEL_DATA_TYPE_PARAMETER_NAME parameter.

Returns
1 if the data is signed, -1 if unsigned, 0 if unknown.

Referenced by main().

◆ MSB_data()

int MSB_data ( )
inline

Determine if the pixel data is MSB ordered.

The data order is determined by identifying the LSB_PIXEL_TYPE_IDENTIFIER or MSB_PIXEL_TYPE_IDENTIFIER substring in the PIXEL_DATA_TYPE_PARAMETER_NAME parameter.

Returns
1 if the data is MSB ordered, -1 if LSB ordered, 0 if unknown.

Referenced by main().

◆ line_prefix_bytes()

unsigned int line_prefix_bytes ( )
inline

Get the number of line prefix bytes.

Returns
The number of bytes preceeding each image pixel data line. This will be zero if the value could not be determined from the LINE_PREFIX_BYTES_PARAMETER_NAME parameter.

Referenced by main().

◆ line_suffix_bytes()

unsigned int line_suffix_bytes ( )
inline

Get the number of line suffix bytes.

Returns
The number of bytes following each image pixel data line. This will be zero if the value could not be determined from the LINE_SUFFIX_BYTES_PARAMETER_NAME parameter.

Referenced by main().

◆ source_filename() [1/2]

std::string source_filename ( )

◆ source_filename() [2/2]

std::string source_filename ( std::string &  pathname)

◆ data_block_size()

unsigned long long data_block_size ( )
protectedvirtual

Member Data Documentation

◆ ID

const char *const ID
static
Initial value:
=
"UA::HiRISE::Image_Data_Block (1.14 2013/03/14 21:00:43)"

Class identification name with source code version and date.

◆ IMAGE_BANDS_PARAMETER_NAME

const char *const IMAGE_BANDS_PARAMETER_NAME = "BANDS"
static

The name of the parameter used to obtain the image bands value.

Referenced by Image_Data_Block::data_block_size().

◆ IMAGE_WIDTH_PARAMETER_NAME

const char *const IMAGE_WIDTH_PARAMETER_NAME = "LINE_SAMPLES"
static

The name of the parameter used to obtain the image width value.

Referenced by Image_Data_Block::data_block_size(), and Generic_PDS_Converter::write_PDS_label().

◆ IMAGE_HEIGHT_PARAMETER_NAME

const char *const IMAGE_HEIGHT_PARAMETER_NAME = "LINES"
static

The name of the parameter used to obtain the image height value.

Referenced by Image_Data_Block::data_block_size(), and Generic_PDS_Converter::write_PDS_label().

◆ PIXEL_BYTES_PARAMETER_NAME

const char *const PIXEL_BYTES_PARAMETER_NAME = "SAMPLE_BITS"
static

The name of the parameter used to obtain the pixel storage bytes value.

Referenced by Image_Data_Block::data_block_size().

◆ PIXEL_BITS_PARAMETER_NAME

const char *const PIXEL_BITS_PARAMETER_NAME = "SAMPLE_BIT_MASK"
static

The name of the parameter used to obtain the valid pixel bits value.

Referenced by Image_Data_Block::data_block_size().

◆ PIXEL_DATA_TYPE_PARAMETER_NAME

const char *const PIXEL_DATA_TYPE_PARAMETER_NAME = "SAMPLE_TYPE"
static

The name of the parameter used to obtain the pixel data type values.

Referenced by Image_Data_Block::data_block_size().

◆ UNSIGNED_PIXEL_TYPE_IDENTIFIER

const char *const UNSIGNED_PIXEL_TYPE_IDENTIFIER = "UNSIGNED"
static

Substring of the PIXEL_DATA_TYPE_PARAMETER_NAME parameter that identifies an unsigned pixel value.

Referenced by Image_Data_Block::data_block_size().

◆ SIGNED_PIXEL_TYPE_IDENTIFIER

const char *const SIGNED_PIXEL_TYPE_IDENTIFIER = "SIGNED"
static

Substring of the PIXEL_DATA_TYPE_PARAMETER_NAME parameter that identifies a signed pixel value.

Referenced by Image_Data_Block::data_block_size().

◆ LSB_PIXEL_TYPE_IDENTIFIER

const char *const LSB_PIXEL_TYPE_IDENTIFIER = "LSB"
static

Substring of the PIXEL_DATA_TYPE_PARAMETER_NAME parameter that identifies an LSB ordered pixel.

Referenced by Image_Data_Block::data_block_size().

◆ MSB_PIXEL_TYPE_IDENTIFIER

const char *const MSB_PIXEL_TYPE_IDENTIFIER = "MSB"
static

Substring of the PIXEL_DATA_TYPE_PARAMETER_NAME parameter that identifies an MSB ordered pixel.

Referenced by Image_Data_Block::data_block_size().

◆ LINE_PREFIX_BYTES_PARAMETER_NAME

const char *const LINE_PREFIX_BYTES_PARAMETER_NAME = "LINE_PREFIX_BYTES"
static

The name of the parameter used to obtain the line prefix bytes value.

Referenced by Image_Data_Block::data_block_size(), and Generic_PDS_Converter::write_PDS_label().

◆ LINE_SUFFIX_BYTES_PARAMETER_NAME

const char *const LINE_SUFFIX_BYTES_PARAMETER_NAME = "LINE_SUFFIX_BYTES"
static

The name of the parameter used to obtain the line suffix bytes value.

Referenced by Image_Data_Block::data_block_size(), and Generic_PDS_Converter::write_PDS_label().


The documentation for this class was generated from the following files: