Index mapping with arbitrary pixel size. Continua...
#include <cart.h>
Membri pubblici | |
void | sample (unsigned beam_count, unsigned x, unsigned y, std::function< void(unsigned, unsigned)> &f) |
Generate all the (azimuth, range) indices corresponding to a map point. Continua... | |
void | map_max_sample (const PolarScan< double > &scan, const FullsizeIndexMapping &mapping) |
Map cartesian cardinates to polar volume indices. Continua... | |
template<typename T > | |
void | to_cart_average (const PolarScan< double > &src, std::function< T(const std::vector< double > &)> &convert, Matrix2D< T > &dst) const |
Fill the cartesian map dst with the output of the function src(azimuth, range) Continua... | |
![]() | |
template<typename SRC , typename DST > | |
void | to_cart (const PolarScan< SRC > &src, Matrix2D< DST > &dst) const |
Copy data from the polar scan src to the cartesian map dst. Continua... | |
template<typename T > | |
void | to_cart (const std::function< T(unsigned, unsigned)> &src, Matrix2D< T > &dst) const |
Fill the cartesian map dst with the output of the function src(azimuth, range) Continua... | |
Attributi pubblici | |
int | image_offset |
Image offset in full size pixels. Continua... | |
![]() | |
Matrix2D< unsigned > | map_azimuth |
Azimuth indices to use to lookup a map point in a volume -1 means no mapping. Continua... | |
Matrix2D< unsigned > | map_range |
Range indices to use to lookup a map point in a volume -1 means no mapping. Continua... | |
Altri membri ereditati | |
![]() | |
static const unsigned | missing = 0xffffffff |
Missing value in the azimuth and range index mappings. Continua... | |
Index mapping with arbitrary pixel size.
The scaled image will still be a square image, and its side must be a divisor of the full image size (beam_size * 2).