Method
VipsImagemin
Declaration [src]
int
vips_min (
VipsImage* in,
double* out,
...
)
Description [src]
This operation finds the minimum value in an image.
By default it finds the single smallest value. If size is set >1, it will
find the size smallest values. It will stop searching early if has found
enough values.
Equal values will be sorted by y then x.
It operates on all
bands of the input image: use vips_stats() if you need to find an
minimum for each band.
For complex images, this operation finds the minimum modulus.
You can read out the position of the minimum with x and y. You can read
out arrays of the values and positions of the top size minima with
out_array, x_array and y_array.
These values are returned sorted from
smallest to largest.
If there are more than size minima, the minima returned will be a random
selection of the minima in the image.
Optional arguments
x: horizontal position of minimumy: vertical position of minimumsize: number of minima to findout_array: return array of minimum valuesx_array: corresponding horizontal positionsy_array: corresponding vertical positions
See also
This method is not directly available to language bindings.