30#if defined _MSC_VER && _MSC_VER<1900
31inline double round(
double r) {
return (r > 0.0) ? floor(r + 0.5) : ceil(r - 0.5); }
35enum interpolation { NEAREST, BILINEAR, CUBIC, LANCZOS2, LANCZOS3 };
36enum cmap_type { HOT, COLD, JET, BLUE, GREEN, RED };
48 void LAB2sRGB(
unsigned char *in,
unsigned char *out );
62 void normalize(
RawTile& in,
const std::vector<float>& max,
const std::vector<float>& min );
149 void twist(
RawTile& in,
const std::vector< std::vector<float> >& ctw );
172 std::vector<unsigned int>
histogram(
RawTile& in,
const std::vector<float>& max,
const std::vector<float>& min );
Class to represent a single image tile.
Definition: RawTile.h:47