hsl

package
v0.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpHSLApplyLum

type OpHSLApplyLum struct {
	ops.OpUnaryBase
}

func NewOpHSLApplyLum

func NewOpHSLApplyLum() *OpHSLApplyLum

func NewOpHSLApplyLumDefault

func NewOpHSLApplyLumDefault() *OpHSLApplyLum

func (*OpHSLApplyLum) Apply

func (op *OpHSLApplyLum) Apply(f *fits.Image, c *ops.Context) (fOut *fits.Image, err error)

func (*OpHSLApplyLum) UnmarshalJSON

func (op *OpHSLApplyLum) UnmarshalJSON(data []byte) error

Unmarshal the type from JSON with default values for missing entries

type OpHSLGamma

type OpHSLGamma struct {
	ops.OpUnaryBase
	Gamma float32 `json:"gamma"`
}

func NewOpHSLGamma

func NewOpHSLGamma(gamma float32) *OpHSLGamma

func NewOpHSLGammaDefault

func NewOpHSLGammaDefault() *OpHSLGamma

func (*OpHSLGamma) Apply

func (op *OpHSLGamma) Apply(f *fits.Image, c *ops.Context) (fOut *fits.Image, err error)

func (*OpHSLGamma) UnmarshalJSON

func (op *OpHSLGamma) UnmarshalJSON(data []byte) error

Unmarshal the type from JSON with default values for missing entries

type OpHSLGammaPP

type OpHSLGammaPP struct {
	ops.OpUnaryBase
	Gamma float32 `json:"gamma"`
	Sigma float32 `json:"sigma"`
}

func NewOpHSLGammaPP

func NewOpHSLGammaPP(gamma, sigma float32) *OpHSLGammaPP

func NewOpHSLGammaPPDefault

func NewOpHSLGammaPPDefault() *OpHSLGammaPP

func (*OpHSLGammaPP) Apply

func (op *OpHSLGammaPP) Apply(f *fits.Image, c *ops.Context) (fOut *fits.Image, err error)

func (*OpHSLGammaPP) UnmarshalJSON

func (op *OpHSLGammaPP) UnmarshalJSON(data []byte) error

Unmarshal the type from JSON with default values for missing entries

type OpHSLMidtones

type OpHSLMidtones struct {
	ops.OpUnaryBase
	Mid   float32 `json:"mid"`
	Black float32 `json:"black"`
}

func NewOpHSLMidtones

func NewOpHSLMidtones(mid, black float32) *OpHSLMidtones

func NewOpHSLMidtonesDefault

func NewOpHSLMidtonesDefault() *OpHSLMidtones

func (*OpHSLMidtones) Apply

func (op *OpHSLMidtones) Apply(f *fits.Image, c *ops.Context) (fOut *fits.Image, err error)

func (*OpHSLMidtones) UnmarshalJSON

func (op *OpHSLMidtones) UnmarshalJSON(data []byte) error

Unmarshal the type from JSON with default values for missing entries

type OpHSLNeutralizeBackground

type OpHSLNeutralizeBackground struct {
	ops.OpUnaryBase
	SigmaLow  float32 `json:"sigmaLow"`
	SigmaHigh float32 `json:"sigmaHigh"`
}

func NewOpHSLNeutralizeBackground

func NewOpHSLNeutralizeBackground(sigmaLow, sigmaHigh float32) *OpHSLNeutralizeBackground

func NewOpHSLNeutralizeBackgroundDefault

func NewOpHSLNeutralizeBackgroundDefault() *OpHSLNeutralizeBackground

func (*OpHSLNeutralizeBackground) Apply

func (op *OpHSLNeutralizeBackground) Apply(f *fits.Image, c *ops.Context) (fOut *fits.Image, err error)

func (*OpHSLNeutralizeBackground) UnmarshalJSON

func (op *OpHSLNeutralizeBackground) UnmarshalJSON(data []byte) error

Unmarshal the type from JSON with default values for missing entries

type OpHSLRotateHue

type OpHSLRotateHue struct {
	ops.OpUnaryBase
	From   float32 `json:"from"`
	To     float32 `json:"to"`
	Offset float32 `json:"offset"`
	Sigma  float32 `json:"sigma"`
}

func NewOpHSLRotateHue

func NewOpHSLRotateHue(from, to, offset, sigma float32) *OpHSLRotateHue

func NewOpHSLRotateHueDefault

func NewOpHSLRotateHueDefault() *OpHSLRotateHue

func (*OpHSLRotateHue) Apply

func (op *OpHSLRotateHue) Apply(f *fits.Image, c *ops.Context) (fOut *fits.Image, err error)

func (*OpHSLRotateHue) UnmarshalJSON

func (op *OpHSLRotateHue) UnmarshalJSON(data []byte) error

Unmarshal the type from JSON with default values for missing entries

type OpHSLSCNR

type OpHSLSCNR struct {
	ops.OpUnaryBase
	Factor float32 `json:"factor"`
}

func NewOpHSLSCNR

func NewOpHSLSCNR(factor float32) *OpHSLSCNR

func NewOpHSLSCNRDefault

func NewOpHSLSCNRDefault() *OpHSLSCNR

func (*OpHSLSCNR) Apply

func (op *OpHSLSCNR) Apply(f *fits.Image, c *ops.Context) (fOut *fits.Image, err error)

func (*OpHSLSCNR) UnmarshalJSON

func (op *OpHSLSCNR) UnmarshalJSON(data []byte) error

Unmarshal the type from JSON with default values for missing entries

type OpHSLSaturationGamma

type OpHSLSaturationGamma struct {
	ops.OpUnaryBase
	Gamma float32 `json:"gamma"`
	Sigma float32 `json:"sigma"`
}

func NewOpHSLSaturationGamma

func NewOpHSLSaturationGamma(gamma, sigma float32) *OpHSLSaturationGamma

func NewOpHSLSaturationGammaDefault

func NewOpHSLSaturationGammaDefault() *OpHSLSaturationGamma

func (*OpHSLSaturationGamma) Apply

func (op *OpHSLSaturationGamma) Apply(f *fits.Image, c *ops.Context) (fOut *fits.Image, err error)

func (*OpHSLSaturationGamma) UnmarshalJSON

func (op *OpHSLSaturationGamma) UnmarshalJSON(data []byte) error

Unmarshal the type from JSON with default values for missing entries

type OpHSLScaleBlack

type OpHSLScaleBlack struct {
	ops.OpUnaryBase
	Location float32 `json:"location"`
}

must be /100

func NewOpHSLScaleBlack

func NewOpHSLScaleBlack(location float32) *OpHSLScaleBlack

func NewOpHSLScaleBlackDefault

func NewOpHSLScaleBlackDefault() *OpHSLScaleBlack

func (*OpHSLScaleBlack) Apply

func (op *OpHSLScaleBlack) Apply(f *fits.Image, c *ops.Context) (fOut *fits.Image, err error)

func (*OpHSLScaleBlack) UnmarshalJSON

func (op *OpHSLScaleBlack) UnmarshalJSON(data []byte) error

Unmarshal the type from JSON with default values for missing entries

type OpHSLScaleOffsetChannel

type OpHSLScaleOffsetChannel struct {
	ops.OpUnaryBase
	ChannelID int     `json:"channelID"`
	Scale     float32 `json:"scale"`
	Offset    float32 `json:"offset"`
}

func NewOpHSLScaleOffsetChannel

func NewOpHSLScaleOffsetChannel(channelID int, scale, offset float32) *OpHSLScaleOffsetChannel

func NewOpHSLScaleOffsetChannelDefault

func NewOpHSLScaleOffsetChannelDefault() *OpHSLScaleOffsetChannel

func (*OpHSLScaleOffsetChannel) Apply

func (op *OpHSLScaleOffsetChannel) Apply(f *fits.Image, c *ops.Context) (fOut *fits.Image, err error)

func (*OpHSLScaleOffsetChannel) UnmarshalJSON

func (op *OpHSLScaleOffsetChannel) UnmarshalJSON(data []byte) error

Unmarshal the type from JSON with default values for missing entries

type OpHSLSelectiveSaturation

type OpHSLSelectiveSaturation struct {
	ops.OpUnaryBase
	From   float32 `json:"from"`
	To     float32 `json:"to"`
	Factor float32 `json:"factor"`
}

func NewOpHSLSelectiveSaturation

func NewOpHSLSelectiveSaturation(from, to, factor float32) *OpHSLSelectiveSaturation

func NewOpHSLSelectiveSaturationDefault

func NewOpHSLSelectiveSaturationDefault() *OpHSLSelectiveSaturation

func (*OpHSLSelectiveSaturation) Apply

func (op *OpHSLSelectiveSaturation) Apply(f *fits.Image, c *ops.Context) (fOut *fits.Image, err error)

func (*OpHSLSelectiveSaturation) UnmarshalJSON

func (op *OpHSLSelectiveSaturation) UnmarshalJSON(data []byte) error

Unmarshal the type from JSON with default values for missing entries

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL