Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/share/gtk-doc/html/libvips/ drwxr-xr-x | |
| Viewing file: Select action/file-type:
Functions
DescriptionHistograms and look-up tables are 1xn or nx1 images, where n is less than 256 or less than 65536, corresponding to 8- and 16-bit unsigned int images. They are tagged with a VipsInterpretation of VIPS_INTERPRETATION_HISTOGRAM and usually displayed by user-interfaces such as nip2 as plots rather than images. These functions can be broadly grouped as things to find or build
histograms ( A final group of operations build tone curves. These are useful in pre-press work for adjusting the appearance of images. They are designed for CIELAB images, but might be useful elsewhere. Functionsvips_maplut ()int vips_maplut ( Optional arguments:
Map an image through another image acting as a LUT (Look Up Table). The lut may have any type and the output image will be that type. The input image will be cast to one of the unsigned integer types, that is, VIPS_FORMAT_UCHAR, VIPS_FORMAT_USHORT or VIPS_FORMAT_UINT. If If If See also: [method] vips_percent ()int vips_percent ( vips_percent() returns (through the The function works for uchar and ushort images only. It can be used to threshold the scaled result of a filtering operation. See also: [method] vips_stdif ()int vips_stdif ( Optional arguments:
vips_stdif() preforms statistical differencing according to the formula given in page 45 of the book "An Introduction to Digital Image Processing" by Wayne Niblack. This transformation emphasises the way in which a pel differs statistically from its neighbours. It is useful for enhancing low-contrast images with lots of detail, such as X-ray plates. At point (i,j) the output is given by the equation:
Values Try:
The operation works on one-band uchar images only, and writes a one-band uchar image as its result. The output image has the same size as the input. See also: [method] vips_hist_cum ()int vips_hist_cum ( Form cumulative histogram. See also: [method] vips_hist_norm ()int vips_hist_norm ( Normalise histogram ... normalise range to make it square (ie. max == number of elements). Normalise each band separately. See also: [method] vips_hist_equal ()int vips_hist_equal ( Optional arguments:
Histogram-equalise See also: [method] vips_hist_plot ()int vips_hist_plot ( Plot a 1 by any or any by 1 image file as a max by any or any by max image using these rules: unsigned char max is always 256 other unsigned integer types output 0 - maxium
value of signed int types min moved to 0, max moved to max + min. float types min moved to 0, max moved to any (square output) [method] vips_hist_match ()int vips_hist_match ( Adjust See also: [method] vips_hist_local ()int vips_hist_local ( Optional arguments:
Performs local histogram equalisation on The output image is the same size as the input image. The edge pixels are created by mirroring the input image outwards. If See also: [method] vips_hist_ismonotonic ()int vips_hist_ismonotonic ( Test [method] vips_hist_entropy ()int vips_hist_entropy ( Estimate image entropy from a histogram. Entropy is calculated as:
where p is histogram-value / sum-of-histogram-values. [method] vips_case ()int vips_case ( Use values in
Combine this with See also: [method] |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0054 ]-- |