Method
VipsImagemeasure
Declaration [src]
int
vips_measure (
VipsImage* in,
VipsImage** out,
int h,
int v,
...
)
Description [src]
Optional arguments:
left
: area of image containing charttop
: area of image containing chartwidth
: area of image containing chartheight
: area of image containing chart
Analyse a grid of colour patches, producing an array of patch averages. The mask has a row for each measured patch and a column for each image band. The operations issues a warning if any patch has a deviation more than 20% of the mean. Only the central 50% of each patch is averaged.
If the chart does not fill the whole image, use the optional left
, top
,
width
, height
arguments to indicate the
position of the chart.
See also: vips_avg(), vips_deviate().
This method is not directly available to language bindings. |
Parameters
out |
VipsImage |
Array of measurements. |
|
The argument will be set by the function. | |
The instance takes ownership of the data, and is responsible for freeing it. | |
h |
int |
Patches across chart. |
|
v |
int |
Patches down chart. |
|
... |
|
|