31 #ifndef GDAL_ALG_H_INCLUDED 32 #define GDAL_ALG_H_INCLUDED 51 int (*pfnIncludePixel)(
int,
int,
void*),
54 GDALProgressFunc pfnProgress,
55 void * pProgressArg );
62 GDALProgressFunc pfnProgress,
63 void * pProgressArg );
66 int nXOff,
int nYOff,
int nXSize,
int nYSize );
72 GDALProgressFunc pfnProgress,
73 void * pProgressArg );
78 double dfMaxSearchDist,
79 int bDeprecatedOption,
80 int nSmoothingIterations,
82 GDALProgressFunc pfnProgress,
83 void * pProgressArg );
90 GDALProgressFunc pfnProgress,
91 void * pProgressArg );
98 GDALProgressFunc pfnProgress,
99 void * pProgressArg );
101 CPLErr CPL_DLL CPL_STDCALL
104 int nSizeThreshold,
int nConnectedness,
106 GDALProgressFunc pfnProgress,
107 void * pProgressArg );
115 int bDstToSrc,
int nPointCount,
116 double *x,
double *y,
double *z,
int *panSuccess );
119 #define GDAL_GTI2_SIGNATURE "GTI2" 122 GByte abySignature[4];
123 const char *pszClassName;
125 void (*pfnCleanup)(
void * pTransformerArg );
126 CPLXMLNode *(*pfnSerialize)(
void * pTransformerArg );
127 void* (*pfnCreateSimilar)(
void* pTransformerArg,
double dfSrcRatioX,
double dfSrcRatioY );
128 } GDALTransformerInfo;
132 void CPL_DLL GDALDestroyTransformer(
void *pTransformerArg );
133 int CPL_DLL GDALUseTransformer(
void *pTransformerArg,
134 int bDstToSrc,
int nPointCount,
135 double *x,
double *y,
double *z,
137 void* GDALCreateSimilarTransformer(
void* psTransformerArg,
double dfSrcRatioX,
double dfSrcRatioY );
147 int bGCPUseOK,
double dfGCPErrorThreshold,
151 char **papszOptions );
154 const double *padfSrcGeoTransform,
155 const char *pszDstWKT,
156 const double *padfDstGeoTransform );
161 void *pTransformArg,
int bDstToSrc,
int nPointCount,
162 double *x,
double *y,
double *z,
int *panSuccess );
170 const char *pszDstWKT );
173 void *pTransformArg,
int bDstToSrc,
int nPointCount,
174 double *x,
double *y,
double *z,
int *panSuccess );
179 int nReqOrder,
int bReversed );
184 int nReqOrder,
int bReversed,
double tolerance,
int minimumGcps);
188 void *pTransformArg,
int bDstToSrc,
int nPointCount,
189 double *x,
double *y,
double *z,
int *panSuccess );
198 void *pTransformArg,
int bDstToSrc,
int nPointCount,
199 double *x,
double *y,
double *z,
int *panSuccess );
202 char CPL_DLL ** RPCInfoToMD(
GDALRPCInfo *psRPCInfo );
209 double dfPixErrThreshold,
210 char **papszOptions );
213 void *pTransformArg,
int bDstToSrc,
int nPointCount,
214 double *x,
double *y,
double *z,
int *panSuccess );
220 char **papszGeolocationInfo,
224 void *pTransformArg,
int bDstToSrc,
int nPointCount,
225 double *x,
double *y,
double *z,
int *panSuccess );
230 void *pRawTransformerArg,
double dfMaxError );
235 void *pTransformArg,
int bDstToSrc,
int nPointCount,
236 double *x,
double *y,
double *z,
int *panSuccess );
238 int CPL_DLL CPL_STDCALL
241 int nBandCount,
int *panBandList,
244 GDALProgressFunc pfnProgress,
246 char **papszWarpOptions );
248 CPLErr CPL_DLL CPL_STDCALL
252 double *padfGeoTransformOut,
253 int *pnPixels,
int *pnLines );
254 CPLErr CPL_DLL CPL_STDCALL
258 double *padfGeoTransformOut,
259 int *pnPixels,
int *pnLines,
268 void **ppTransformArg );
277 GDALProgressFunc pfnProgress,
279 char **papszOptions );
287 double *padfX,
double *padfY,
void * );
292 GDALContourGeneratorH CPL_DLL
294 int bNoDataSet,
double dfNoDataValue,
295 double dfContourInterval,
double dfContourBase,
298 double *padfScanline );
306 double adfGeoTransform[6];
313 } OGRContourWriterInfo;
316 OGRContourWriter(
double,
int,
double *,
double *,
void *pInfo );
321 double dfContourInterval,
double dfContourBase,
322 int nFixedLevelCount,
double *padfFixedLevels,
323 int bUseNoData,
double dfNoDataValue,
324 void *hLayer,
int iIDField,
int iElevField,
325 GDALProgressFunc pfnProgress,
void *pProgressArg );
330 GDALProgressFunc pfnProgress,
void *pProgressArg );
338 int nBandCount,
int *panBandList,
342 double *padfGeomBurnValue,
344 GDALProgressFunc pfnProgress,
345 void * pProgressArg );
348 int nBandCount,
int *panBandList,
352 double *padfLayerBurnValues,
354 GDALProgressFunc pfnProgress,
355 void *pProgressArg );
361 const char *pszDstProjection,
362 double *padfDstGeoTransform,
364 void *pTransformArg,
double dfBurnValue,
365 char **papszOptions, GDALProgressFunc pfnProgress,
366 void *pProgressArg );
529 const double *,
const double *,
const double *,
530 double,
double,
double,
double,
532 GDALProgressFunc,
void *);
540 const double *padfX,
const double *padfY,
const double *padfZ,
541 int bCallerWillKeepPointArraysAlive );
546 double dfXMin,
double dfXMax,
double dfYMin,
double dfYMax,
548 GDALProgressFunc pfnProgress,
void *pProgressArg );
564 int anNeighborIdx[3];
598 const double* padfY);
602 const double* padfY);
614 int* panOutputFacetIdx );
619 int* panOutputFacetIdx );
624 void GDALTriangulationTerminate(
void);
628 const char* pszProj4Geoidgrids,
634 double dfSrcUnitToMeter,
635 double dfDstUnitToMeter,
636 const char*
const* papszOptions );
double dfAngle
Definition: gdal_alg.h:503
double dfRadius
Definition: gdal_alg.h:433
void * OGRLayerH
Opaque type for a layer (OGRLayer)
Definition: ogr_api.h:508
Definition: gdal_alg.h:380
CPLErr GDALSuggestedWarpOutput(GDALDatasetH hSrcDS, GDALTransformerFunc pfnTransformer, void *pTransformArg, double *padfGeoTransformOut, int *pnPixels, int *pnLines)
Suggest output file size.
Definition: gdaltransformer.cpp:177
int GDALGenImgProjTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Perform general image reprojection transformation.
Definition: gdaltransformer.cpp:1966
void GDALDestroyReprojectionTransformer(void *)
Destroy reprojection transformation.
Definition: gdaltransformer.cpp:2450
GDALDataType
Definition: gdal.h:60
Document node structure.
Definition: cpl_minixml.h:66
double dfNoDataValue
Definition: gdal_alg.h:451
Definitions for CPL mini XML Parser/Serializer.
int GDALGeoLocTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Use GeoLocation transformer.
Definition: gdalgeoloc.cpp:850
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:630
Data metrics method control options.
Definition: gdal_alg.h:493
CPLErr GDALSuggestedWarpOutput2(GDALDatasetH hSrcDS, GDALTransformerFunc pfnTransformer, void *pTransformArg, double *padfGeoTransformOut, int *pnPixels, int *pnLines, double *padfExtents, int nOptions)
Suggest output file size.
Definition: gdaltransformer.cpp:354
GDALGridContext * GDALGridContextCreate(GDALGridAlgorithm eAlgorithm, const void *poOptions, GUInt32 nPoints, const double *padfX, const double *padfY, const double *padfZ, int bCallerWillKeepPointArraysAlive)
Creates a context to do regular gridding from the scattered data.
Definition: gdalgrid.cpp:1733
#define CPL_C_START
Macro to start a block of C symbols.
Definition: cpl_port.h:337
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:2422
GUInt32 nMinPoints
Definition: gdal_alg.h:471
double dfCstY
dfCstY
Definition: gdal_alg.h:583
void GDALDestroyApproxTransformer(void *pApproxArg)
Cleanup approximate transformer.
Definition: gdaltransformer.cpp:2788
Definition: gdal_alg.h:374
double dfNoDataValue
Definition: gdal_alg.h:489
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:1448
CPLErr GDALTransformGeolocations(GDALRasterBandH hXBand, GDALRasterBandH hYBand, GDALRasterBandH hZBand, GDALTransformerFunc pfnTransformer, void *pTransformArg, GDALProgressFunc pfnProgress, void *pProgressArg, char **papszOptions)
Transform locations held in bands.
Definition: gdaltransformgeolocs.cpp:68
Inverse distance to a power, with nearest neighbour search, control options.
Definition: gdal_alg.h:428
double dfRadius1
Definition: gdal_alg.h:480
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:141
unsigned int GUInt32
Unsigned int32 type.
Definition: cpl_port.h:207
GDALGridAlgorithm
Gridding Algorithms.
Definition: gdal_alg.h:373
CPLErr GDALFPolygonize(GDALRasterBandH hSrcBand, GDALRasterBandH hMaskBand, OGRLayerH hOutLayer, int iPixValField, char **papszOptions, GDALProgressFunc pfnProgress, void *pProgressArg)
Create polygon coverage from raster data.
Definition: polygonize.cpp:904
double dfCstX
dfCstX
Definition: gdal_alg.h:582
GUInt32 nMinPoints
Definition: gdal_alg.h:509
Definition: gdal_alg.h:379
void * GDALDatasetH
Opaque type used for the C bindings of the C++ GDALDataset class.
Definition: gdal.h:255
double dfAngle
Definition: gdal_alg.h:409
void GDALSetTransformerDstGeoTransform(void *, const double *)
Set ApproxTransformer or GenImgProj output geotransform.
Definition: gdaltransformer.cpp:3726
unsigned char GByte
Unsigned byte type.
Definition: cpl_port.h:215
double dfMul2Y
dfMul2Y
Definition: gdal_alg.h:581
Structure to store Rational Polynomial Coefficients / Rigorous Projection Model.
Definition: gdal.h:1012
double dfNoDataValue
Definition: gdal_alg.h:424
void GDALDestroyRPCTransformer(void *pTransformArg)
Destroy RPC tranformer.
Definition: gdal_rpc.cpp:1008
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:112
void * GDALRasterBandH
Opaque type used for the C bindings of the C++ GDALRasterBand class.
Definition: gdal.h:258
GDALTriBarycentricCoefficients * pasFacetCoefficients
arra of nFacets barycentric coefficients
Definition: gdal_alg.h:591
GUInt32 nMinPoints
Definition: gdal_alg.h:422
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:1052
double dfRadius2
Definition: gdal_alg.h:460
Moving average method control options.
Definition: gdal_alg.h:455
double dfRadius1
Definition: gdal_alg.h:402
double dfAnisotropyRatio
Definition: gdal_alg.h:398
GDALTriFacet * pasFacets
array of nFacets facets
Definition: gdal_alg.h:590
CPLErr GDAL_CG_FeedLine(GDALContourGeneratorH hCG, double *padfScanline)
Feed a line to the contour generator.
Definition: contour.cpp:725
double dfRadius1
Definition: gdal_alg.h:496
Triangle barycentric coefficients.
Definition: gdal_alg.h:576
CPLErr GDALContourGenerateEx(GDALRasterBandH hBand, void *hLayer, CSLConstList options, GDALProgressFunc pfnProgress, void *pProgressArg)
Create vector contours from raster DEM.
Definition: contour.cpp:523
void GDALDestroyGenImgProjTransformer(void *)
GenImgProjTransformer deallocator.
Definition: gdaltransformer.cpp:1928
int GDALHasTriangulation(void)
Returns if GDAL is built with Delaunay triangulation support.
Definition: delaunay.c:95
void * GDALCreateGCPTransformer(int nGCPCount, const GDAL_GCP *pasGCPList, int nReqOrder, int bReversed)
Create GCP based polynomial transformer.
Definition: gdal_crs.c:334
void GDALGetTransformerDstGeoTransform(void *, double *)
Get ApproxTransformer or GenImgProj output geotransform.
Definition: gdaltransformer.cpp:3750
void GDALSetGenImgProjTransformerDstGeoTransform(void *, const double *)
Set GenImgProj output geotransform.
Definition: gdaltransformer.cpp:1897
GDALContourGeneratorH GDAL_CG_Create(int nWidth, int nHeight, int bNoDataSet, double dfNoDataValue, double dfContourInterval, double dfContourBase, GDALContourWriter pfnWriter, void *pCBData)
Create contour generator.
Definition: contour.cpp:703
void * GDALCreateGeoLocTransformer(GDALDatasetH hBaseDS, char **papszGeolocationInfo, int bReversed)
Create GeoLocation transformer.
Definition: gdalgeoloc.cpp:649
void GDALDestroyGeoLocTransformer(void *pTransformArg)
Destroy GeoLocation transformer.
Definition: gdalgeoloc.cpp:819
Nearest neighbor method control options.
Definition: gdal_alg.h:477
void GDALDestroyGCPTransformer(void *pTransformArg)
Destroy GCP transformer.
Definition: gdal_crs.c:371
Definition: gdal_alg.h:383
GDAL_GCP * GDALComputeMatchingPoints(GDALDatasetH hFirstImage, GDALDatasetH hSecondImage, char **papszOptions, int *pnGCPCount)
GDALComputeMatchingPoints.
Definition: gdalmatching.cpp:188
Public (C callable) GDAL entry points.
double dfRadius
Definition: gdal_alg.h:522
double dfRadius2
Definition: gdal_alg.h:482
Linear method control options.
Definition: gdal_alg.h:515
CPLErr GDALSieveFilter(GDALRasterBandH hSrcBand, GDALRasterBandH hMaskBand, GDALRasterBandH hDstBand, int nSizeThreshold, int nConnectedness, char **papszOptions, GDALProgressFunc pfnProgress, void *pProgressArg)
Removes small raster polygons.
Definition: gdalsievefilter.cpp:200
Definition: gdal_alg.h:377
char ** CSLConstList
Type of a constant null-terminated list of nul terminated strings.
Definition: cpl_port.h:1186
int GDALTriangulationComputeBarycentricCoefficients(GDALTriangulation *psDT, const double *padfX, const double *padfY)
Computes barycentric coefficients for each triangles of the triangulation.
Definition: delaunay.c:301
Definition: gdal_alg.h:381
double dfPower
Definition: gdal_alg.h:431
double dfNoDataValue
Definition: gdal_alg.h:524
void * GDALCreateRPCTransformer(GDALRPCInfo *psRPC, int bReversed, double dfPixErrThreshold, char **papszOptions)
Create an RPC based transformer.
Definition: gdal_rpc.cpp:762
GDALTriangulation * GDALTriangulationCreateDelaunay(int nPoints, const double *padfX, const double *padfY)
Computes a Delaunay triangulation of the passed points.
Definition: delaunay.c:118
double dfAnisotropyAngle
Definition: gdal_alg.h:400
void * GDALContourGeneratorH
Contour generator opaque type.
Definition: gdal_alg.h:290
int GDALReprojectionTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Perform reprojection transformation.
Definition: gdaltransformer.cpp:2481
double dfRadius1
Definition: gdal_alg.h:458
Definition: gdal_alg.h:375
int GDALTriangulationComputeBarycentricCoordinates(const GDALTriangulation *psDT, int nFacetIdx, double dfX, double dfY, double *pdfL1, double *pdfL2, double *pdfL3)
Computes the barycentric coordinates of a point.
Definition: delaunay.c:378
double dfMul2X
dfMul2X
Definition: gdal_alg.h:580
double dfAngle
Definition: gdal_alg.h:487
Definition: gdal_alg.h:387
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_crs.c:415
CPLErr(* GDALContourWriter)(double dfLevel, int nPoints, double *padfX, double *padfY, void *)
Contour writer callback type.
Definition: gdal_alg.h:286
void * GDALCreateApproxTransformer(GDALTransformerFunc pfnRawTransformer, void *pRawTransformerArg, double dfMaxError)
Create an approximating transformer.
Definition: gdaltransformer.cpp:2724
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:310
void GDALGridContextFree(GDALGridContext *psContext)
Free a context used created by GDALGridContextCreate()
Definition: gdalgrid.cpp:2129
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:230
int(* GDALTransformerFunc)(void *pTransformerArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Definition: gdal_alg.h:114
int GDALRPCTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
RPC transform.
Definition: gdal_rpc.cpp:1915
double dfNoDataValue
Definition: gdal_alg.h:473
void * OGRGeometryH
Opaque type for a geometry.
Definition: ogr_api.h:60
double dfRadius2
Definition: gdal_alg.h:404
int nFacets
number of facets
Definition: gdal_alg.h:589
Definition: gdal_alg.h:378
void * GDALCreateGenImgProjTransformer2(GDALDatasetH hSrcDS, GDALDatasetH hDstDS, char **papszOptions)
Create image to image transformer.
Definition: gdaltransformer.cpp:1301
int GDALTriangulationFindFacetBruteForce(const GDALTriangulation *psDT, double dfX, double dfY, int *panOutputFacetIdx)
Returns the index of the triangle that contains the point by iterating over all triangles.
Definition: delaunay.c:426
GDALDatasetH GDALApplyVerticalShiftGrid(GDALDatasetH hSrcDataset, GDALDatasetH hGridDataset, int bInverse, double dfSrcUnitToMeter, double dfDstUnitToMeter, const char *const *papszOptions)
Apply a vertical shift grid to a source (DEM typically) dataset.
Definition: gdalapplyverticalshiftgrid.cpp:379
double dfRadius2
Definition: gdal_alg.h:498
int GDALTPSTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Transforms point based on GCP derived polynomial model.
Definition: gdal_tps.cpp:358
C API and defines for OGRFeature, OGRGeometry, and OGRDataSource related classes. ...
int GDALApproxTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Perform approximate transformation.
Definition: gdaltransformer.cpp:3106
#define CPL_C_END
Macro to end a block of C symbols.
Definition: cpl_port.h:339
void * GDALCreateGenImgProjTransformer(GDALDatasetH hSrcDS, const char *pszSrcWKT, GDALDatasetH hDstDS, const char *pszDstWKT, int bGCPUseOK, double dfGCPErrorThreshold, int nOrder)
Create image to image transformer.
Definition: gdaltransformer.cpp:1070
Inverse distance to a power method control options.
Definition: gdal_alg.h:391
void GDALDestroyTPSTransformer(void *pTransformArg)
Destroy TPS transformer.
Definition: gdal_tps.cpp:313
double dfSmoothing
Definition: gdal_alg.h:435
CPLErr GDALGridContextProcess(GDALGridContext *psContext, double dfXMin, double dfXMax, double dfYMin, double dfYMax, GUInt32 nXSize, GUInt32 nYSize, GDALDataType eType, void *pData, GDALProgressFunc pfnProgress, void *pProgressArg)
Do the gridding of a window of a raster.
Definition: gdalgrid.cpp:2183
void * GDALColorTableH
Opaque type used for the C bindings of the C++ GDALColorTable class.
Definition: gdal.h:264
void * GDALCreateReprojectionTransformer(const char *pszSrcWKT, const char *pszDstWKT)
Create reprojection transformer.
Definition: gdaltransformer.cpp:2380
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:826
double dfPower
Definition: gdal_alg.h:394
Triangle fact.
Definition: gdal_alg.h:561
GUInt32 nMaxPoints
Definition: gdal_alg.h:416
Definition: gdal_alg.h:376
GDALDatasetH GDALOpenVerticalShiftGrid(const char *pszProj4Geoidgrids, int *pbError)
Load proj.4 geoidgrids as GDAL dataset.
Definition: gdalapplyverticalshiftgrid.cpp:669
void * GDALCreateGenImgProjTransformer3(const char *pszSrcWKT, const double *padfSrcGeoTransform, const char *pszDstWKT, const double *padfDstGeoTransform)
Create image to image transformer.
Definition: gdaltransformer.cpp:1789
CPLErr GDALFillNodata(GDALRasterBandH hTargetBand, GDALRasterBandH hMaskBand, double dfMaxSearchDist, int bDeprecatedOption, int nSmoothingIterations, char **papszOptions, GDALProgressFunc pfnProgress, void *pProgressArg)
Fill selected raster regions by interpolation from the edges.
Definition: rasterfill.cpp:409
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:147
double dfNoDataValue
Definition: gdal_alg.h:511
Definition: gdal_alg.h:385
double dfMul1Y
dfMul1Y
Definition: gdal_alg.h:579
struct GDALGridContext GDALGridContext
Grid context opaque type.
Definition: gdal_alg.h:535
double dfAngle
Definition: gdal_alg.h:465
void GDALApproxTransformerOwnsSubtransformer(void *pCBData, int bOwnFlag)
Set bOwnSubtransformer flag.
Definition: gdaltransformer.cpp:2767
void * GDALCreateGCPRefineTransformer(int nGCPCount, const GDAL_GCP *pasGCPList, int nReqOrder, int bReversed, double tolerance, int minimumGcps)
Create GCP based polynomial transformer, with a tolerance threshold to discard GCPs that transform ba...
Definition: gdal_crs.c:344
void GDALTriangulationFree(GDALTriangulation *psDT)
Free a triangulation.
Definition: delaunay.c:275
int GDALTriangulationFindFacetDirected(const GDALTriangulation *psDT, int nFacetIdx, double dfX, double dfY, int *panOutputFacetIdx)
Returns the index of the triangle that contains the point by walking in the triangulation.
Definition: delaunay.c:521
double dfMul1X
dfMul1X
Definition: gdal_alg.h:578
GUInt32 nMinPoints
Definition: gdal_alg.h:449
void GDAL_CG_Destroy(GDALContourGeneratorH hCG)
Destroy contour generator.
Definition: contour.cpp:737
Ground Control Point.
Definition: gdal.h:560
CPLErr
Error category.
Definition: cpl_error.h:52
double dfSmoothing
Definition: gdal_alg.h:396
GUInt32 nMaxPoints
Definition: gdal_alg.h:443
void * GDALCreateTPSTransformer(int nGCPCount, const GDAL_GCP *pasGCPList, int bReversed)
Create Thin Plate Spline transformer from GCPs.
Definition: gdal_tps.cpp:144
int GDALChecksumImage(GDALRasterBandH hBand, int nXOff, int nYOff, int nXSize, int nYSize)
Compute checksum for image region.
Definition: gdalchecksum.cpp:66
Triangulation structure.
Definition: gdal_alg.h:587