#include <Labeling.h>
Public Member Functions | |
void | GetCenter (float &x, float &y) const |
void | GetCenterOfGravity (float &x, float &y) const |
void | GetMax (int &x, int &y) const |
void | GetMin (int &x, int &y) const |
int | GetNumOfPixels (void) const |
int | GetNumOfRasterSegments (void) |
RSPList & | GetRasterSegmentList (void) |
DstT | GetResult (void) const |
void | GetSize (int &x, int &y) const |
SrcT | GetSourceValue (void) const |
void | Pop (RasterSegment *&rs) |
void | Push (RasterSegment *rs) |
RegionInfo () | |
void | SetCenter (const float x, const float y) |
void | SetCenterOfGravity (const float x, const float y) |
void | SetMax (const int x, const int y) |
void | SetMin (const int x, const int y) |
void | SetMinMax (const int n_min_x, const int n_min_y, const int n_max_x, const int n_max_y) |
void | SetNumOfPixels (const int n_num_of_pixels) |
void | SetResult (const DstT n_result) |
void | SetSize (const int x, const int y) |
void | SetSourceValue (const SrcT n_source_value) |
~RegionInfo () | |
Private Attributes | |
float | center_x |
float | center_y |
float | gravity_x |
float | gravity_y |
int | max_x |
int | max_y |
int | min_x |
int | min_y |
int | num_of_pixels |
RSPList | raster_segment_list |
DstT | result |
int | size_x |
int | size_y |
SrcT | source_value |
Friends | |
bool | operator< (const RegionInfo &l, const RegionInfo &r) |
std::ostream & | operator<< (std::ostream &s, RegionInfo &ri) |
Definition at line 137 of file Labeling.h.
|
inline |
Definition at line 154 of file Labeling.h.
|
inline |
Definition at line 159 of file Labeling.h.
|
inline |
Definition at line 253 of file Labeling.h.
|
inline |
Definition at line 281 of file Labeling.h.
|
inline |
Definition at line 274 of file Labeling.h.
|
inline |
Definition at line 267 of file Labeling.h.
|
inline |
Definition at line 247 of file Labeling.h.
|
inline |
Definition at line 322 of file Labeling.h.
|
inline |
Definition at line 302 of file Labeling.h.
|
inline |
Definition at line 294 of file Labeling.h.
|
inline |
Definition at line 260 of file Labeling.h.
|
inline |
Definition at line 288 of file Labeling.h.
|
inline |
Definition at line 314 of file Labeling.h.
|
inline |
Definition at line 308 of file Labeling.h.
|
inline |
Definition at line 187 of file Labeling.h.
|
inline |
Definition at line 226 of file Labeling.h.
|
inline |
Definition at line 208 of file Labeling.h.
|
inline |
Definition at line 201 of file Labeling.h.
|
inline |
Definition at line 215 of file Labeling.h.
|
inline |
Definition at line 181 of file Labeling.h.
|
inline |
Definition at line 239 of file Labeling.h.
|
inline |
Definition at line 194 of file Labeling.h.
|
inline |
Definition at line 233 of file Labeling.h.
|
friend |
Definition at line 330 of file Labeling.h.
|
friend |
Definition at line 337 of file Labeling.h.
|
private |
Definition at line 141 of file Labeling.h.
|
private |
Definition at line 141 of file Labeling.h.
|
private |
Definition at line 149 of file Labeling.h.
|
private |
Definition at line 149 of file Labeling.h.
|
private |
Definition at line 144 of file Labeling.h.
|
private |
Definition at line 144 of file Labeling.h.
|
private |
Definition at line 143 of file Labeling.h.
|
private |
Definition at line 143 of file Labeling.h.
|
private |
Definition at line 140 of file Labeling.h.
|
private |
Definition at line 147 of file Labeling.h.
|
private |
Definition at line 146 of file Labeling.h.
|
private |
Definition at line 142 of file Labeling.h.
|
private |
Definition at line 142 of file Labeling.h.
|
private |
Definition at line 145 of file Labeling.h.