24 #ifndef __evCodecSARL_h 25 #define __evCodecSARL_h 36 #define EVMAX_VECTOR_DIMENSION (sizeof(int)*8 - 2) 64 std::vector<std::vector<std::vector<evCodecSARLComponentInfo> > >
83 const unsigned int current_component,
86 const unsigned int current_scale_start,
87 const unsigned int current_scale_length,
96 unsigned int SetSign(
unsigned int current_sign,
97 const unsigned int vector_component)
const;
98 unsigned int ClearSign(
unsigned int current_sign,
99 const unsigned int vector_component)
const;
100 unsigned int GetSign(
const unsigned int current_sign,
101 const unsigned int vector_component)
const;
105 unsigned int SetDifference(
const unsigned int map_value)
const;
107 unsigned int GetDifference(
const unsigned int map_value)
const;
109 evROI *current_magnitudes,
110 const unsigned int current_component,
111 const unsigned int current_scale,
112 const unsigned int current_scale_start,
113 const unsigned int current_scale_length,
116 const unsigned int current_roi,
117 const unsigned int current_tile,
118 const unsigned int current_component,
119 const unsigned int current_bitplane,
120 const unsigned int current_scale,
121 const double current_priority);
123 evROI *current_magnitudes,
124 const unsigned int current_component,
125 const unsigned int current_scale_start,
126 const unsigned int current_scale_length,
129 evROI *current_magnitudes,
130 const unsigned int current_component,
131 const unsigned int current_scale_start,
132 const unsigned int current_scale_length,
134 int OutputRun(
const unsigned int runlength,
135 const unsigned int signs,
136 const unsigned int vector_dimension,
147 const unsigned int current_roi,
148 const unsigned int current_tile,
149 const unsigned int current_component,
152 const unsigned int current_scale_start,
153 const unsigned int current_scale_length,
156 const unsigned int current_roi,
157 const unsigned int current_tile,
158 const unsigned int current_component,
159 const unsigned int current_bitplane,
160 const unsigned int current_scale);
162 evROI *current_magnitudes,
163 const unsigned int current_component,
164 const unsigned int current_scale_start,
165 const unsigned int current_scale_length,
168 evROI *current_magnitudes,
169 const unsigned int current_component,
170 const unsigned int current_scale_start,
171 const unsigned int current_scale_length,
175 const unsigned int vector_dimension,
181 const unsigned int current_roi,
182 const unsigned int current_tile,
183 const unsigned int current_component);
186 const unsigned int current_component);
189 const unsigned int current_tile,
190 const unsigned int current_component);
202 const unsigned int vector_component)
205 return(map_value | (1 << vector_component));
210 const unsigned int vector_component)
213 return(map_value & (~(1 << vector_component)));
218 const unsigned int vector_component)
221 return((map_value >> vector_component) & 1);
Definition: evCodecEmbedded.h:36
unsigned int ClearSignificance(const unsigned int map_value) const
Definition: evCodecSARL.h:232
unsigned int ClearSign(unsigned int current_sign, const unsigned int vector_component) const
Definition: evCodecSARL.h:209
virtual ~evCodecSARL(void)
int ProcessLevelOfDetail(void)
unsigned int GetDifference(const unsigned int map_value) const
Definition: evCodecSARL.h:260
int DecodeRefinementPass(const double threshold, evROI *current_magnitudes, const unsigned int current_component, const unsigned int current_scale_start, const unsigned int current_scale_length, evBitBuffer &input_buffer)
int OutputRun(const unsigned int runlength, const unsigned int signs, const unsigned int vector_dimension, evBitBuffer &output_buffer) const
int DecodeEnhancementLayer(evBitBuffer &input_buffer, const unsigned int current_roi, const unsigned int current_tile, const unsigned int current_component, const unsigned int current_bitplane, const unsigned int current_scale)
evROIList * Magnitudes
Definition: evCodecSARL.h:61
Definition: evPrioritySchedule.h:36
Definition: evProgressReporter.h:32
unsigned int SetSign(unsigned int current_sign, const unsigned int vector_component) const
Definition: evCodecSARL.h:201
unsigned int GetSign(const unsigned int current_sign, const unsigned int vector_component) const
Definition: evCodecSARL.h:217
Definition: evAlphaField.h:31
int InputSymbol(int &symbol, evBitBuffer &input_buffer) const
Definition: evPriorityScheduleEntry.h:39
int ApplySigns(const evROI &magnitudes, evROI &coefficients, const unsigned int current_roi, const unsigned int current_tile, const unsigned int current_component)
#define EVMAX_VECTOR_DIMENSION
Definition: evCodecSARL.h:36
int DecodeStart(evBitBuffer &input_buffer, evDataset &dataset)
int EncodeMask(const evAlphaField &mask, const unsigned int current_scale_start, const unsigned int current_scale_length, evBitBuffer &output_buffer)
int EncodeSignificancePass(const double threshold, evROI *current_magnitudes, const unsigned int current_component, const unsigned int current_scale_start, const unsigned int current_scale_length, evBitBuffer &output_buffer)
unsigned int GetSignificance(const unsigned int map_value) const
Definition: evCodecSARL.h:239
int DecodeNext(evBitBuffer &input_buffer, evDataset &dataset)
Definition: evDataset.h:34
int EncodeStartROIComponent(evBitBuffer &output_buffer, evROI &coefficients, const unsigned int current_component, evProgressReporter *progress_reporter=NULL)
double CurrentPriority
Definition: evCodecSARL.h:68
int EncodeStart(evBitBuffer &output_buffer, evDataset &dataset, evProgressReporter *progress_reporter=NULL)
QccENTArithmeticModel * ArithmeticModel
Definition: evCodecSARL.h:63
unsigned int SetSignificance(const unsigned int map_value) const
Definition: evCodecSARL.h:225
int EncodeNext(evBitBuffer &output_buffer, const evDataset &dataset, evProgressReporter *progress_reporter=NULL)
Definition: evBoundingBox.h:32
unsigned int ClearDifference(const unsigned int map_value) const
Definition: evCodecSARL.h:253
int DecodeMask(evAlphaField &mask, const unsigned int current_scale_start, const unsigned int current_scale_length, evBitBuffer &input_buffer)
int DecodeAuxiliaryFiles(const evDataset &dataset)
int CopyMask(const evROI &magnitudes, evROI &coefficients, const unsigned int current_component)
int InputRun(int &runlength, unsigned int &signs, const unsigned int vector_dimension, evBitBuffer &input_buffer) const
int EncodeFinishEnhancementLayer(evBitBuffer &output_buffer, const unsigned int current_roi, const unsigned int current_tile, const unsigned int current_component, const unsigned int current_bitplane, const unsigned int current_scale, const double current_priority)
int EncodeEnd(evBitBuffer &output_buffer, const evDataset &dataset, evProgressReporter *progress_reporter=NULL)
int EncodeEnhancementLayer(evBitBuffer &output_buffer, evROI *current_magnitudes, const unsigned int current_component, const unsigned int current_scale, const unsigned int current_scale_start, const unsigned int current_scale_length, evProgressReporter *progress_reporter=NULL)
std::vector< std::vector< std::vector< evCodecSARLComponentInfo > > > ComponentInfo
Definition: evCodecSARL.h:65
evROIList * Coefficients
Definition: evCodecSARL.h:67
Definition: evBitBuffer.h:34
int EncodeStartROI(evBitBuffer &output_buffer, evROI &roi, evProgressReporter *progress_reporter=NULL)
virtual int DecodeHeader(evFile &infile, evDataset &dataset)
Definition: evCodecSARL.h:38
int OutputSymbol(int symbol, evBitBuffer &output_buffer) const
unsigned int SetDifference(const unsigned int map_value) const
Definition: evCodecSARL.h:246
virtual int Decode(evBitBuffer &input_buffer, evDataset &dataset, evProgressReporter *progress_reporter=NULL)
int DecodeReconstruct(evDataset &dataset)
virtual const evString GetClassName(void) const
Definition: evCodecSARL.h:44
int ExtractSigns(evROI &magnitudes)
int EncodeRefinementPass(const double threshold, evROI *current_magnitudes, const unsigned int current_component, const unsigned int current_scale_start, const unsigned int current_scale_length, evBitBuffer &output_buffer)
int DeactivateROI(const evPriorityScheduleEntry &entry)
Definition: evSegmentationMap.h:35
int DecodeStartROIComponent(evBitBuffer &input_buffer, const evDataset &dataset, const unsigned int current_roi, const unsigned int current_tile, const unsigned int current_component, const evBoundingBox ¤t_bounding_box)
Definition: evString.h:30
virtual int Encode(evBitBuffer &output_buffer, evDataset &dataset, evProgressReporter *progress_reporter=NULL)
int DecodeSignificancePass(const double threshold, evROI *current_magnitudes, const unsigned int current_component, const unsigned int current_scale_start, const unsigned int current_scale_length, evBitBuffer &input_buffer)
virtual int EncodeHeader(evFile &outfile, evDataset &dataset) const
evROI * CurrentReconstructed
Definition: evCodecSARL.h:69
int DecodeReconstructROI(const unsigned int current_roi, const unsigned int current_tile, const unsigned int current_component)
Definition: evROIList.h:32