Classes | |
class | Array2dTem |
class | ArrayPool |
Deprecated class, to be removed. More... | |
class | ArraySet |
class | ArraySystem |
class | ColorMoment |
class | ColorMoments |
class | pixgroup |
class | ImageArchive |
class | ImageArchiveFile |
class | ImageArchiveFileFset |
class | ImageArchiveMapi |
class | ImageArchiveMemory |
struct | complex |
class | Octaves |
class | Statistics |
class | TestEquals |
class | TestMakeRandom |
Namespaces | |
namespace | Element |
namespace | Pattern |
namespace | Trait |
Typedefs | |
typedef Array2dTem< Int8, 1, Int32 > | Array2dScalarInt8 |
typedef Array2dTem< UInt8, 1, Int32 > | Array2dScalarUInt8 |
typedef Array2dTem< Int32, 1, Int32 > | Array2dScalarInt32 |
typedef Array2dTem< UInt64, 1, UInt64 > | Array2dScalarUInt64 |
typedef Array2dTem< Real64, 1, Real64 > | Array2dScalarReal64 |
typedef Array2dTem< UInt8, 3, Vec3Int32 > | Array2dVec3UInt8 |
typedef Array2dTem< Real64, 3, Vec3Real64 > | Array2dVec3Real64 |
typedef Array2dTem< Real64, 2, Vec2Real64 > | Array2dVec2Real64 |
typedef Array2dTem< Real64, 2, Complex64 > | Array2dComplex64 |
typedef Impala::Core::Vector::VectorTem< double > | VectorDouble |
typedef Impala::Core::Matrix::MatrixTem< double > | MatrixDouble |
Enumerations | |
enum | ArrayType { ARRAY2DSCALARUINT8, ARRAY2DSCALARUINT64, ARRAY2DSCALARINT32, ARRAY2DSCALARREAL64, ARRAY2DVEC3UINT8, ARRAY2DVEC3REAL64, ARRAY2DVEC2REAL64, ARRAY2DCOMPLEX64, ARRAY2DUNKNOWN } |
Enumeration to denote the type of an array. More... | |
enum | ColorSegmentationAlgorithm { Texture, TextureAddZero, OnlyZero } |
enum | ColorSegmentationInvariant { E, W, C, Ci } |
enum | states { EMPTY, SEQ_CREAT, SEQ_VALID, DYING, SEQ_PART, SEQ_FULL, PAR_PART, PAR_FULL, NOT_REDUCED } |
Functions | |
template<class DstArrayT, class SrcArrayT> | |
void | Abs (DstArrayT *&dst, SrcArrayT *src) |
template<class DstArrayT, class Src1ArrayT, class Src2ArrayT> | |
void | Add (DstArrayT *&dst, Src1ArrayT *src1, Src2ArrayT *src2) |
template<class DstArrayT, class Src1ArrayT, class Src2ArrayT> | |
void | AddSquared (DstArrayT *&dst, Src1ArrayT *src1, Src2ArrayT *src2) |
template<class DstArrayT, class SrcArrayT> | |
void | AddVal (DstArrayT *&dst, SrcArrayT *src, typename SrcArrayT::ArithType val) |
static void | TriggsM (double *filter, double *M) |
static void | f_iir_xline_filter (SRCTYPE *src, DSTTYPE *dest, int sx, int sy, double *filter) |
static void | f_iir_yline_filter (DSTTYPE *src, DSTTYPE *dest, int sx, int sy, double *filter) |
static void | f_iir_tline_filter (DSTTYPE *src, DSTTYPE *dest, int sx, int sy, double *filter, double tanp) |
static void | f_iir_derivative_filter (DSTTYPE *src, DSTTYPE *dest, int sx, int sy, double phi, int order) |
void | YvVfilterCoef (double sigma, double *filter) |
static void | anigauss (SRCTYPE *input, DSTTYPE *output, int sizex, int sizey, double sigmav, double sigmau, double phi, int orderv, int orderu) |
void | AniGauss (Array2dScalarReal64 *&dst, Array2dScalarReal64 *src, Real64 sigmaV, Real64 sigmaU, Real64 phi, int orderV, int orderU) |
Anisotropic gaussian filtering. | |
std::ostream & | operator<< (std::ostream &os, UInt8 v) |
template<class ArrayT> | |
std::ostream & | ArrayPrintElem (std::ostream &os, ArrayT *array, typename ArrayT::StorType *ptr) |
template<class ArrayT> | |
ArrayT * | ArrayCreate (Int64 cw, Int64 ch, Int64 bw=0, Int64 bh=0, typename ArrayT::StorType *data=0, bool isWrapper=false) |
template<class DstArrayT, class SrcArrayT> | |
DstArrayT * | ArrayClone (SrcArrayT *src, Int64 minimalBW=0, Int64 minimalBH=0) |
template<class ArrayT> | |
void | ArrayListDelete (std::vector< ArrayT * > *lst) |
template<class ArrayT> | |
ArrayT::StorType * | ArrayListExport (const std::vector< ArrayT * > &list) |
ILOG_VAR_INIT (ArraySystem, Impala.Core.Array) | |
template<class DstArrayT, class Src1ArrayT, class Src2ArrayT> | |
void | Atan2 (DstArrayT *&dst, Src1ArrayT *src1, Src2ArrayT *src2) |
template<class ArrayT> | |
ArrayT * | CheckBorderSize (ArrayT *a, int reqBW, int reqBH) |
std::vector< Array2dScalarReal64 * > | ColorGaborResponses (Array2dVec3Real64 *im, ColorSegmentationAlgorithm segAlg, ColorSegmentationInvariant invariantType, int nrScales, double *scales, double *freqs, int nrOrient) |
std::vector< Array2dScalarReal64 * > | ColorGaborResponses (Array2dVec3Real64 *im, ColorSegmentationAlgorithm segAlg, ColorSegmentationInvariant invariantType) |
std::vector< Array2dScalarReal64 * > | ColorGaussResponses (Array2dVec3Real64 *im) |
Real64 | SB (int p, int q, char band, int degree) |
Real64 | DB (int p, int q, std::string band, int degree1, int degree2) |
Real64 | B02 (char band) |
Real64 | B12 (char band) |
Real64 | C02 (std::string band) |
Real64 | C02tilde (std::string band) |
Real64 | C11 (std::string band) |
Real64 | C12_1 (std::string band) |
Real64 | C12_2 (std::string band) |
Real64 | C12_3 (std::string band) |
Real64 | C12_4 (std::string band) |
void | ColorMoments (Array2dScalarReal64 *&CMInvariants, Array2dVec3UInt8 *rgb, int order, int degree, bool blur=true, double sigma=10.0) |
void | labelimg (unsigned char *dst, const VectorDouble &imap, int width, int height) |
void | updateMean (MatrixDouble &m, pixgroup &rg, long inew) |
void | extractRegions (pixgroup *rg, int nrClusters, const VectorDouble &clusterMap, const MatrixDouble &m) |
double | regionDistance (pixgroup &u, pixgroup &v) |
void | rgmerge (pixgroup &toMerge, pixgroup ®ion, const MatrixDouble &m) |
void | mergeRegions (pixgroup *rg, int nrClusters, const VectorDouble &clusterMap, const MatrixDouble &m, int width, int height, double threshold) |
void | relabel (VectorDouble &clusterMap, int width, int height, pixgroup *rg, int &nrClusters, int numpixrm, long sizethreshold) |
void | refinery (VectorDouble &clusterMap, MatrixDouble &m, pixgroup *rg, int nrClusters, int width, int height) |
void | ColorSegmentation (Array2dVec3UInt8 *&dst, Array2dVec3Real64 *im, ColorSegmentationAlgorithm segAlg, ColorSegmentationInvariant invariantType, double minRegionFraction, double threshold, bool useGauss=false, std::vector< Array2dVec3UInt8 * > *dispList=0) |
template<class DstArrayT, class SrcArrayT> | |
void | ColorSpace (DstArrayT *&dst, SrcArrayT *src, Element::ColorModel fromColorSpace, Element::ColorModel toColorSpace) |
template<class DstArrayT, class SrcArrayT, class KerArrayT> | |
void | ConvKernel1d (DstArrayT *&dst, SrcArrayT *src, int dimension, KerArrayT *ker) |
template<class DstArrayT, class SrcArrayT, class KerArrayT> | |
void | ConvKernelSeparated (DstArrayT *&dst, SrcArrayT *src, KerArrayT *kerx, KerArrayT *kery, int vType=6, Util::TimePlot *plotter=0) |
template<class DstArrayT, class SrcArrayT, class KerArrayT> | |
void | Dilation (DstArrayT *&dst, SrcArrayT *src, KerArrayT *ker) |
template<class DstArrayT, class Src1ArrayT, class Src2ArrayT> | |
void | Div (DstArrayT *&dst, Src1ArrayT *src1, Src2ArrayT *src2) |
template<class DstArrayT, class SrcArrayT> | |
void | DivVal (DstArrayT *&dst, SrcArrayT *src, typename SrcArrayT::ArithType val) |
template<class DstArrayT, class SrcArrayT> | |
void | Endian (DstArrayT *&dst, SrcArrayT *src) |
template<class DstArrayT, class Src1ArrayT, class Src2ArrayT> | |
void | Equals (DstArrayT *&dst, Src1ArrayT *src1, Src2ArrayT *src2) |
Pixel level Equals returns an image with for each pixel the equality of the corresponding pixels in the input images. | |
template<class ArrayT1, class ArrayT2> | |
bool | Equals (ArrayT1 *src1, ArrayT2 *src2, double tolerance) |
Image level Equals return true if the two input images are equal. | |
template<class ArrayT1, class ArrayT2> | |
bool | Equals (ArrayT1 *src1, ArrayT2 *src2) |
Image level Equals return true if the two input images are equal. | |
template<class DstArrayT, class SrcArrayT> | |
void | EqualsVal (DstArrayT *&dst, SrcArrayT *src, typename SrcArrayT::ArithType val) |
Determines where the SrcArray has a specific value. | |
template<class DstArrayT, class SrcArrayT, class KerArrayT> | |
void | Erosion (DstArrayT *&dst, SrcArrayT *src, KerArrayT *ker) |
template<class DstArrayT, class SrcArrayT> | |
void | Exp (DstArrayT *&dst, SrcArrayT *src) |
void | ExportMatlab (double *mData, Array2dScalarReal64 *im) |
bool * | FilterElemLess (Array2dScalarReal64 *array, int column, double value) |
This function returns an array of bools, i.e. | |
template<class DstArrayT, class SrcArrayT> | |
void | GaussDerivative (DstArrayT *&dst, SrcArrayT *src, double sigma, int orderDerivx, int orderDerivy, double truncation) |
template<class DstArrayT, class SrcArrayT> | |
void | GaussDerivative (DstArrayT *&dst, SrcArrayT *src, double sx, double sy, int orderDerivx, int orderDerivy, double truncation) |
template<class DstArrayT, class SrcArrayT> | |
void | GaussDerivativeVec3 (DstArrayT *&dst, SrcArrayT *src, double sigma, int orderDerivx, int orderDerivy, double truncation) |
template<class DstArrayT, class SrcArrayT> | |
void | GaussDerivative2d (DstArrayT *&dst, SrcArrayT *src, double sx, double sy, double phi, int der, double n) |
template<class DstArrayT, class SrcArrayT> | |
void | GeodesicDistanceTransform (DstArrayT *&dst, SrcArrayT *src, int conn) |
GeodesicDistanceTransform based on Luc Vincent's algorithm. | |
template<class ArrayT> | |
void | GetRgbPixels (ArrayT *src, UInt8 *pixels, std::string displayMode, int resWidth=-1, int resHeight=-1, Geometry::GeoIntType gi=Geometry::NEAREST) |
template<class ArrayT> | |
void | GetRgbPixelsLM (ArrayT *src, UInt8 *pixels, Real64 logScale, int resWidth=-1, int resHeight=-1, Geometry::GeoIntType gi=Geometry::NEAREST) |
template<class ArrayT> | |
void | GetRgbPixelsSt (ArrayT *src, UInt8 *pixels, Real64 lowVal, Real64 highVal, int resWidth=-1, int resHeight=-1, Geometry::GeoIntType gi=Geometry::NEAREST) |
template<class DstArrayT, class Src1ArrayT, class Src2ArrayT> | |
void | GreaterThan (DstArrayT *&dst, Src1ArrayT *src1, Src2ArrayT *src2) |
template<class DstArrayT, class SrcArrayT> | |
void | GreaterThanVal (DstArrayT *&dst, SrcArrayT *src, typename SrcArrayT::ArithType val) |
template<class DstArrayT, class SrcArrayT> | |
void | Harris (DstArrayT *&dst, SrcArrayT *Lx2, SrcArrayT *Ly2, SrcArrayT *LxLy, Real64 sigmaA, Real64 k, bool useRecGauss=false) |
template<class DstArrayT, class SrcArrayT> | |
void | Harris (DstArrayT *&dst, SrcArrayT *Lx, SrcArrayT *Ly, Real64 sigmaA, Real64 k, bool useRecGauss=false) |
template<class DstArrayT, class SrcArrayT> | |
void | Harris (DstArrayT *&dst, SrcArrayT *Lx, SrcArrayT *Ly, SrcArrayT *Lxd2, SrcArrayT *Lyd2, Real64 sigmaA, Real64 k, bool useRecGauss=false) |
template<class DstArrayT, class SrcArrayT> | |
void | Harris (DstArrayT *&dst, SrcArrayT *Lx, SrcArrayT *Ly, SrcArrayT *Lxd2, SrcArrayT *Lyd2, SrcArrayT *Lxd3, SrcArrayT *Lyd3, Real64 sigmaA, Real64 k, bool useRecGauss=false) |
template<class ArrayT> | |
void | HarrisObj (ArrayT *&dst, const std::vector< ArrayT * > &rgbList, double sigmaA, double k, bool useRecGauss=false) |
template<class ArrayT> | |
void | HarrisSperical (ArrayT *&dst, const std::vector< ArrayT * > &rgbList, double sigmaA, double k, bool useRecGauss=false) |
template<class ArrayT> | |
void | HarrisOpponent (ArrayT *&dst, const std::vector< ArrayT * > &rgbList, double sigmaA, double k, bool useRecGauss=false) |
template<class ArrayT> | |
void | HarrisRGB (ArrayT *&dst, const std::vector< ArrayT * > &rgbList, double sigmaA, double k, bool useRecGauss=false) |
ILOG_VAR_INIT (ImageArchive, Impala.Core.Array) | |
template<class Archive1T, class Archive2T> | |
int | ImageArchiveDiff (Archive1T *ar1, Archive2T *ar2) |
ILOG_VAR_INIT (ImageArchiveFile, Impala.Core.Array) | |
ILOG_VAR_INIT (ImageArchiveFileFset, Impala.Core.Array) | |
ILOG_VAR_INIT (ImageArchiveMapi, Impala.Core.Array) | |
ILOG_VAR_INIT (ImageArchiveMemory, Impala.Core.Array) | |
void | IntegrateReduceLine (Array::Array2dScalarReal64 *&dst, Array::Array2dScalarReal64 *src, int n, int y) |
this function is a subroutine of IntegrateReduce() | |
void | IntegrateReduce (Array::Array2dScalarReal64 *&dst, Array::Array2dScalarReal64 *src, int n) |
src is reduced in such a way that a pixel in the returned image contains the sum of a n by n block of pixels in src | |
void | IntegrateReduceLineWeighted (Array::Array2dScalarReal64 *&dst, Array::Array2dScalarReal64 *src, int n, int dstY, int srcY, double weight) |
this is a subroutine of IntegrateReduceWeighted, note that the reduced regions overlap, that's where the funny pointer loop comes from. | |
void | IntegrateReduceWeighted (Array::Array2dScalarReal64 *&dst, Array::Array2dScalarReal64 *src, int n) |
like the function above, but uses weights 1/3 2/3 1 . | |
template<class DstArrayT, class SrcArrayT> | |
void | InvANG2w (DstArrayT *&dst, SrcArrayT *s1, SrcArrayT *s2, SrcArrayT *s3, SrcArrayT *s4, SrcArrayT *s5, SrcArrayT *s6, SrcArrayT *s7, SrcArrayT *s8, SrcArrayT *s9) |
template<class ArrayT> | |
void | InvANG2w (ArrayT *&dst, const std::vector< ArrayT * > &rgbList) |
template<class DstArrayT, class SrcArrayT> | |
void | InvANGw (DstArrayT *&dst, SrcArrayT *s1, SrcArrayT *s2, SrcArrayT *s3, SrcArrayT *s4, SrcArrayT *s5, SrcArrayT *s6, SrcArrayT *s7, SrcArrayT *s8, SrcArrayT *s9) |
template<class ArrayT> | |
void | InvANGw (ArrayT *&dst, const std::vector< ArrayT * > &rgbList) |
std::vector< Array2dScalarReal64 * > | InvCompDer (Array2dScalarReal64 *src, double sigma, double precision, bool useRecGauss=false) |
Computes L, Lx, Ly, Lxx, Lxy, and Lyy at scale sigma of the scalar src image. | |
std::vector< Array2dScalarReal64 * > | InvCompDer (Array2dVec3Real64 *src, double sigma, double precision, bool useRecGauss=false) |
Computes L, Lx, and Ly at scale sigma for each component of the src image. | |
template<class DstArrayT, class SrcArrayT> | |
void | InvCw (DstArrayT *&dst, SrcArrayT *s1, SrcArrayT *s2, SrcArrayT *s3, SrcArrayT *s4, SrcArrayT *s5, SrcArrayT *s6, SrcArrayT *s7, SrcArrayT *s8, SrcArrayT *s9, typename SrcArrayT::ArithType scale) |
template<class ArrayT> | |
void | InvCw (ArrayT *&dst, const std::vector< ArrayT * > &eList, typename ArrayT::ArithType scale) |
template<class DstArrayT, class SrcArrayT> | |
void | InvCw_log (DstArrayT *&dst, SrcArrayT *s1, SrcArrayT *s2, SrcArrayT *s3, SrcArrayT *s4, SrcArrayT *s5, SrcArrayT *s6, SrcArrayT *s7, SrcArrayT *s8, SrcArrayT *s9, typename SrcArrayT::ArithType scale) |
template<class ArrayT> | |
void | InvCw_log (ArrayT *&dst, const std::vector< ArrayT * > &eList, typename ArrayT::ArithType scale) |
template<class ArrayT> | |
void | InvCxy (ArrayT *&Clx, ArrayT *&Cly, ArrayT *&Cllx, ArrayT *&Clly, const std::vector< ArrayT * > &eList) |
template<class DstArrayT, class SrcArrayT> | |
void | InvEw (DstArrayT *&dst, SrcArrayT *s1, SrcArrayT *s2, SrcArrayT *s3, SrcArrayT *s4, SrcArrayT *s5, SrcArrayT *s6) |
template<class ArrayT> | |
void | InvEw (ArrayT *&dst, const std::vector< ArrayT * > &eList) |
template<class ArrayT> | |
std::vector< ArrayT * > | InvHsiDer (std::vector< ArrayT * > src) |
input: R, Rx, Ry, G, Gx, Gy, B, Bx, and By. | |
template<class DstArrayT, class SrcArrayT> | |
void | InvHUEw (DstArrayT *&dst, SrcArrayT *s1, SrcArrayT *s2, SrcArrayT *s3, SrcArrayT *s4, SrcArrayT *s5, SrcArrayT *s6, SrcArrayT *s7, SrcArrayT *s8, SrcArrayT *s9) |
template<class ArrayT> | |
void | InvHUEw (ArrayT *&dst, const std::vector< ArrayT * > &rgbList) |
template<class DstArrayT, class SrcArrayT> | |
void | InvHw (DstArrayT *&dst, SrcArrayT *s1, SrcArrayT *s2, SrcArrayT *s3, SrcArrayT *s4, SrcArrayT *s5, SrcArrayT *s6, SrcArrayT *s7, SrcArrayT *s8, SrcArrayT *s9, typename SrcArrayT::ArithType scale) |
template<class ArrayT> | |
void | InvHw (ArrayT *&dst, const std::vector< ArrayT * > &eList, typename ArrayT::ArithType scale) |
template<class DstArrayT, class SrcArrayT> | |
void | InvHw_log (DstArrayT *&dst, SrcArrayT *s1, SrcArrayT *s2, SrcArrayT *s3, SrcArrayT *s4, SrcArrayT *s5, SrcArrayT *s6, SrcArrayT *s7, SrcArrayT *s8, SrcArrayT *s9, typename SrcArrayT::ArithType scale) |
template<class ArrayT> | |
void | InvHw_log (ArrayT *&dst, const std::vector< ArrayT * > &eList, typename ArrayT::ArithType scale) |
template<class DstArrayT, class SrcArrayT> | |
void | InvJOSAw (DstArrayT *&dst, SrcArrayT *s1, SrcArrayT *s2, SrcArrayT *s3, SrcArrayT *s4, SrcArrayT *s5, SrcArrayT *s6, SrcArrayT *s7, SrcArrayT *s8, SrcArrayT *s9) |
template<class ArrayT> | |
void | InvJOSAw (ArrayT *&dst, const std::vector< ArrayT * > &rgbList) |
template<class DstArrayT, class SrcArrayT> | |
void | InvLvvLw2 (DstArrayT *&dst, SrcArrayT *s1, SrcArrayT *s2, SrcArrayT *s3, SrcArrayT *s4, SrcArrayT *s5, SrcArrayT *s6) |
template<class ArrayT> | |
void | InvLvvLw2 (ArrayT *&dst, const std::vector< ArrayT * > &lList) |
template<class DstArrayT, class SrcArrayT> | |
void | InvNw (DstArrayT *&dst, SrcArrayT *s1, SrcArrayT *s2, SrcArrayT *s3, SrcArrayT *s4, SrcArrayT *s5, SrcArrayT *s6, SrcArrayT *s7, SrcArrayT *s8, SrcArrayT *s9, typename SrcArrayT::ArithType scale) |
template<class ArrayT> | |
void | InvNw (ArrayT *&dst, const std::vector< ArrayT * > &eList, typename ArrayT::ArithType scale) |
template<class DstArrayT, class SrcArrayT> | |
void | InvNw_log (DstArrayT *&dst, SrcArrayT *s1, SrcArrayT *s2, SrcArrayT *s3, SrcArrayT *s4, SrcArrayT *s5, SrcArrayT *s6, SrcArrayT *s7, SrcArrayT *s8, SrcArrayT *s9, typename SrcArrayT::ArithType scale) |
template<class ArrayT> | |
void | InvNw_log (ArrayT *&dst, const std::vector< ArrayT * > &eList, typename ArrayT::ArithType scale) |
template<class DstArrayT, class SrcArrayT> | |
void | InvOBw (DstArrayT *&dst, SrcArrayT *s1, SrcArrayT *s2, SrcArrayT *s3, SrcArrayT *s4, SrcArrayT *s5, SrcArrayT *s6, SrcArrayT *s7, SrcArrayT *s8, SrcArrayT *s9) |
template<class ArrayT> | |
void | InvOBw (ArrayT *&dst, const std::vector< ArrayT * > &rgbList) |
template<class ArrayT> | |
std::vector< ArrayT * > | InvOpponentDer (std::vector< ArrayT * > &src) |
input: R, Rx, Ry, G, Gx, Gy, B, Bx, and By. | |
std::vector< Array2dScalarReal64 * > | InvQuasi (Array2dVec3Real64 *src, double sigma, double precision) |
input:
| |
template<class DstArrayT, class SrcArrayT> | |
void | InvRGBw (DstArrayT *&dst, SrcArrayT *s1, SrcArrayT *s2, SrcArrayT *s3, SrcArrayT *s4, SrcArrayT *s5, SrcArrayT *s6, SrcArrayT *s7, SrcArrayT *s8, SrcArrayT *s9) |
template<class ArrayT> | |
void | InvRGBw (ArrayT *&dst, const std::vector< ArrayT * > &rgbList) |
template<class ArrayT> | |
std::vector< ArrayT * > | InvSphericalDer (std::vector< ArrayT * > src) |
input: R, Rx, Ry, G, Gx, Gy, B, Bx, and By. | |
std::vector< Array2dScalarReal64 * > | InvWCxy (Array2dVec3UInt8 *rgb, double derivativeSigma) |
std::vector< Array2dScalarReal64 * > | InvWiccest (Array2dVec3UInt8 *rgb, double derivativeSigma) |
void | InvWiccest (ArraySet< Array2dScalarReal64 > &res, Array2dVec3Real64 *ooo, Array2dVec3Real64 *ooot, bool doRotation, bool doC, double sigma, double precision, bool useRecGauss) |
void | InvWiccest (ArraySet< Array2dScalarReal64 > &res, Array2dVec3UInt8 *rgb, bool doRotation, bool doC, double sigma, double precision, bool useRecGauss) |
template<class DstArrayT, class SrcArrayT> | |
void | InvWw (DstArrayT *&dst, SrcArrayT *s1, SrcArrayT *s2, SrcArrayT *s3, SrcArrayT *s4, SrcArrayT *s5, SrcArrayT *s6, SrcArrayT *s7, SrcArrayT *s8, SrcArrayT *s9, typename SrcArrayT::ArithType scale) |
template<class ArrayT> | |
void | InvWw (ArrayT *&dst, const std::vector< ArrayT * > &eList, typename ArrayT::ArithType scale) |
void | KeypointsLowe (Array2dScalarReal64 *&points, Array2dScalarUInt8 *&featVecs, Array2dVec3UInt8 *src, bool doFeatVecs) |
template<class DstArrayT, class SrcArrayT> | |
void | Label (DstArrayT *&dst, SrcArrayT *src, int conn) |
Label function based on GrassFire. | |
template<class DstArrayT, class SrcArrayT> | |
void | LabelOld (DstArrayT *&dst, SrcArrayT *src, int conn) |
void | Laplacian (Array2dScalarReal64 *&dst, Array2dScalarReal64 *src, Real64 sigma, int gamma, bool useRecGauss, double precision) |
template<class SrcArrayT> | |
void | Laplacian (Array2dScalarReal64 *&dst, SrcArrayT *src, Real64 sigma, int gamma, bool useRecGauss, double precision) |
template<class DstArrayT, class Src1ArrayT, class Src2ArrayT> | |
void | LessThan (DstArrayT *&dst, Src1ArrayT *src1, Src2ArrayT *src2) |
template<class DstArrayT, class SrcArrayT> | |
void | LessThanVal (DstArrayT *&dst, SrcArrayT *src, typename SrcArrayT::ArithType val) |
template<class ArrayT> | |
ArrayT * | LocalMinMax (ArrayT *src, bool ReplaceValue=false, int BW=1, int BH=1) |
template<class DstArrayT, class SrcArrayT> | |
void | Lut (DstArrayT *&dst, SrcArrayT *src, std::vector< int > *lut, int notInLutVal) |
template<class ArrayT> | |
void | MakeBlocks (ArrayT *&dst, int offsetX, int offsetY, int blockWidth, int blockHeight, int marginX, int marginY, typename ArrayT::ArithType borderValue, typename ArrayT::ArithType blockValue, typename ArrayT::ArithType blockValueIncr, int maxNrBlocksX=-1, int maxNrBlocksY=-1) |
template<class ArrayT> | |
void | MakeCircle (ArrayT *&dst, int centerX, int centerY, Real64 radius, typename ArrayT::ArithType circleValue, typename ArrayT::ArithType outsideValue) |
template<class DstArrayT, class SrcArrayT> | |
void | MakeFrom3Images (DstArrayT *&dst, SrcArrayT *s1, SrcArrayT *s2, SrcArrayT *s3) |
template<class ArrayT> | |
ArrayT * | MakeFromData (typename ArrayT::StorType *data, int cw, int ch, int bw=0, int bh=0, bool isPartial=false) |
template<class DstArrayT, class SrcArrayT> | |
void | MakeFromData2 (DstArrayT *&dst, SrcArrayT *src, int bw=0, int bh=0, bool isPartial=false) |
template<class DstArrayT, class SrcArrayT> | |
void | MakeFromData2 (DstArrayT *&dst, typename SrcArrayT::StorType *data, bool isPartial=false) |
template<class ArrayT, class Iterator> | |
void | MakeFromStl (ArrayT *&dst, Iterator begin, Iterator end, int nrElem=0) |
template<class ArrayT> | |
ArrayT * | MakeFromValue (typename ArrayT::ArithType value, int cw, int ch, int bw=0, int bh=0) |
template<class ArrayT> | |
void | MakeFromValue2 (ArrayT *&dst, typename ArrayT::ArithType value) |
Array2dScalarReal64 * | MakeGabor (int size, double sigma, double frequency, double orientation, bool symmetric) |
Array2dComplex64 * | MakeGaborIIR1d (double sigma, double omega0, Complex64 &borderIn, Complex64 &borderOut) |
Generate a Gabor kernel for recursive implementation. | |
static double | Gauss (const double x, const double sigma) |
static double | Hermite (const double x, const double H0, const double sigma, const int order) |
static int | filterWidth (double sigma, int deri, double acc, int maxlen) |
static double * | makeFilter (double sigma, int deri, double acc, int fsize, int maxfsize) |
Array2dScalarReal64 * | MakeGaussian1d (double sigma, int deri, double acc, int maxfsize, int fsize=0) |
Generate a kernel image resembling a Gaussian. | |
Array2dScalarReal64 * | MakeGaussian2d (double st, double sr, double phi, int dert, double n) |
Generate a kernel image resembling a Gaussian. | |
static void | MulComplexNumbers (complex *c1, complex *c2, complex *c3) |
static void | AddComplexNumbers (complex *c1, complex *c2, complex *c3) |
static double | ComputeStDev (int nn, complex *pp, double q) |
static void | FillPoleCoef (int nn, complex *pp, int order) |
static void | FilterCoef (int mm, int nn, complex *pp, int start, int stop, complex tmp, complex *bb) |
Array2dScalarReal64 * | MakeGaussIIR1d (double sigma, int derivativeOrder, int filterOrder) |
Array2dScalarReal64 * | MakeIntegral (Array2dScalarReal64 *im) |
template<class ArrayT> | |
ArrayT * | MakeRandom (Int64 width, Int64 height, typename ArrayT::StorType maxVal) |
Makes a new array of given size filled with random number in the range [0. | |
Array2dScalarReal64 * | MakeRandomScalarReal64 (Int64 width, Int64 height, double maxVal) |
template<class ArrayT> | |
ArrayT * | MakeRoi (ArrayT *src, const Geometry::Rectangle &rect) |
template<class DstArrayT, class Src1ArrayT, class Src2ArrayT> | |
void | Maximum (DstArrayT *&dst, Src1ArrayT *src1, Src2ArrayT *src2) |
template<class DstArrayT, class SrcArrayT> | |
void | MaximumVal (DstArrayT *&dst, SrcArrayT *src, typename SrcArrayT::ArithType val) |
template<class ArrayT> | |
std::string | MD5Hash (ArrayT *&src) |
template<class DstArrayT, class Src1ArrayT, class Src2ArrayT> | |
void | Minimum (DstArrayT *&dst, Src1ArrayT *src1, Src2ArrayT *src2) |
template<class DstArrayT, class SrcArrayT> | |
void | MinimumVal (DstArrayT *&dst, SrcArrayT *src, typename SrcArrayT::ArithType val) |
template<class DstArrayT, class Src1ArrayT, class Src2ArrayT> | |
void | Mul (DstArrayT *&dst, Src1ArrayT *src1, Src2ArrayT *src2) |
template<class DstArrayT, class SrcArrayT> | |
void | MulVal (DstArrayT *&dst, SrcArrayT *src, typename SrcArrayT::ArithType val) |
template<class DstArrayT, class Src1ArrayT, class Src2ArrayT> | |
void | NegDiv (DstArrayT *&dst, Src1ArrayT *src1, Src2ArrayT *src2) |
template<class DstArrayT, class SrcArrayT> | |
void | Norm2 (DstArrayT *&dst, SrcArrayT *src) |
template<class DstArrayT, class Src1ArrayT, class Src2ArrayT> | |
void | Norm2Sqr (DstArrayT *&dst, Src1ArrayT *src1, Src2ArrayT *src2) |
ILOG_VAR_INIT (Octaves, Impala.Core.Array) | |
template<class DstArrayT, class SrcArrayT> | |
void | Percentile (DstArrayT *&dst, SrcArrayT *src, int neighSize, double perc) |
Percentile filter. | |
template<class ArrayT> | |
ArrayT::ArithType | PixMax (ArrayT *src) |
template<class ArrayT> | |
ArrayT::ArithType | PixMin (ArrayT *src) |
template<class ArrayT, class ArithT> | |
void | PixMinMax (ArrayT *im, ArithT *minVal, ArithT *maxVal) |
template<class ArrayT, class ArithT> | |
void | PixStat (ArrayT *im, ArithT *minVal, ArithT *maxVal, ArithT *mean, ArithT *variance) |
template<class ArrayT, class ArithT> | |
void | PixStatBasic (ArrayT *im, ArithT *nr, ArithT *sum, ArithT *sumSqr, ArithT *sumAbs) |
template<class ArrayT> | |
ArrayT::ArithType | PixSum (ArrayT *src) |
template<class DstArrayT, class SrcArrayT> | |
void | Pow (DstArrayT *&dst, SrcArrayT *src, Real64 w) |
template<class ArrayT> | |
void | PrintData (ArrayT *array, bool printBorder, int bx, int by, int width, int height) |
template<class ArrayT> | |
void | PrintData (ArrayT *array, bool printBorder=false) |
void | ProjectParameterizedColor (Array2dScalarReal64 *&dst, Array2dVec3Real64 *src, Real64 a, Real64 b, Real64 c, Real64 d, Real64 e, Real64 f, Real64 g) |
template<class DstArrayT, class SrcArrayT> | |
void | ProjectRange (DstArrayT *&dst, SrcArrayT *src, int dimension) |
template<class ArrayT> | |
void | ReadFile (ArrayT *&dst, String fileName, Util::Database *db) |
template<class ArrayT> | |
void | ReadFile (ArrayT *&dst, Persistency::File file) |
template<class ArrayT> | |
void | ReadImageFromMemory (ArrayT *&dst, char *buf, int bufsize) |
ReadImageFromMemory automatically identifies whether there is a PNG or JPG image stored there. | |
void | ReadJpgFromMemory (Array2dScalarInt32 *&dst, char *buf, int bufsize) |
void | ReadJpgFromMemory (Array2dScalarReal64 *&dst, char *buf, int bufsize) |
void | ReadJpgFromMemory (Array2dVec3Real64 *&dst, char *buf, int bufsize) |
template<class ArrayT> | |
void | ReadJpgFromMemory (ArrayT *&dst, char *buf, int bufsize) |
template<class ArrayT> | |
void | ReadJpg (ArrayT *&dst, Util::IOBuffer *buffer, int memBufSize=10000000) |
template<class ArrayT> | |
void | ReadJpg (ArrayT *&dst, String fileName, Util::Database *db, int memBufSize=10000000) |
template<class ArrayT> | |
void | ReadJpg (ArrayT *&dst, Persistency::File file, int memBufSize=10000000) |
void | SkipEmpty (Util::IOBuffer *buf) |
template<class ArrayT> | |
void | ReadPgm (ArrayT *&dst, Util::IOBuffer *buffer) |
template<class ArrayT> | |
void | ReadPgm (ArrayT *&dst, String fileName, Util::Database *db) |
void | ReadPngFromMemory (Array2dScalarInt32 *&dst, char *buf, int bufsize) |
void | ReadPngFromMemory (Array2dScalarReal64 *&dst, char *buf, int bufsize) |
void | ReadPngFromMemory (Array2dVec3Real64 *&dst, char *buf, int bufsize) |
template<class ArrayT> | |
void | ReadPngFromMemory (ArrayT *&dst, char *buf, int bufsize) |
template<class ArrayT> | |
void | ReadPng (ArrayT *&dst, Util::IOBuffer *buffer, size_t memBufSize=10000000) |
template<class ArrayT> | |
void | ReadPng (ArrayT *&dst, String fileName, Util::Database *db, int memBufSize=10000000) |
template<class ArrayT> | |
void | ReadPng (ArrayT *&dst, Persistency::File file, int memBufSize=10000000) |
ArrayType | ReadRawArrayType (Util::IOBuffer *buffer) |
ArrayType | ReadRawArrayType (String fileName, Util::Database *db) |
ArrayType | ReadRawArrayType (Persistency::File file) |
template<class ArrayT> | |
void | ReadRaw (ArrayT *&dst, Util::IOBuffer *buffer) |
template<class ArrayT> | |
void | ReadRaw (ArrayT *&dst, String fileName, Util::Database *db) |
template<class ArrayT> | |
void | ReadRaw (ArrayT *&dst, Persistency::File file) |
template<class ArrayT> | |
void | ReadRawList (std::vector< ArrayT * > &list, Util::IOBuffer *buffer) |
template<class ArrayT> | |
void | ReadRawList (std::vector< ArrayT * > &list, String fileName, Util::Database *db) |
template<class ArrayT> | |
void | ReadRawList (std::vector< ArrayT * > &list, Persistency::File file) |
template<class ArrayT> | |
void | ReadRawListVar (std::vector< ArrayT * > &list, Util::IOBuffer *buffer) |
template<class ArrayT> | |
void | ReadRawListVar (std::vector< ArrayT * > &list, String fileName, Util::Database *db) |
template<class ArrayT> | |
void | ReadRawListVar (std::vector< ArrayT * > &list, Persistency::File file) |
template<class ArrayT> | |
void | ReadRawListVarIndex (std::vector< Int64 > &list, Util::IOBuffer *buffer) |
template<class ArrayT> | |
void | ReadRawListVarIndex (std::vector< Int64 > &list, String fileName, Util::Database *db) |
template<class ArrayT> | |
void | ReadRawListVarIndex (std::vector< Int64 > &list, Persistency::File file) |
template<class DstArrayT, class SrcArrayT, class KerArrayT> | |
void | RecConvKernelSeparated (DstArrayT *&dst, SrcArrayT *src, KerArrayT *kerx, KerArrayT *kery, Util::TimePlot *plotter=0) |
template<class DstArrayT, class SrcArrayT, class KerArrayT, class KerArithT> | |
void | RecConvKernelSeparated (DstArrayT *&dst, SrcArrayT *src, KerArrayT *kerx, KerArrayT *kery, KerArithT leftBorderNorm, KerArithT rightBorderNorm, KerArithT topBorderNorm, KerArithT bottomBorderNorm, Util::TimePlot *plotter=0) |
template<class DstArrayT, class SrcArrayT> | |
void | RecGabor (DstArrayT *&dst, SrcArrayT *src, double s, double omega0, double theta) |
template<class DstArrayT, class SrcArrayT> | |
void | RecGauss (DstArrayT *&dst, SrcArrayT *src, double sx, double sy, int dx, int dy, int recurOrder) |
void | Resample (Array2dVec3UInt8 *&dst, Array2dVec3UInt8 *src, int newWidth, int newHeight) |
template<class ArrayT> | |
void | Reverse (ArrayT *&dst, const ArrayT *src) |
template<class DstArrayT, class SrcArrayT> | |
void | RGB2Gray (DstArrayT *&dst, SrcArrayT *src) |
template<class DstArrayT, class SrcArrayT> | |
void | RGB2Intensity (DstArrayT *&dst, SrcArrayT *src) |
template<class SrcArrayT> | |
void | Rgb2Ooo (Array2dVec3Real64 *&dst, SrcArrayT *src) |
template<class SrcArrayT> | |
void | RGB2rg (Array2dVec3Real64 *&dst, SrcArrayT *src) |
template<class DstArrayT, class SrcArrayT> | |
void | Rotate (DstArrayT *&dst, SrcArrayT *src, double alpha, Geometry::GeoIntType gi, bool adjustSize, typename DstArrayT::ArithType background) |
template<class DstArrayT, class SrcArrayT> | |
void | Scale (DstArrayT *&dst, SrcArrayT *src, double sx, double sy, Geometry::GeoIntType gi, bool adjustSize=true) |
template<class DstArrayT, class SrcArrayT> | |
void | Set (DstArrayT *&dst, SrcArrayT *src) |
template<class DstArrayT, class SrcArrayT> | |
void | SetPart (DstArrayT *&dst, SrcArrayT *src, int dstX, int dstY) |
template<class DstArrayT, class SrcArrayT> | |
void | SetPart (DstArrayT *&dst, SrcArrayT *src, int srcX, int srcY, int width, int height, int dstX, int dstY) |
template<class DstArrayT, class SrcArrayT> | |
void | SetVal (DstArrayT *&dst, SrcArrayT *src, typename SrcArrayT::ArithType val) |
template<class ArrayT> | |
void | SetVal (ArrayT *a, typename ArrayT::ArithType val) |
template<class DstArrayT, class SrcArrayT> | |
void | SKIZ (DstArrayT *&dst, SrcArrayT *src, int conn) |
SKIZ based on Luc Vincent's algorithm. | |
template<class ArrayT> | |
void | Sort (ArrayT *&dst, const ArrayT *src) |
template<class DstArrayT, class SrcArrayT> | |
void | Sqrt (DstArrayT *&dst, SrcArrayT *src) |
void | sRGB2RGB (Array2dVec3Real64 *&dst, Array2dVec3UInt8 *src) |
template<class DstArrayT, class Src1ArrayT, class Src2ArrayT> | |
void | Sub (DstArrayT *&dst, Src1ArrayT *src1, Src2ArrayT *src2) |
ILOG_CLASS_INIT (TestEquals, Impala.Core.Array.Test) | |
CPPUNIT_TEST_SUITE_REGISTRATION (TestEquals) | |
ILOG_CLASS_INIT (TestMakeRandom, Impala.Core.Array.Test) | |
CPPUNIT_TEST_SUITE_REGISTRATION (TestMakeRandom) | |
template<class DstArrayT, class Src1ArrayT, class Src2ArrayT> | |
bool | TestEqual (DstArrayT *&dst, Src1ArrayT *src1, Src2ArrayT *src2, double epsilon) |
template<class DstArrayT, class SrcArrayT> | |
void | Threshold (DstArrayT *&dst, SrcArrayT *src, typename SrcArrayT::ArithType level) |
void | VisSemGabor (ArraySet< Array2dScalarReal64 > &res, Array2dVec3UInt8 *rgb, double scale, double freq, int nrOrient) |
template<class DstArrayT, class SrcArrayT> | |
void | Watershed (DstArrayT *&dst, SrcArrayT *src, int conn) |
Watershed function based on Luc Vincent's algorithm. | |
template<class DstArrayT, class SrcArrayT> | |
void | WatershedMarkers (DstArrayT *&dst, SrcArrayT *src, SrcArrayT *mask, int conn, bool doLabelMask) |
Watershed from markers. | |
template<class DstArrayT, class SrcArrayT> | |
void | WatershedMarkers2 (DstArrayT *&dst, SrcArrayT *src, SrcArrayT *mask, int conn, bool doLabelMask, int costMethod) |
Watershed from markers, second implementation. | |
template<class ArrayT> | |
bool | WriteFile (ArrayT *src, Persistency::File file) |
template<class ArrayT> | |
bool | WriteJpgToMemory (ArrayT *src, char *buf, size_t memBufSize, size_t *outSize) |
template<class ArrayT> | |
bool | WriteJpg (ArrayT *src, Util::IOBuffer *buffer, size_t memBufSize=10000000) |
template<class ArrayT> | |
bool | WriteJpg (ArrayT *src, String fileName, Util::Database *db, size_t memBufSize=10000000) |
template<class ArrayT> | |
bool | WriteJpg (ArrayT *src, Persistency::File file, size_t memBufSize=10000000) |
template<class ArrayT> | |
void | WritePgm (ArrayT *src, std::string fileName) |
template<class ArrayT> | |
bool | WritePngToMemory (ArrayT *src, char *buf, size_t memBufSize, size_t *outSize) |
template<class ArrayT> | |
bool | WritePng (ArrayT *src, Util::IOBuffer *buffer, size_t memBufSize=10000000) |
template<class ArrayT> | |
bool | WritePng (ArrayT *src, String fileName, Util::Database *db, size_t memBufSize=10000000) |
template<class ArrayT> | |
bool | WritePng (ArrayT *src, Persistency::File file, size_t memBufSize=10000000) |
template<class ArrayT> | |
void | WriteRaw (ArrayT *src, Util::IOBuffer *buffer, bool binary) |
template<class ArrayT> | |
void | WriteRaw (ArrayT *src, String fileName, Util::Database *db, bool binary) |
template<class ArrayT> | |
void | WriteRaw (ArrayT *src, Persistency::File file, bool binary) |
template<class ArrayT> | |
void | WriteRawList (std::vector< ArrayT * > list, Util::IOBuffer *buffer, bool binary) |
template<class ArrayT> | |
void | WriteRawList (std::vector< ArrayT * > list, String fileName, Util::Database *db, bool binary) |
template<class ArrayT> | |
void | WriteRawList (std::vector< ArrayT * > list, Persistency::File file, bool binary) |
template<class ArrayT> | |
void | WriteRawList (ArraySet< ArrayT > &aSet, String fileName, bool binary) |
template<class ArrayT> | |
void | WriteRawList (ArraySet< ArrayT > &aSet, Persistency::File file, bool binary) |
template<class ArrayT> | |
void | WriteRawListVar (std::vector< ArrayT * > list, Util::IOBuffer *buffer, bool binary) |
template<class ArrayT> | |
void | WriteRawListVar (std::vector< ArrayT * > list, String fileName, Util::Database *db, bool writeIndex, bool binary) |
template<class ArrayT> | |
void | WriteRawListVar (std::vector< ArrayT * > list, Persistency::File file, bool writeIndex, bool binary) |
Variables | |
static int | gWriteJpgQuality = 90 |