Documentation ¶
Overview ¶
Package gamma provides gamma Processor and CorrectionProcessor.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CorrectionProcessor ¶
type CorrectionProcessor struct { imageserver_image.Processor // contains filtered or unexported fields }
CorrectionProcessor is a Processor that corrects gamma.
func NewCorrectionProcessor ¶
func NewCorrectionProcessor(prc imageserver_image.Processor, enabled bool) *CorrectionProcessor
NewCorrectionProcessor creates a CorrectionProcessor.
func (*CorrectionProcessor) Process ¶
func (prc *CorrectionProcessor) Process(nim image.Image, params imageserver.Params) (image.Image, error)
Process implements Processor.
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
Processor is a Processor that applies gamma transformation.
func NewProcessor ¶
NewProcessor creates a Processor.
Click to show internal directories.
Click to hide internal directories.