59 void SetSize(
const unsigned int component,
61 const unsigned int vector_dimension);
67 int Resize(
const unsigned int component,
69 const unsigned int vector_dimension,
70 const bool linear = 0);
75 const unsigned int num_components);
78 const unsigned int vector_dimension,
79 const int with_alpha_mask);
90 const unsigned int num_scales);
91 unsigned int GetNumScales(
const unsigned int component)
const;
112 int LODResize(
const unsigned int component,
113 const double pixel_size,
114 const bool linear = 0);
116 const double pixel_size,
117 const unsigned int vector_dimension,
118 const int with_alpha_mask);
125 double GetMax(
unsigned int component)
const;
126 double GetMin(
unsigned int component)
const;
155 const unsigned int tile_size,
161 int IsTransparent(
const unsigned int component,
const int index)
const;
171 &wavelet_transform_collection);
178 virtual void PrintSelf(
const int tabbing)
const;
224 const unsigned int tile_size)
const;
226 const unsigned int tile_number,
234 const unsigned int previous_inside);
244 for (
unsigned int component = 0; component < this->
Components.size();
247 this->
Components = std::vector<evVectorField *>();
250 this->
Components.resize(num_components, NULL);
254 for (
unsigned int component = 0; component < this->
AlphaMask.size();
257 this->
AlphaMask = std::vector<evAlphaField *>();
260 this->
AlphaMask.resize(num_components, NULL);
268 this->
ScaleInfo = std::vector<evFieldScaleInfo>();
307 const unsigned int vector_dimension)
315 this->
Components[component]->SetSize(size, vector_dimension);
321 this->
AlphaMask[component]->SetSize(size);
330 size = this->
Components[component]->GetSize();
339 unsigned int vector_dimension = 0;
343 return(vector_dimension);
392 const unsigned int num_scales)
395 this->
Components[component]->SetNumScales(num_scales);
397 this->
AlphaMask[component]->SetNumScales(num_scales);
417 evVector diff = upper_bound - lower_bound;
419 for (
unsigned int i = 0; i < diff.
Dimension(); i++)
421 std::max(((
int)(std::ceil(std::log(diff[i] + 1) * M_LOG2E) - 1)), 0);
void SetNumScales(const unsigned int component, const unsigned int num_scales)
Definition: evROI.h:391
int MakeOpaque(const unsigned int component)
evAddress Origin
Definition: evROI.h:193
int GetGridType(void) const
Definition: evROI.h:519
evFieldScaleInfo GetScaleInfo(const unsigned int component) const
Definition: evROI.h:477
unsigned int GetROINumber(void) const
Definition: evROI.h:373
int SegmentROI(const unsigned int roi_number, const evSegmentationMap &segmentation_map, evROIList &roi_list, const unsigned int tile_size) const
evBoundingBox GetBoundingBox(void) const
Definition: evROI.h:566
int LODCreateComponent(const unsigned int component, const double pixel_size, const unsigned int vector_dimension, const int with_alpha_mask)
unsigned int Dimension(void) const
Definition: evVector.h:149
int CodecHighestBitplane
Definition: evROI.h:218
int RasterScan(const unsigned int component, evROI &roi) const
void SetCurrentScale(unsigned int current_scale)
Definition: evROI.h:445
std::vector< evVectorField * > Components
Definition: evROI.h:207
evVector GetLowerBound(void) const
Definition: evBoundingBox.h:102
evAddress Size
Definition: evROI.h:194
int Copy(const evROI &roi)
std::vector< evAlphaField * > AlphaMask
Definition: evROI.h:210
int InverseTransform(const unsigned int component, const evWaveletTransform &wavelet_transform)
Definition: evProgressReporter.h:32
int GetHighestBitplane(unsigned int component) const
void IncrementCurrentBitplane(void)
Definition: evROI.h:439
int AddUniformGrid(const evBoundingBox &bounding_box)
void SetVisualizerProp(evVisualizerProp *visualizer_prop)
Definition: evROI.h:548
int Segment(const evSegmentationMap &segmentation_map, evROIList &roi_list, const unsigned int tile_size, evProgressReporter *progress_reporter=NULL) const
double GetMax(unsigned int component) const
unsigned int MaxNumScales
Definition: evROI.h:200
Definition: evAlphaField.h:31
double Min(void) const
Definition: evVector.h:437
void SetNumComponents(const unsigned int num_components)
Definition: evROI.h:238
void SetROINumber(const int roi_number)
Definition: evROI.h:367
unsigned int NumDimensions
Definition: evROI.h:192
int ExtractSubband(const unsigned int subband, evROI &roi) const
int Resize(const unsigned int component, const evAddress &size, const unsigned int vector_dimension, const bool linear=0)
evAlphaField * GetAlphaMask(unsigned int component) const
Definition: evROI.h:542
Definition: evVector.h:36
unsigned int CurrentScale
Definition: evROI.h:198
Definition: evAddress.h:37
void SetTileNumber(const int tile_number)
Definition: evROI.h:379
std::vector< evFieldScaleInfo > ScaleInfo
Definition: evROI.h:209
evROI * Next
Definition: evROI.h:213
int SegmentTile(const unsigned int roi_number, const unsigned int tile_number, const evAddress &origin, const evAddress &size, const evSegmentationMap &segmentation_map, evROIList &roi_list) const
evVector CodecThreshold
Definition: evROI.h:219
Definition: evBoundingBox.h:32
int GetCurrentLOD(void) const
Definition: evROI.h:483
void CalcMaxNumScales(void)
Definition: evROI.h:413
void SetOrigin(const evAddress &origin)
Definition: evROI.h:280
Definition: evVisualizerProp.h:32
evAddress GetBasebandSize(const unsigned int component) const
Definition: evDataObject.h:31
virtual void PrintSelf(const int tabbing) const
virtual const evString GetClassName(void) const
Definition: evROI.h:45
unsigned int GetVectorDimension(const unsigned int component) const
Definition: evROI.h:336
void SetBoundingBox(const evBoundingBox &bounding_box)
Definition: evROI.h:560
int CreateComponent(const unsigned int component, const evAddress &size, const unsigned int vector_dimension, const int with_alpha_mask)
int Composite(const unsigned int component, evVectorField &field) const
int MakeTransparent(const unsigned int component)
evAddress GetSize(void) const
Definition: evROI.h:299
int InverseRasterScan(const unsigned int component, evROI &roi) const
evVector GetUpperBound(void) const
Definition: evBoundingBox.h:114
void SetCurrentBitplane(unsigned int current_bitplane)
Definition: evROI.h:427
void CalcCurrentLOD(const double pixel_size)
unsigned int TileNumber
Definition: evROI.h:190
evROI * Previous
Definition: evROI.h:212
Definition: evFieldScaleInfo.h:37
unsigned int GetCurrentBitplane(void) const
Definition: evROI.h:433
evBoundingBox BoundingBox
Definition: evROI.h:195
void AddMean(unsigned int component, const evVector &mean)
Definition: evVectorField.h:32
static evString GridTypeName(const int grid_type)
int PreserveBaseband(void)
int CalcBoundingBox(void)
evVector GetMean(unsigned int component) const
static evROI * Create(const evAddress &size, const evAddress &origin, const int grid_type, const unsigned int num_components)
void SetNext(evROI *next)
Definition: evROI.h:489
void SegmentTileCopyInfo(const evROI &roi, const evAddress &address1, const evAddress &address2, const unsigned int previous_inside)
std::vector< unsigned int > VectorDimension
Definition: evROI.h:208
void SetPrevious(evROI *previous)
Definition: evROI.h:495
int GridType
Definition: evROI.h:203
double GetMin(unsigned int component) const
unsigned int GetTotalSize(unsigned int component) const
Definition: evROI.h:347
int IsTransparent(const unsigned int component, const int index) const
void SetGridType(const int grid_type)
Definition: evROI.h:513
unsigned int NumComponents
Definition: evROI.h:205
int CurrentLOD
Definition: evROI.h:201
Definition: evSegmentationMap.h:35
evVisualizerProp * GetVisualizerProp(void) const
Definition: evROI.h:554
unsigned int GetNumComponents(void) const
Definition: evROI.h:274
unsigned int GetNumDimensions(void) const
Definition: evAddress.h:148
void SetMaxNumScales(unsigned int max_num_scales)
Definition: evROI.h:457
evVector SubtractMean(unsigned int component)
double CalcGridSpacing(void) const
evAddress GetOrigin(void) const
Definition: evROI.h:286
evROI * GetNext(void) const
Definition: evROI.h:501
void SetSize(const evAddress &size)
Definition: evROI.h:292
int GetBasebandTotalSize(const unsigned int component) const
Definition: evROI.h:407
unsigned int ROINumber
Definition: evROI.h:189
unsigned int GetTileNumber(void) const
Definition: evROI.h:385
evVector GetGrid(const evAddress &grid_coordinates) const
int SubtractUniformGrid(const evBoundingBox &bounding_box)
unsigned int GetCurrentScale(void) const
Definition: evROI.h:451
evROI * GetPrevious(void) const
Definition: evROI.h:507
evVector CodecMean
Definition: evROI.h:217
unsigned int GetNumScales(const unsigned int component) const
Definition: evROI.h:401
Definition: evString.h:30
unsigned int CurrentBitplane
Definition: evROI.h:197
evVisualizerProp * VisualizerProp
Definition: evROI.h:215
void SetScaleInfo(const unsigned int component, const evFieldScaleInfo &scale_info)
Definition: evROI.h:469
Definition: evROIList.h:32
unsigned int GetMaxNumScales(void) const
Definition: evROI.h:463
int ForwardTransform(const unsigned int component, const evWaveletTransform &wavelet_transform)
evVectorField * GetComponent(unsigned int component) const
Definition: evROI.h:533
int LODResize(const unsigned int component, const double pixel_size, const bool linear=0)