The sectors represent areas where the data are similar.
Works with RadialSet and LatLonGrid
Public Member Functions | |
| VQSectorization (int maxiter=5, int min_sector_size=100, int max_sector_size=1000, code::SmartPtr< DistanceFunction > distFunc=new SimpleDistanceFunction()) | |
| You can use the SimpleDistanceFunction in this class or supply your own. | |
| T | sectorize (const std::vector< T > &data) |
| The data have to be scaled in the range 0-1. | |
Classes | |
| class | DistanceFunction |
| struct | Pixel |
| class | SimpleDistanceFunction |
| w2img::VQSectorization< T >::VQSectorization | ( | int | maxiter = 5, |
|
| int | min_sector_size = 100, |
|||
| int | max_sector_size = 1000, |
|||
| code::SmartPtr< DistanceFunction > | distFunc = new SimpleDistanceFunction() | |||
| ) |
You can use the SimpleDistanceFunction in this class or supply your own.
| T w2img::VQSectorization< T >::sectorize | ( | const std::vector< T > & | data | ) |
The data have to be scaled in the range 0-1.
Pixels that are missing from *any* field will not be used. If you don't want this behavior, replace MissingData with 0 or something.
1.4.7