GDAL
gdal_alg.h
Go to the documentation of this file.
1 /******************************************************************************
2  * $Id: gdal_alg.h 27044 2014-03-16 23:41:27Z rouault $
3  *
4  * Project: GDAL Image Processing Algorithms
5  * Purpose: Prototypes, and definitions for various GDAL based algorithms.
6  * Author: Frank Warmerdam, warmerdam@pobox.com
7  *
8  ******************************************************************************
9  * Copyright (c) 2001, Frank Warmerdam
10  * Copyright (c) 2008-2012, Even Rouault <even dot rouault at mines-paris dot org>
11  *
12  * Permission is hereby granted, free of charge, to any person obtaining a
13  * copy of this software and associated documentation files (the "Software"),
14  * to deal in the Software without restriction, including without limitation
15  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
16  * and/or sell copies of the Software, and to permit persons to whom the
17  * Software is furnished to do so, subject to the following conditions:
18  *
19  * The above copyright notice and this permission notice shall be included
20  * in all copies or substantial portions of the Software.
21  *
22  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
23  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
25  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
27  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
28  * DEALINGS IN THE SOFTWARE.
29  ****************************************************************************/
30 
31 #ifndef GDAL_ALG_H_INCLUDED
32 #define GDAL_ALG_H_INCLUDED
33 
40 #ifndef DOXYGEN_SKIP
41 #include "gdal.h"
42 #include "cpl_minixml.h"
43 #include "ogr_api.h"
44 #endif
45 
46 CPL_C_START
47 
48 int CPL_DLL CPL_STDCALL GDALComputeMedianCutPCT( GDALRasterBandH hRed,
49  GDALRasterBandH hGreen,
50  GDALRasterBandH hBlue,
51  int (*pfnIncludePixel)(int,int,void*),
52  int nColors,
53  GDALColorTableH hColorTable,
54  GDALProgressFunc pfnProgress,
55  void * pProgressArg );
56 
57 int CPL_DLL CPL_STDCALL GDALDitherRGB2PCT( GDALRasterBandH hRed,
58  GDALRasterBandH hGreen,
59  GDALRasterBandH hBlue,
60  GDALRasterBandH hTarget,
61  GDALColorTableH hColorTable,
62  GDALProgressFunc pfnProgress,
63  void * pProgressArg );
64 
65 int CPL_DLL CPL_STDCALL GDALChecksumImage( GDALRasterBandH hBand,
66  int nXOff, int nYOff, int nXSize, int nYSize );
67 
68 CPLErr CPL_DLL CPL_STDCALL
70  GDALRasterBandH hProximityBand,
71  char **papszOptions,
72  GDALProgressFunc pfnProgress,
73  void * pProgressArg );
74 
75 CPLErr CPL_DLL CPL_STDCALL
76 GDALFillNodata( GDALRasterBandH hTargetBand,
77  GDALRasterBandH hMaskBand,
78  double dfMaxSearchDist,
79  int bDeprecatedOption,
80  int nSmoothingIterations,
81  char **papszOptions,
82  GDALProgressFunc pfnProgress,
83  void * pProgressArg );
84 
85 CPLErr CPL_DLL CPL_STDCALL
87  GDALRasterBandH hMaskBand,
88  OGRLayerH hOutLayer, int iPixValField,
89  char **papszOptions,
90  GDALProgressFunc pfnProgress,
91  void * pProgressArg );
92 
93 CPLErr CPL_DLL CPL_STDCALL
95  GDALRasterBandH hMaskBand,
96  OGRLayerH hOutLayer, int iPixValField,
97  char **papszOptions,
98  GDALProgressFunc pfnProgress,
99  void * pProgressArg );
100 
101 CPLErr CPL_DLL CPL_STDCALL
102 GDALSieveFilter( GDALRasterBandH hSrcBand, GDALRasterBandH hMaskBand,
103  GDALRasterBandH hDstBand,
104  int nSizeThreshold, int nConnectedness,
105  char **papszOptions,
106  GDALProgressFunc pfnProgress,
107  void * pProgressArg );
108 
109 /*
110  * Warp Related.
111  */
112 
113 typedef int
114 (*GDALTransformerFunc)( void *pTransformerArg,
115  int bDstToSrc, int nPointCount,
116  double *x, double *y, double *z, int *panSuccess );
117 
118 typedef struct {
119  char szSignature[4];
120  const char *pszClassName;
121  GDALTransformerFunc pfnTransform;
122  void (*pfnCleanup)( void * );
123  CPLXMLNode *(*pfnSerialize)( void * );
124  /* TODO GDAL 2.0 : add a void* (*pfnClone) (void *) member */
126 
127 void CPL_DLL GDALDestroyTransformer( void *pTransformerArg );
128 int CPL_DLL GDALUseTransformer( void *pTranformerArg,
129  int bDstToSrc, int nPointCount,
130  double *x, double *y, double *z,
131  int *panSuccess );
132 
133 /* High level transformer for going from image coordinates on one file
134  to image coordiantes on another, potentially doing reprojection,
135  utilizing GCPs or using the geotransform. */
136 
137 void CPL_DLL *
138 GDALCreateGenImgProjTransformer( GDALDatasetH hSrcDS, const char *pszSrcWKT,
139  GDALDatasetH hDstDS, const char *pszDstWKT,
140  int bGCPUseOK, double dfGCPErrorThreshold,
141  int nOrder );
142 void CPL_DLL *
144  char **papszOptions );
145 void CPL_DLL *
146 GDALCreateGenImgProjTransformer3( const char *pszSrcWKT,
147  const double *padfSrcGeoTransform,
148  const char *pszDstWKT,
149  const double *padfDstGeoTransform );
150 void CPL_DLL GDALSetGenImgProjTransformerDstGeoTransform( void *,
151  const double * );
152 void CPL_DLL GDALDestroyGenImgProjTransformer( void * );
153 int CPL_DLL GDALGenImgProjTransform(
154  void *pTransformArg, int bDstToSrc, int nPointCount,
155  double *x, double *y, double *z, int *panSuccess );
156 
157 /* Geo to geo reprojection transformer. */
158 void CPL_DLL *
159 GDALCreateReprojectionTransformer( const char *pszSrcWKT,
160  const char *pszDstWKT );
161 void CPL_DLL GDALDestroyReprojectionTransformer( void * );
162 int CPL_DLL GDALReprojectionTransform(
163  void *pTransformArg, int bDstToSrc, int nPointCount,
164  double *x, double *y, double *z, int *panSuccess );
165 
166 /* GCP based transformer ... forward is to georef coordinates */
167 void CPL_DLL *
168 GDALCreateGCPTransformer( int nGCPCount, const GDAL_GCP *pasGCPList,
169  int nReqOrder, int bReversed );
170 
171 /* GCP based transformer with refinement of the GCPs ... forward is to georef coordinates */
172 void CPL_DLL *
173 GDALCreateGCPRefineTransformer( int nGCPCount, const GDAL_GCP *pasGCPList,
174  int nReqOrder, int bReversed, double tolerance, int minimumGcps);
175 
176 void CPL_DLL GDALDestroyGCPTransformer( void *pTransformArg );
177 int CPL_DLL GDALGCPTransform(
178  void *pTransformArg, int bDstToSrc, int nPointCount,
179  double *x, double *y, double *z, int *panSuccess );
180 
181 /* Thin Plate Spine transformer ... forward is to georef coordinates */
182 
183 void CPL_DLL *
184 GDALCreateTPSTransformer( int nGCPCount, const GDAL_GCP *pasGCPList,
185  int bReversed );
186 void CPL_DLL GDALDestroyTPSTransformer( void *pTransformArg );
187 int CPL_DLL GDALTPSTransform(
188  void *pTransformArg, int bDstToSrc, int nPointCount,
189  double *x, double *y, double *z, int *panSuccess );
190 
191 char CPL_DLL ** RPCInfoToMD( GDALRPCInfo *psRPCInfo );
192 
193 /* RPC based transformer ... src is pixel/line/elev, dst is long/lat/elev */
194 
195 void CPL_DLL *
196 GDALCreateRPCTransformer( GDALRPCInfo *psRPC, int bReversed,
197  double dfPixErrThreshold,
198  char **papszOptions );
199 void CPL_DLL GDALDestroyRPCTransformer( void *pTransformArg );
200 int CPL_DLL GDALRPCTransform(
201  void *pTransformArg, int bDstToSrc, int nPointCount,
202  double *x, double *y, double *z, int *panSuccess );
203 
204 /* Geolocation transformer */
205 
206 void CPL_DLL *
207 GDALCreateGeoLocTransformer( GDALDatasetH hBaseDS,
208  char **papszGeolocationInfo,
209  int bReversed );
210 void CPL_DLL GDALDestroyGeoLocTransformer( void *pTransformArg );
211 int CPL_DLL GDALGeoLocTransform(
212  void *pTransformArg, int bDstToSrc, int nPointCount,
213  double *x, double *y, double *z, int *panSuccess );
214 
215 /* Approximate transformer */
216 void CPL_DLL *
218  void *pRawTransformerArg, double dfMaxError );
219 void CPL_DLL GDALApproxTransformerOwnsSubtransformer( void *pCBData,
220  int bOwnFlag );
221 void CPL_DLL GDALDestroyApproxTransformer( void *pApproxArg );
222 int CPL_DLL GDALApproxTransform(
223  void *pTransformArg, int bDstToSrc, int nPointCount,
224  double *x, double *y, double *z, int *panSuccess );
225 
226 
227 
228 
229 int CPL_DLL CPL_STDCALL
231  GDALDatasetH hDstDS,
232  int nBandCount, int *panBandList,
233  GDALTransformerFunc pfnTransform,
234  void *pTransformArg,
235  GDALProgressFunc pfnProgress,
236  void *pProgressArg,
237  char **papszWarpOptions );
238 
239 CPLErr CPL_DLL CPL_STDCALL
241  GDALTransformerFunc pfnTransformer,
242  void *pTransformArg,
243  double *padfGeoTransformOut,
244  int *pnPixels, int *pnLines );
245 CPLErr CPL_DLL CPL_STDCALL
246 GDALSuggestedWarpOutput2( GDALDatasetH hSrcDS,
247  GDALTransformerFunc pfnTransformer,
248  void *pTransformArg,
249  double *padfGeoTransformOut,
250  int *pnPixels, int *pnLines,
251  double *padfExtents,
252  int nOptions );
253 
254 CPLXMLNode CPL_DLL *
255 GDALSerializeTransformer( GDALTransformerFunc pfnFunc, void *pTransformArg );
256 CPLErr CPL_DLL GDALDeserializeTransformer( CPLXMLNode *psTree,
257  GDALTransformerFunc *ppfnFunc,
258  void **ppTransformArg );
259 
260 CPLErr CPL_DLL
261 GDALTransformGeolocations( GDALRasterBandH hXBand,
262  GDALRasterBandH hYBand,
263  GDALRasterBandH hZBand,
264  GDALTransformerFunc pfnTransformer,
265  void *pTransformArg,
266  GDALProgressFunc pfnProgress,
267  void *pProgressArg,
268  char **papszOptions );
269 
270 /* -------------------------------------------------------------------- */
271 /* Contour Line Generation */
272 /* -------------------------------------------------------------------- */
273 
274 typedef CPLErr (*GDALContourWriter)( double dfLevel, int nPoints,
275  double *padfX, double *padfY, void * );
276 
277 typedef void *GDALContourGeneratorH;
278 
279 GDALContourGeneratorH CPL_DLL
280 GDAL_CG_Create( int nWidth, int nHeight,
281  int bNoDataSet, double dfNoDataValue,
282  double dfContourInterval, double dfContourBase,
283  GDALContourWriter pfnWriter, void *pCBData );
284 CPLErr CPL_DLL GDAL_CG_FeedLine( GDALContourGeneratorH hCG,
285  double *padfScanline );
286 void CPL_DLL GDAL_CG_Destroy( GDALContourGeneratorH hCG );
287 
288 typedef struct
289 {
290  void *hLayer;
291 
292  double adfGeoTransform[6];
293 
294  int nElevField;
295  int nIDField;
296  int nNextID;
298 
299 CPLErr CPL_DLL
300 OGRContourWriter( double, int, double *, double *, void *pInfo );
301 
302 CPLErr CPL_DLL
304  double dfContourInterval, double dfContourBase,
305  int nFixedLevelCount, double *padfFixedLevels,
306  int bUseNoData, double dfNoDataValue,
307  void *hLayer, int iIDField, int iElevField,
308  GDALProgressFunc pfnProgress, void *pProgressArg );
309 
310 /************************************************************************/
311 /* Rasterizer API - geometries burned into GDAL raster. */
312 /************************************************************************/
313 
314 CPLErr CPL_DLL
316  int nBandCount, int *panBandList,
317  int nGeomCount, OGRGeometryH *pahGeometries,
318  GDALTransformerFunc pfnTransformer,
319  void *pTransformArg,
320  double *padfGeomBurnValue,
321  char **papszOptions,
322  GDALProgressFunc pfnProgress,
323  void * pProgressArg );
324 CPLErr CPL_DLL
326  int nBandCount, int *panBandList,
327  int nLayerCount, OGRLayerH *pahLayers,
328  GDALTransformerFunc pfnTransformer,
329  void *pTransformArg,
330  double *padfLayerBurnValues,
331  char **papszOptions,
332  GDALProgressFunc pfnProgress,
333  void *pProgressArg );
334 
335 CPLErr CPL_DLL
336 GDALRasterizeLayersBuf( void *pData, int nBufXSize, int nBufYSize,
337  GDALDataType eBufType, int nPixelSpace, int nLineSpace,
338  int nLayerCount, OGRLayerH *pahLayers,
339  const char *pszDstProjection,
340  double *padfDstGeoTransform,
341  GDALTransformerFunc pfnTransformer,
342  void *pTransformArg, double dfBurnValue,
343  char **papszOptions, GDALProgressFunc pfnProgress,
344  void *pProgressArg );
345 
346 
347 /************************************************************************/
348 /* Gridding interface. */
349 /************************************************************************/
350 
364 
366 typedef struct
367 {
369  double dfPower;
371  double dfSmoothing;
377  double dfRadius1;
379  double dfRadius2;
384  double dfAngle;
391  GUInt32 nMaxPoints;
397  GUInt32 nMinPoints;
401 
403 typedef struct
404 {
406  double dfRadius1;
408  double dfRadius2;
413  double dfAngle;
419  GUInt32 nMinPoints;
423 
425 typedef struct
426 {
428  double dfRadius1;
430  double dfRadius2;
435  double dfAngle;
439 
441 typedef struct
442 {
444  double dfRadius1;
446  double dfRadius2;
451  double dfAngle;
457  GUInt32 nMinPoints;
461 
462 CPLErr CPL_DLL
463 GDALGridCreate( GDALGridAlgorithm, const void *, GUInt32,
464  const double *, const double *, const double *,
465  double, double, double, double,
466  GUInt32, GUInt32, GDALDataType, void *,
467  GDALProgressFunc, void *);
468 
469 GDAL_GCP CPL_DLL *
470 GDALComputeMatchingPoints( GDALDatasetH hFirstImage,
471  GDALDatasetH hSecondImage,
472  char **papszOptions,
473  int *pnGCPCount );
474 CPL_C_END
475 
476 #endif /* ndef GDAL_ALG_H_INCLUDED */
double dfAngle
Definition: gdal_alg.h:451
Definition: gdal_alg.h:359
CPLErr GDALSuggestedWarpOutput(GDALDatasetH hSrcDS, GDALTransformerFunc pfnTransformer, void *pTransformArg, double *padfGeoTransformOut, int *pnPixels, int *pnLines)
Suggest output file size.
Definition: gdaltransformer.cpp:152
int GDALGenImgProjTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Perform general image reprojection transformation.
Definition: gdaltransformer.cpp:1686
void GDALDestroyReprojectionTransformer(void *)
Destroy reprojection transformation.
Definition: gdaltransformer.cpp:2334
GDALDataType
Definition: gdal.h:55
Document node structure.
Definition: cpl_minixml.h:65
Definitions for CPL mini XML Parser/Serializer.
CPLErr GDALRasterizeGeometries(GDALDatasetH hDS, int nBandCount, int *panBandList, int nGeomCount, OGRGeometryH *pahGeometries, GDALTransformerFunc pfnTransformer, void *pTransformArg, double *padfGeomBurnValue, char **papszOptions, GDALProgressFunc pfnProgress, void *pProgressArg)
Burn geometries into raster.
Definition: gdalrasterize.cpp:560
Data metrics method control options.
Definition: gdal_alg.h:441
CPLErr GDALGridCreate(GDALGridAlgorithm, const void *, GUInt32, const double *, const double *, const double *, double, double, double, double, GUInt32, GUInt32, GDALDataType, void *, GDALProgressFunc, void *)
Create regular grid from the scattered data.
Definition: gdalgrid.cpp:1684
GUInt32 nMinPoints
Definition: gdal_alg.h:419
void GDALDestroyApproxTransformer(void *pApproxArg)
Cleanup approximate transformer.
Definition: gdaltransformer.cpp:2637
Definition: gdal_alg.h:353
double dfNoDataValue
Definition: gdal_alg.h:437
CPLErr GDALRasterizeLayersBuf(void *pData, int nBufXSize, int nBufYSize, GDALDataType eBufType, int nPixelSpace, int nLineSpace, int nLayerCount, OGRLayerH *pahLayers, const char *pszDstProjection, double *padfDstGeoTransform, GDALTransformerFunc pfnTransformer, void *pTransformArg, double dfBurnValue, char **papszOptions, GDALProgressFunc pfnProgress, void *pProgressArg)
Burn geometries from the specified list of layer into raster.
Definition: gdalrasterize.cpp:1161
double dfRadius1
Definition: gdal_alg.h:428
int GDALDitherRGB2PCT(GDALRasterBandH hRed, GDALRasterBandH hGreen, GDALRasterBandH hBlue, GDALRasterBandH hTarget, GDALColorTableH hColorTable, GDALProgressFunc pfnProgress, void *pProgressArg)
24bit to 8bit conversion with dithering.
Definition: gdaldither.cpp:92
GDALGridAlgorithm
Gridding Algorithms.
Definition: gdal_alg.h:352
CPLErr GDALFPolygonize(GDALRasterBandH hSrcBand, GDALRasterBandH hMaskBand, OGRLayerH hOutLayer, int iPixValField, char **papszOptions, GDALProgressFunc pfnProgress, void *pProgressArg)
Create polygon coverage from raster data.
Definition: fpolygonize.cpp:544
GUInt32 nMinPoints
Definition: gdal_alg.h:457
Definition: gdal_alg.h:358
void * GDALDatasetH
Opaque type used for the C bindings of the C++ GDALDataset class.
Definition: gdal.h:162
double dfAngle
Definition: gdal_alg.h:384
Definition: gdal.h:608
double dfNoDataValue
Definition: gdal_alg.h:399
CPLErr GDALComputeProximity(GDALRasterBandH hSrcBand, GDALRasterBandH hProximityBand, char **papszOptions, GDALProgressFunc pfnProgress, void *pProgressArg)
Compute the proximity of all pixels in the image to a set of pixels in the source image...
Definition: gdalproximity.cpp:96
void * GDALRasterBandH
Opaque type used for the C bindings of the C++ GDALRasterBand class.
Definition: gdal.h:165
GUInt32 nMinPoints
Definition: gdal_alg.h:397
CPLErr GDALRasterizeLayers(GDALDatasetH hDS, int nBandCount, int *panBandList, int nLayerCount, OGRLayerH *pahLayers, GDALTransformerFunc pfnTransformer, void *pTransformArg, double *padfLayerBurnValues, char **papszOptions, GDALProgressFunc pfnProgress, void *pProgressArg)
Burn geometries from the specified list of layers into raster.
Definition: gdalrasterize.cpp:784
double dfRadius2
Definition: gdal_alg.h:408
Moving average method control options.
Definition: gdal_alg.h:403
double dfRadius1
Definition: gdal_alg.h:377
double dfAnisotropyRatio
Definition: gdal_alg.h:373
double dfRadius1
Definition: gdal_alg.h:444
void GDALDestroyGenImgProjTransformer(void *)
GenImgProjTransformer deallocator.
Definition: gdaltransformer.cpp:1638
void * GDALCreateGCPTransformer(int nGCPCount, const GDAL_GCP *pasGCPList, int nReqOrder, int bReversed)
Create GCP based polynomial transformer.
Definition: gdal_crs.c:255
void GDALSetGenImgProjTransformerDstGeoTransform(void *, const double *)
Set GenImgProj output geotransform.
Definition: gdaltransformer.cpp:1608
Definition: gdal_alg.h:288
Nearest neighbor method control options.
Definition: gdal_alg.h:425
void GDALDestroyGCPTransformer(void *pTransformArg)
Destroy GCP transformer.
Definition: gdal_crs.c:289
Definition: gdal_alg.h:362
Public (C callable) GDAL entry points.
double dfRadius2
Definition: gdal_alg.h:430
Definition: gdal_alg.h:356
Definition: gdal_alg.h:360
Definition: gdal_alg.h:118
void * GDALCreateRPCTransformer(GDALRPCInfo *psRPC, int bReversed, double dfPixErrThreshold, char **papszOptions)
Create an RPC based transformer.
Definition: gdal_rpc.cpp:390
double dfAnisotropyAngle
Definition: gdal_alg.h:375
int GDALReprojectionTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Perform reprojection transformation.
Definition: gdaltransformer.cpp:2364
double dfRadius1
Definition: gdal_alg.h:406
Definition: gdal_alg.h:354
double dfAngle
Definition: gdal_alg.h:435
int GDALGCPTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Transforms point based on GCP derived polynomial model.
Definition: gdal_nrgcrs.c:239
void * GDALCreateApproxTransformer(GDALTransformerFunc pfnRawTransformer, void *pRawTransformerArg, double dfMaxError)
Create an approximating transformer.
Definition: gdaltransformer.cpp:2591
CPLErr GDALContourGenerate(GDALRasterBandH hBand, double dfContourInterval, double dfContourBase, int nFixedLevelCount, double *padfFixedLevels, int bUseNoData, double dfNoDataValue, void *hLayer, int iIDField, int iElevField, GDALProgressFunc pfnProgress, void *pProgressArg)
Create vector contours from raster DEM.
Definition: contour.cpp:1532
int GDALSimpleImageWarp(GDALDatasetH hSrcDS, GDALDatasetH hDstDS, int nBandCount, int *panBandList, GDALTransformerFunc pfnTransform, void *pTransformArg, GDALProgressFunc pfnProgress, void *pProgressArg, char **papszWarpOptions)
Perform simple image warp.
Definition: gdalsimplewarp.cpp:79
int(* GDALTransformerFunc)(void *pTransformerArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Definition: gdal_alg.h:114
double dfNoDataValue
Definition: gdal_alg.h:421
double dfRadius2
Definition: gdal_alg.h:379
Definition: gdal_alg.h:357
void * GDALCreateGenImgProjTransformer2(GDALDatasetH hSrcDS, GDALDatasetH hDstDS, char **papszOptions)
Create image to image transformer.
Definition: gdaltransformer.cpp:1118
double dfRadius2
Definition: gdal_alg.h:446
int GDALApproxTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Perform approximate transformation.
Definition: gdaltransformer.cpp:2663
Inverse distance to a power method control options.
Definition: gdal_alg.h:366
void GDALDestroyTPSTransformer(void *pTransformArg)
Destroy TPS transformer.
Definition: gdal_tps.cpp:230
void * GDALColorTableH
Opaque type used for the C bindings of the C++ GDALColorTable class.
Definition: gdal.h:176
void * GDALCreateReprojectionTransformer(const char *pszSrcWKT, const char *pszDstWKT)
Create reprojection transformer.
Definition: gdaltransformer.cpp:2266
CPLErr GDALPolygonize(GDALRasterBandH hSrcBand, GDALRasterBandH hMaskBand, OGRLayerH hOutLayer, int iPixValField, char **papszOptions, GDALProgressFunc pfnProgress, void *pProgressArg)
Create polygon coverage from raster data.
Definition: polygonize.cpp:495
double dfPower
Definition: gdal_alg.h:369
GUInt32 nMaxPoints
Definition: gdal_alg.h:391
Definition: gdal_alg.h:355
void * GDALCreateGenImgProjTransformer3(const char *pszSrcWKT, const double *padfSrcGeoTransform, const char *pszDstWKT, const double *padfDstGeoTransform)
Create image to image transformer.
Definition: gdaltransformer.cpp:1494
int GDALComputeMedianCutPCT(GDALRasterBandH hRed, GDALRasterBandH hGreen, GDALRasterBandH hBlue, int(*pfnIncludePixel)(int, int, void *), int nColors, GDALColorTableH hColorTable, GDALProgressFunc pfnProgress, void *pProgressArg)
Compute optimal PCT for RGB image.
Definition: gdalmediancut.cpp:109
double dfNoDataValue
Definition: gdal_alg.h:459
double dfAngle
Definition: gdal_alg.h:413
Ground Control Point.
Definition: gdal.h:255
double dfSmoothing
Definition: gdal_alg.h:371
void * GDALCreateTPSTransformer(int nGCPCount, const GDAL_GCP *pasGCPList, int bReversed)
Create Thin Plate Spline transformer from GCPs.
Definition: gdal_tps.cpp:116
int GDALChecksumImage(GDALRasterBandH hBand, int nXOff, int nYOff, int nXSize, int nYSize)
Compute checksum for image region.
Definition: gdalchecksum.cpp:58

Generated for GDAL by doxygen 1.8.11.