Documentation
¶
Index ¶
- Variables
- type Cube
- func (c Cube) Apply(img image.Image) *image.RGBA
- func (c Cube) ApplyScaled(img image.Image, intensity float64) *image.RGBA
- func (c *Cube) Blend(c2 Cube, i1, i2 float64) (*Cube, error)
- func (c *Cube) Clamp() *Cube
- func (c *Cube) MustBlend(c2 Cube, i1, i2 float64) *Cube
- func (c *Cube) MustSum(c2 Cube) *Cube
- func (c *Cube) Rescale() *Cube
- func (c *Cube) Scale(v float64) *Cube
- func (c Cube) String() string
- func (c *Cube) Sum(c2 Cube) (*Cube, error)
- func (c Cube) WriteTo(w io.Writer) (n int64, err error)
- type Sample
- func (s *Sample) Blend(s2 Sample, w1, w2 float64) *Sample
- func (s *Sample) Clamp(min, max Sample) *Sample
- func (s *Sample) Rescale(minVal, maxVal float64, domainMin, domainMax Sample) *Sample
- func (s *Sample) Scale(v float64) *Sample
- func (s Sample) String() string
- func (s *Sample) Sum(s2 Sample) *Sample
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Cube ¶
type Cube struct {
Title string
Meta string
LUT3Dsize int
DomainMin Sample
DomainMax Sample
Samples []Sample
}
Click to show internal directories.
Click to hide internal directories.