MCPcopy Create free account
hub / github.com/OSGeo/gdal / GetRasterDataType

Method GetRasterDataType

swig/java/javadoc.java:3168–3206  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3166 *
3167 */
3168public class Band:public int GetRasterDataType()
3169
3170/**
3171 * Fetch image statistics.
3172 * <p>
3173 * Returns the minimum, maximum, mean and standard deviation of all
3174 * pixel values in this band. If approximate statistics are sufficient,
3175 * the approx_ok flag can be set to true in which case overviews, or a
3176 * subset of image tiles may be used in computing the statistics.
3177 * <p>
3178 * If force is false results will only be returned if it can be done
3179 * quickly (i.e. without scanning the data). If force is false and
3180 * results cannot be returned efficiently, the method will return CE_Warning
3181 * but no warning will have been issued. This is a non-standard use of
3182 * the CE_Warning return value to indicate "nothing done".
3183 * <p>
3184 * Note that file formats using PAM (Persistent Auxiliary Metadata) services
3185 * will generally cache statistics in the .pam file allowing fast fetch
3186 * after the first request.
3187 *
3188 * @param approx_ok If true statistics may be computed based on overviews
3189 * or a subset of all tiles.
3190 *
3191 * @param force If true statistics will only be returned if it can
3192 * be done without rescanning the image.
3193 *
3194 * @param min Allocated array of one double into which to load image minimum (may be null).
3195 *
3196 * @param max Allocated array of one double into which to load image maximum (may be null).
3197 *
3198 * @param mean Allocated array of one double into which to load image mean (may be null).
3199 *
3200 * @param stddev Allocated array of one double into which to load image standard deviation
3201 * (may be null).
3202 *
3203 * @return gdalconst.CE_None on success, gdalconst.CE_Warning if no values returned,
3204 * gdalconst.CE_Failure if an error occurs.
3205 *
3206 */
3207public class Band:public int GetStatistics(boolean approx_ok, boolean force, double[] min, double[] max, double[] mean, double[] stddev)
3208
3209/**

Callers 15

LLVMFuzzerTestOneInputFunction · 0.45
TEST_FFunction · 0.45
GDALRasterizeLayersFunction · 0.45
GDALInterpolateAtPointFunction · 0.45
InitializeMethod · 0.45
ProcessRegionMethod · 0.45
InitFunction · 0.45
WriteEnhancedFunction · 0.45
RunStepMethod · 0.45

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.36
TestUseBlockIOMethod · 0.36