CONTPARM Struct Reference

Raster contrast enhancement parameters. More...

#include <mi32/contparm.h>

List of all members.

Public Member Functions

void Clear ()
 CONTPARM (const CONTPARM &rhs)
 CONTPARM ()
void Copy (const CONTPARM &rhs, int size=0)
void FreeTableIfUnneeded ()
CONTPARMoperator= (const CONTPARM &rhs)
 ~CONTPARM ()

Public Attributes

UINT8 complexcomp
unsigned CompTable:1
double datainit
double datalast
double datasample
double dinplowlim
double dinpuprlim
unsigned HasNullVal:1
INT32 inode
UINT8 invert
unsigned IsConstant:1
void * itable
UINT8 ItemSize
unsigned LoadTable:1
INT16 mean
ANYRASTVALUE nullvalue
UINT16 NumItems
unsigned Out16Bit:1
UINT16 outconstant
UINT16 outgtmaxval
UINT16 outlowlim
UINT16 outltminval
UINT16 outnullval
UINT16 outuprlim
double power
UINT8 rastbits
UINT8 rasttype
unsigned SaveTable:1
INT16 stdevl
INT16 stdevr
UINT16 type
void * unused


Detailed Description

Raster contrast enhancement parameters.

THIS STRUCTURE IS USED IN DLL. Existing members may not be removed, reordered or changed in type. When adding new members: 1. Add at the end 2. Adjust Copy() method if necessary 3. Rebuild rvcapp DLL/library

Definition at line 84 of file contparm.h.


Constructor & Destructor Documentation

CONTPARM::CONTPARM  )  [inline]
 

Default constructor.

Ugly, but much faster

Definition at line 117 of file contparm.h.

CONTPARM::CONTPARM const CONTPARM rhs  )  [inline]
 

Copy constructor.

Definition at line 123 of file contparm.h.

CONTPARM::~CONTPARM  )  [inline]
 

Destructor.

Definition at line 135 of file contparm.h.


Member Function Documentation

void CONTPARM::Clear  )  [inline]
 

Clear the contrast structure.

Ugly, but much faster

Definition at line 149 of file contparm.h.

void CONTPARM::Copy const CONTPARM rhs,
int  size = 0
[inline]
 

Helper for copying with size limit for use in DLL.

Parameters:
rhs  Source to copy from
size  Maximum size to copy

Definition at line 156 of file contparm.h.

void CONTPARM::FreeTableIfUnneeded  )  [inline]
 

Free translation table if can perform transformation computationally with greater accuracy.

Definition at line 172 of file contparm.h.

CONTPARM& CONTPARM::operator= const CONTPARM rhs  )  [inline]
 

Assignment.

Definition at line 139 of file contparm.h.


Member Data Documentation

UINT8 CONTPARM::complexcomp
 

Component of complex raster to use.

Definition at line 97 of file contparm.h.

unsigned CONTPARM::CompTable
 

Flag - Compute new table using default parameters.

Definition at line 101 of file contparm.h.

double CONTPARM::datainit
 

Initial data value for table if > 8-bit.

Definition at line 112 of file contparm.h.

double CONTPARM::datalast
 

Final data value in table if > 8-bit.

Definition at line 113 of file contparm.h.

double CONTPARM::datasample
 

Sampling rate for data range.

Definition at line 114 of file contparm.h.

double CONTPARM::dinplowlim
 

Lower input limit for stretch.

Definition at line 92 of file contparm.h.

double CONTPARM::dinpuprlim
 

Upper input limit for stretch.

Definition at line 93 of file contparm.h.

unsigned CONTPARM::HasNullVal
 

Flag - Has "null" cell value.

Definition at line 101 of file contparm.h.

INT32 CONTPARM::inode
 

Contrast table inode.

Definition at line 106 of file contparm.h.

UINT8 CONTPARM::invert
 

Flag set if table is inverted.

Definition at line 89 of file contparm.h.

unsigned CONTPARM::IsConstant
 

Flag - Output constant value (in outconstant).

Definition at line 101 of file contparm.h.

void* CONTPARM::itable
 

Pointer to malloc()'d buffer holding table, freed in destructor.

Definition at line 98 of file contparm.h.

UINT8 CONTPARM::ItemSize
 

Table entry size.

Definition at line 90 of file contparm.h.

unsigned CONTPARM::LoadTable
 

Flag - Load table using .inode field.

Definition at line 101 of file contparm.h.

INT16 CONTPARM::mean
 

Definition at line 88 of file contparm.h.

ANYRASTVALUE CONTPARM::nullvalue
 

Definition at line 111 of file contparm.h.

UINT16 CONTPARM::NumItems
 

Number of table entries.

Definition at line 91 of file contparm.h.

unsigned CONTPARM::Out16Bit
 

Flag - Output 16-bit values.

Definition at line 101 of file contparm.h.

UINT16 CONTPARM::outconstant
 

Value to output if IsConstant bit set.

Definition at line 110 of file contparm.h.

UINT16 CONTPARM::outgtmaxval
 

Value to output if input > dinpuprlim.

Definition at line 108 of file contparm.h.

UINT16 CONTPARM::outlowlim
 

Definition at line 87 of file contparm.h.

UINT16 CONTPARM::outltminval
 

Value to output if input < dinplowlim.

Definition at line 107 of file contparm.h.

UINT16 CONTPARM::outnullval
 

Value to output if input = nullvalue && HasNullVal is set.

Definition at line 109 of file contparm.h.

UINT16 CONTPARM::outuprlim
 

Lower and upper output limits.

Definition at line 87 of file contparm.h.

double CONTPARM::power
 

Power for log/exp contrast.

Definition at line 94 of file contparm.h.

UINT8 CONTPARM::rastbits
 

Number of bits/cell in input raster.

Definition at line 96 of file contparm.h.

UINT8 CONTPARM::rasttype
 

Raster data type: RVFTYPE_xxxxx.

Definition at line 95 of file contparm.h.

unsigned CONTPARM::SaveTable
 

Flag - Save computed table under raster, set .inode.

Definition at line 101 of file contparm.h.

INT16 CONTPARM::stdevl
 

Definition at line 88 of file contparm.h.

INT16 CONTPARM::stdevr
 

Mean and st devs for normalization.

Definition at line 88 of file contparm.h.

UINT16 CONTPARM::type
 

Contrast table type (CTYPE_...).

Definition at line 86 of file contparm.h.

void* CONTPARM::unused
 

Definition at line 99 of file contparm.h.


The documentation for this struct was generated from the following file:
Generated on Tue Dec 14 13:19:41 2004 for TNTsdk by  doxygen 1.3.8-20040913