File: libvips-histogram.md

package info (click to toggle)
vips 8.17.3-2
  • links: PTS
  • area: main
  • in suites: sid
  • size: 52,228 kB
  • sloc: ansic: 169,684; cpp: 12,156; python: 4,887; sh: 733; perl: 40; makefile: 25; javascript: 6
file content (36 lines) | stat: -rw-r--r-- 1,337 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Title: Operator index > By section > Histogram

<!-- libvips/histogram -->

Histograms 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 [enum@Interpretation] of
[enum@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 ([method@Image.hist_find], [method@Image.hist_find_indexed],
[method@Image.hist_find_ndim], [method@Image.buildlut],
[ctor@Image.identity]), operations that manipulate histograms in some way
([method@Image.hist_cum], [method@Image.hist_norm]),
operations to apply histograms ([method@Image.maplut]), and a variety of
utility operations.

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.

## Functions

* [method@Image.maplut]
* [method@Image.percent]
* [method@Image.stdif]
* [method@Image.hist_cum]
* [method@Image.hist_norm]
* [method@Image.hist_equal]
* [method@Image.hist_plot]
* [method@Image.hist_match]
* [method@Image.hist_local]
* [method@Image.hist_ismonotonic]
* [method@Image.hist_entropy]
* [method@Image.case]