File: interpretation.rb

package info (click to toggle)
ruby-vips 2.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,164 kB
  • sloc: ruby: 3,530; makefile: 3
file content (27 lines) | stat: -rw-r--r-- 1,011 bytes parent folder | download | duplicates (2)
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
module Vips
  # How the values in an image should be interpreted. For example, a
  # three-band float image of type :lab should have its
  # pixels interpreted as coordinates in CIE Lab space.
  #
  # * `:multiband` generic many-band image
  # * `:b_w` some kind of single-band image
  # * `:histogram` a 1D image, eg. histogram or lookup table
  # * `:fourier` image is in fourier space
  # * `:xyz` the first three bands are CIE XYZ
  # * `:lab` pixels are in CIE Lab space
  # * `:cmyk` the first four bands are in CMYK space
  # * `:labq` implies #VIPS_CODING_LABQ
  # * `:rgb` generic RGB space
  # * `:cmc` a uniform colourspace based on CMC(1:1)
  # * `:lch` pixels are in CIE LCh space
  # * `:labs` CIE LAB coded as three signed 16-bit values
  # * `:srgb` pixels are sRGB
  # * `:hsv` pixels are HSV
  # * `:scrgb` pixels are scRGB
  # * `:yxy` pixels are CIE Yxy
  # * `:rgb16` generic 16-bit RGB
  # * `:grey16` generic 16-bit mono
  # * `:matrix` a matrix
  class Interpretation < Symbol
  end
end