Go to the documentation of this file.
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 );
160 const double *padfSrcGeoTransform,
162 const double *padfDstGeoTransform,
163 const char*
const *papszOptions );
169 void *pTransformArg,
int bDstToSrc,
int nPointCount,
170 double *x,
double *y,
double *z,
int *panSuccess );
178 const char *pszDstWKT );
183 const char*
const *papszOptions);
186 void *pTransformArg,
int bDstToSrc,
int nPointCount,
187 double *x,
double *y,
double *z,
int *panSuccess );
192 int nReqOrder,
int bReversed );
197 int nReqOrder,
int bReversed,
double tolerance,
int minimumGcps);
201 void *pTransformArg,
int bDstToSrc,
int nPointCount,
202 double *x,
double *y,
double *z,
int *panSuccess );
211 void *pTransformArg,
int bDstToSrc,
int nPointCount,
212 double *x,
double *y,
double *z,
int *panSuccess );
215 char CPL_DLL ** RPCInfoToMD(
GDALRPCInfo *psRPCInfo );
222 double dfPixErrThreshold,
223 char **papszOptions );
226 void *pTransformArg,
int bDstToSrc,
int nPointCount,
227 double *x,
double *y,
double *z,
int *panSuccess );
233 char **papszGeolocationInfo,
237 void *pTransformArg,
int bDstToSrc,
int nPointCount,
238 double *x,
double *y,
double *z,
int *panSuccess );
243 void *pRawTransformerArg,
double dfMaxError );
248 void *pTransformArg,
int bDstToSrc,
int nPointCount,
249 double *x,
double *y,
double *z,
int *panSuccess );
251 int CPL_DLL CPL_STDCALL
254 int nBandCount,
int *panBandList,
257 GDALProgressFunc pfnProgress,
259 char **papszWarpOptions );
261 CPLErr CPL_DLL CPL_STDCALL
265 double *padfGeoTransformOut,
266 int *pnPixels,
int *pnLines );
267 CPLErr CPL_DLL CPL_STDCALL
271 double *padfGeoTransformOut,
272 int *pnPixels,
int *pnLines,
281 void **ppTransformArg );
290 GDALProgressFunc pfnProgress,
292 char **papszOptions );
300 double *padfX,
double *padfY,
void * );
307 int bNoDataSet,
double dfNoDataValue,
308 double dfContourInterval,
double dfContourBase,
311 double *padfScanline );
319 double adfGeoTransform[6];
326 } OGRContourWriterInfo;
329 OGRContourWriter(
double,
int,
double *,
double *,
void *pInfo );
334 double dfContourInterval,
double dfContourBase,
335 int nFixedLevelCount,
double *padfFixedLevels,
336 int bUseNoData,
double dfNoDataValue,
337 void *hLayer,
int iIDField,
int iElevField,
338 GDALProgressFunc pfnProgress,
void *pProgressArg );
343 GDALProgressFunc pfnProgress,
void *pProgressArg );
360 GVOT_MIN_TARGET_HEIGHT_FROM_DEM = 2,
361 GVOT_MIN_TARGET_HEIGHT_FROM_GROUND = 3
366 const char* pszDriverName,
367 const char* pszTargetRasterName,
369 double dfObserverX,
double dfObserverY,
double dfObserverHeight,
370 double dfTargetHeight,
double dfVisibleVal,
double dfInvisibleVal,
371 double dfOutOfRangeVal,
double dfNoDataVal,
double dfCurvCoeff,
373 GDALProgressFunc pfnProgress,
void *pProgressArg,
382 int nBandCount,
int *panBandList,
386 double *padfGeomBurnValue,
388 GDALProgressFunc pfnProgress,
389 void * pProgressArg );
392 int nBandCount,
int *panBandList,
396 double *padfLayerBurnValues,
398 GDALProgressFunc pfnProgress,
399 void *pProgressArg );
405 const char *pszDstProjection,
406 double *padfDstGeoTransform,
408 void *pTransformArg,
double dfBurnValue,
409 char **papszOptions, GDALProgressFunc pfnProgress,
410 void *pProgressArg );
573 const double *,
const double *,
const double *,
574 double,
double,
double,
double,
576 GDALProgressFunc,
void *);
584 const double *padfX,
const double *padfY,
const double *padfZ,
585 int bCallerWillKeepPointArraysAlive );
590 double dfXMin,
double dfXMax,
double dfYMin,
double dfYMax,
592 GDALProgressFunc pfnProgress,
void *pProgressArg );
608 int anNeighborIdx[3];
642 const double* padfY);
646 const double* padfY);
658 int* panOutputFacetIdx );
663 int* panOutputFacetIdx );
668 void GDALTriangulationTerminate(
void);
672 const char* pszProj4Geoidgrids,
678 double dfSrcUnitToMeter,
679 double dfDstUnitToMeter,
680 const char*
const* papszOptions );
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
Data metrics method control options.
Definition: gdal_alg.h:537
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
void GDALDestroyGenImgProjTransformer(void *)
GenImgProjTransformer deallocator.
Definition: gdaltransformer.cpp:2263
unsigned char GByte
Unsigned byte type.
Definition: cpl_port.h:215
@ GGA_Linear
Definition: gdal_alg.h:429
void * GDALCreateGenImgProjTransformer4(OGRSpatialReferenceH hSrcSRS, const double *padfSrcGeoTransform, OGRSpatialReferenceH hDstSRS, const double *padfDstGeoTransform, const char *const *papszOptions)
Create image to image transformer.
Definition: gdaltransformer.cpp:2123
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.cpp:410
void GDALDestroyGeoLocTransformer(void *pTransformArg)
Destroy GeoLocation transformer.
Definition: gdalgeoloc.cpp:854
double dfRadius2
Definition: gdal_alg.h:542
void * GDALCreateReprojectionTransformerEx(OGRSpatialReferenceH hSrcSRS, OGRSpatialReferenceH hDstSRS, const char *const *papszOptions)
Create reprojection transformer.
Definition: gdaltransformer.cpp:2793
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
void GDAL_CG_Destroy(GDALContourGeneratorH hCG)
Destroy contour generator.
Definition: contour.cpp:746
void * GDALCreateGCPTransformer(int nGCPCount, const GDAL_GCP *pasGCPList, int nReqOrder, int bReversed)
Create GCP based polynomial transformer.
Definition: gdal_crs.cpp:331
GDALTriBarycentricCoefficients * pasFacetCoefficients
arra of nFacets barycentric coefficients
Definition: gdal_alg.h:635
GUInt32 nMinPoints
Definition: gdal_alg.h:553
void * GDALCreateGenImgProjTransformer3(const char *pszSrcWKT, const double *padfSrcGeoTransform, const char *pszDstWKT, const double *padfDstGeoTransform)
Create image to image transformer.
Definition: gdaltransformer.cpp:2068
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
GDALViewshedOutputType
Viewshed output types.
Definition: gdal_alg.h:358
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
double dfAnisotropyAngle
Definition: gdal_alg.h:444
void * GDALColorTableH
Opaque type used for the C bindings of the C++ GDALColorTable class.
Definition: gdal.h:264
@ GGA_MovingAverage
Definition: gdal_alg.h:419
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:374
@ GGA_MetricCount
Definition: gdal_alg.h:424
void * GDALCreateRPCTransformer(GDALRPCInfo *psRPC, int bReversed, double dfPixErrThreshold, char **papszOptions)
Create an RPC based transformer.
Definition: gdal_rpc.cpp:776
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
CPLErr GDALSuggestedWarpOutput(GDALDatasetH hSrcDS, GDALTransformerFunc pfnTransformer, void *pTransformArg, double *padfGeoTransformOut, int *pnPixels, int *pnLines)
Suggest output file size.
Definition: gdaltransformer.cpp:177
GDAL_GCP * GDALComputeMatchingPoints(GDALDatasetH hFirstImage, GDALDatasetH hSecondImage, char **papszOptions, int *pnGCPCount)
GDALComputeMatchingPoints.
Definition: gdalmatching.cpp:188
@ GGA_InverseDistanceToAPowerNearestNeighbor
Definition: gdal_alg.h:431
GUInt32 nMinPoints
Definition: gdal_alg.h:515
GUInt32 nMaxPoints
Definition: gdal_alg.h:460
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 dfNoDataValue
Definition: gdal_alg.h:495
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:1572
GDALDataType
Definition: gdal.h:60
Document node structure.
Definition: cpl_minixml.h:69
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
GDALViewshedMode
Viewshed Modes.
Definition: gdal_alg.h:350
GUInt32 nMinPoints
Definition: gdal_alg.h:493
double dfNoDataValue
Definition: gdal_alg.h:568
Inverse distance to a power, with nearest neighbour search, control options.
Definition: gdal_alg.h:472
GUInt32 nMinPoints
Definition: gdal_alg.h:466
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 dfRadius
Definition: gdal_alg.h:566
double dfNoDataValue
Definition: gdal_alg.h:555
void GDALGetTransformerDstGeoTransform(void *, double *)
Get ApproxTransformer or GenImgProj output geotransform.
Definition: gdaltransformer.cpp:4263
void GDALDestroyApproxTransformer(void *pApproxArg)
Cleanup approximate transformer.
Definition: gdaltransformer.cpp:3298
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 dfRadius
Definition: gdal_alg.h:477
#define CPL_C_START
Macro to start a block of C symbols.
Definition: cpl_port.h:337
double dfCstY
dfCstY
Definition: gdal_alg.h:627
void * OGRSpatialReferenceH
Opaque type for a spatial reference system.
Definition: ogr_api.h:75
double dfSmoothing
Definition: gdal_alg.h:440
void GDALTriangulationFree(GDALTriangulation *psDT)
Free a triangulation.
Definition: delaunay.c:275
double dfRadius2
Definition: gdal_alg.h:504
CPLErr(* GDALContourWriter)(double dfLevel, int nPoints, double *padfX, double *padfY, void *)
Contour writer callback type.
Definition: gdal_alg.h:299
void * GDALCreateGeoLocTransformer(GDALDatasetH hBaseDS, char **papszGeolocationInfo, int bReversed)
Create GeoLocation transformer.
Definition: gdalgeoloc.cpp:680
int nFacets
number of facets
Definition: gdal_alg.h:633
void * GDALCreateApproxTransformer(GDALTransformerFunc pfnRawTransformer, void *pRawTransformerArg, double dfMaxError)
Create an approximating transformer.
Definition: gdaltransformer.cpp:3234
void GDALDestroyRPCTransformer(void *pTransformArg)
Destroy RPC tranformer.
Definition: gdal_rpc.cpp:1054
CPLErr GDAL_CG_FeedLine(GDALContourGeneratorH hCG, double *padfScanline)
Feed a line to the contour generator.
Definition: contour.cpp:734
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.cpp:341
char ** CSLConstList
Type of a constant null-terminated list of nul terminated strings.
Definition: cpl_port.h:1212
double dfPower
Definition: gdal_alg.h:438
int GDALRPCTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
RPC transform.
Definition: gdal_rpc.cpp:2031
Moving average method control options.
Definition: gdal_alg.h:499
int GDALGeoLocTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Use GeoLocation transformer.
Definition: gdalgeoloc.cpp:885
Ground Control Point.
Definition: gdal.h:660
#define CPL_C_END
Macro to end a block of C symbols.
Definition: cpl_port.h:339
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:412
void GDALDestroyGCPTransformer(void *pTransformArg)
Destroy GCP transformer.
Definition: gdal_crs.cpp:368
Linear method control options.
Definition: gdal_alg.h:559
void GDALDestroyTPSTransformer(void *pTransformArg)
Destroy TPS transformer.
Definition: gdal_tps.cpp:319
GDALDatasetH GDALViewshedGenerate(GDALRasterBandH hBand, const char *pszDriverName, const char *pszTargetRasterName, CSLConstList papszCreationOptions, double dfObserverX, double dfObserverY, double dfObserverHeight, double dfTargetHeight, double dfVisibleVal, double dfInvisibleVal, double dfOutOfRangeVal, double dfNoDataVal, double dfCurvCoeff, GDALViewshedMode eMode, double dfMaxDistance, GDALProgressFunc pfnProgress, void *pProgressArg, GDALViewshedOutputType heightMode, CSLConstList papszExtraOptions)
Create viewshed from raster DEM.
Definition: viewshed.cpp:202
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:712
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
double dfSmoothing
Definition: gdal_alg.h:479
void * GDALCreateReprojectionTransformer(const char *pszSrcWKT, const char *pszDstWKT)
Create reprojection transformer.
Definition: gdaltransformer.cpp:2726
Triangle fact.
Definition: gdal_alg.h:605
double dfRadius2
Definition: gdal_alg.h:448
void GDALDestroyReprojectionTransformer(void *)
Destroy reprojection transformation.
Definition: gdaltransformer.cpp:2895
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
Nearest neighbor method control options.
Definition: gdal_alg.h:521
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:364
void GDALGridContextFree(GDALGridContext *psContext)
Free a context used created by GDALGridContextCreate()
Definition: gdalgrid.cpp:2129
void * OGRGeometryH
Opaque type for a geometry.
Definition: ogr_api.h:60
double dfNoDataValue
Definition: gdal_alg.h:517
int(* GDALTransformerFunc)(void *pTransformerArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Definition: gdal_alg.h:114
void GDALApproxTransformerOwnsSubtransformer(void *pCBData, int bOwnFlag)
Set bOwnSubtransformer flag.
Definition: gdaltransformer.cpp:3277
double dfAngle
Definition: gdal_alg.h:531
double dfMul1Y
dfMul1Y
Definition: gdal_alg.h:623
void GDALSetGenImgProjTransformerDstGeoTransform(void *, const double *)
Set GenImgProj output geotransform.
Definition: gdaltransformer.cpp:2232
void GDALSetTransformerDstGeoTransform(void *, const double *)
Set ApproxTransformer or GenImgProj output geotransform.
Definition: gdaltransformer.cpp:4239
void * GDALCreateTPSTransformer(int nGCPCount, const GDAL_GCP *pasGCPList, int bReversed)
Create Thin Plate Spline transformer from GCPs.
Definition: gdal_tps.cpp:144
@ GGA_MetricAverageDistancePts
Definition: gdal_alg.h:427
double dfRadius2
Definition: gdal_alg.h:526
double dfMul1X
dfMul1X
Definition: gdal_alg.h:622
double dfNoDataValue
Definition: gdal_alg.h:533
@ GGA_MetricRange
Definition: gdal_alg.h:423
double dfRadius1
Definition: gdal_alg.h:540
int GDALApproxTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Perform approximate transformation.
Definition: gdaltransformer.cpp:3616
void * GDALContourGeneratorH
Contour generator opaque type.
Definition: gdal_alg.h:303
int GDALGenImgProjTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Perform general image reprojection transformation.
Definition: gdaltransformer.cpp:2301
GDALTriFacet * pasFacets
array of nFacets facets
Definition: gdal_alg.h:634
CPLErr GDALContourGenerateEx(GDALRasterBandH hBand, void *hLayer, CSLConstList options, GDALProgressFunc pfnProgress, void *pProgressArg)
Create vector contours from raster DEM.
Definition: contour.cpp:523
double dfAnisotropyRatio
Definition: gdal_alg.h:442
struct GDALGridContext GDALGridContext
Grid context opaque type.
Definition: gdal_alg.h:579
GDALDatasetH GDALOpenVerticalShiftGrid(const char *pszProj4Geoidgrids, int *pbError)
Load proj.4 geoidgrids as GDAL dataset.
Definition: gdalapplyverticalshiftgrid.cpp:615
double dfRadius1
Definition: gdal_alg.h:502
int GDALChecksumImage(GDALRasterBandH hBand, int nXOff, int nYOff, int nXSize, int nYSize)
Compute checksum for image region.
Definition: gdalchecksum.cpp:66
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
double dfRadius1
Definition: gdal_alg.h:524
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
CPLErr
Error category.
Definition: cpl_error.h:52
void * GDALCreateGenImgProjTransformer2(GDALDatasetH hSrcDS, GDALDatasetH hDstDS, char **papszOptions)
Create image to image transformer.
Definition: gdaltransformer.cpp:1470
double dfMul2Y
dfMul2Y
Definition: gdal_alg.h:625
Structure to store Rational Polynomial Coefficients / Rigorous Projection Model.
Definition: gdal.h:1126
int GDALHasTriangulation(void)
Returns if GDAL is built with Delaunay triangulation support.
Definition: delaunay.c:95
double dfMul2X
dfMul2X
Definition: gdal_alg.h:624
int GDALReprojectionTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Perform reprojection transformation.
Definition: gdaltransformer.cpp:2928
double dfNoDataValue
Definition: gdal_alg.h:468
double dfAngle
Definition: gdal_alg.h:547
double dfPower
Definition: gdal_alg.h:475
double dfAngle
Definition: gdal_alg.h:453
int GDALTriangulationComputeBarycentricCoefficients(GDALTriangulation *psDT, const double *padfX, const double *padfY)
Computes barycentric coefficients for each triangles of the triangulation.
Definition: delaunay.c:301
double dfAngle
Definition: gdal_alg.h:509
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
GDALTriangulation * GDALTriangulationCreateDelaunay(int nPoints, const double *padfX, const double *padfY)
Computes a Delaunay triangulation of the passed points.
Definition: delaunay.c:118
@ GGA_NearestNeighbor
Definition: gdal_alg.h:420
@ GGA_MetricMaximum
Definition: gdal_alg.h:422
Inverse distance to a power method control options.
Definition: gdal_alg.h:435
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:1179
@ GGA_MetricAverageDistance
Definition: gdal_alg.h:425
@ GGA_InverseDistanceToAPower
Definition: gdal_alg.h:418
Triangle barycentric coefficients.
Definition: gdal_alg.h:620
void * OGRLayerH
Opaque type for a layer (OGRLayer)
Definition: ogr_api.h:521
GDALGridAlgorithm
Gridding Algorithms.
Definition: gdal_alg.h:417
void * GDALRasterBandH
Opaque type used for the C bindings of the C++ GDALRasterBand class.
Definition: gdal.h:258
Triangulation structure.
Definition: gdal_alg.h:631
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:755
double dfRadius1
Definition: gdal_alg.h:446
void * GDALDatasetH
Opaque type used for the C bindings of the C++ GDALDataset class.
Definition: gdal.h:255
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
double dfCstX
dfCstX
Definition: gdal_alg.h:626
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
GUInt32 nMaxPoints
Definition: gdal_alg.h:487
@ GGA_MetricMinimum
Definition: gdal_alg.h:421
unsigned int GUInt32
Unsigned int32 type.
Definition: cpl_port.h:207