mi32/trend.h File Reference

#include <mi32/rvcrast.h>

Include dependency graph for trend.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

struct  TRENDARG

Defines

#define TREND_REMOVE   1
#define TREND_RESTORE   2
#define TREND_BYEDGE   3
#define TREND_BYRASTER   4

Functions

int HistogramMatch (int id1, int id2, int numlin1, int numcol1, int numlin2, int numcol2, Mat3x3 ForMat1, Mat3x3 InvMat1, Mat3x3 ForMat2, Mat3x3 InvMat2, int flag1, int flag2, TRENDARG &Trend1, TRENDARG &Trend2, UINT8 *MapTable)
ERRVALUE MfTrendCompute (const RVC::OBJITEM &InputRastItem, TRENDARG &args)


Define Documentation

#define TREND_BYEDGE   3
 

Definition at line 65 of file trend.h.

#define TREND_BYRASTER   4
 

Definition at line 66 of file trend.h.

#define TREND_REMOVE   1
 

mi32/trend.h - common include file for trend removal algorithm

'gettrend' computes the trend of a raster and return a polynomial and an offset. The returned polynomial is arranged in increasing order of varibles XY, Within an order, X is decreasing in its order, Y increasing in its order. e.g. if the polynomial is of order 3, then the returned polynomial is:

$f(X, Y) = a + bX + cY + dX^2 + eXY + fY^2 + gX^3 + hX^2Y + iXY^2 + jY^3$

where a,b,c,d,e,f,g,h,i,j are coefficients of the polynomial, which are stored in 'coef'.

'evalpoly' evaluates a polynomial of order n, at point (x,y).

Definition at line 63 of file trend.h.

#define TREND_RESTORE   2
 

Definition at line 64 of file trend.h.


Function Documentation

int HistogramMatch int  id1,
int  id2,
int  numlin1,
int  numcol1,
int  numlin2,
int  numcol2,
Mat3x3  ForMat1,
Mat3x3  InvMat1,
Mat3x3  ForMat2,
Mat3x3  InvMat2,
int  flag1,
int  flag2,
TRENDARG Trend1,
TRENDARG Trend2,
UINT8 MapTable
 

Match histogram of two rasters using overlap from georef.

Returns:
Error code < 0 or 0

ERRVALUE MfTrendCompute const RVC::OBJITEM InputRastItem,
TRENDARG args
 

INC_MI32_TREND_H.

Returns:
Error code < 0 or 0


Generated on Thu Aug 12 06:24:58 2004 for TNTsdk by doxygen 1.3.4-20031026