rgb

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOpRGBLProcess

func NewOpRGBLProcess(opStarDetect *pre.OpStarDetect, opSelectReference *ref.OpSelectReference,
	opRGBCombine *OpRGBCombine, opRGBBalance *OpRGBBalance,
	opRGBToHSLuv *OpRGBToHSLuv, opHSLApplyLum *hsl.OpHSLApplyLum,
	opHSLProcess *ops.OpSequence, opHSLuvToRGB *OpHSLuvToRGB,
	opSave, opSave2 *ops.OpSave) *ops.OpSequence

Preprocess all light frames with given global settings, limiting concurrency to the number of available CPUs

Types

type OpHSLuvToRGB

type OpHSLuvToRGB struct {
	ops.OpUnaryBase
}

func NewOpHSLuvToRGB

func NewOpHSLuvToRGB() *OpHSLuvToRGB

func NewOpHSLuvToRGBDefault

func NewOpHSLuvToRGBDefault() *OpHSLuvToRGB

func (*OpHSLuvToRGB) Apply

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

func (*OpHSLuvToRGB) UnmarshalJSON

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

Unmarshal the type from JSON with default values for missing entries

type OpRGBBalance

type OpRGBBalance struct {
	ops.OpUnaryBase
	Block      int32    `json:"block"`
	Border     float32  `json:"border"`
	SkipBright float32  `json:"skipBright"`
	SkipDim    float32  `json:"skipDim"`
	Shadows    fits.RGB `json:"shadows"`
	Highlights fits.RGB `json:"highlights"`
}

func NewOpRGBBalance

func NewOpRGBBalance(block int32, border, skipBright, skipDim float32, shadows, highlights fits.RGB) *OpRGBBalance

func NewOpRGBBalanceDefault

func NewOpRGBBalanceDefault() *OpRGBBalance

func (*OpRGBBalance) Apply

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

Automatically balance colors with multiple iterations of SetBlackWhitePoints, producing log output

func (*OpRGBBalance) UnmarshalJSON

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

Unmarshal the type from JSON with default values for missing entries

type OpRGBCombine

type OpRGBCombine struct {
	ops.OpBase
}

func NewOpRGBCombine

func NewOpRGBCombine() *OpRGBCombine

func NewOpRGBCombineDefault

func NewOpRGBCombineDefault() *OpRGBCombine

func (*OpRGBCombine) Apply

func (op *OpRGBCombine) Apply(fs []*fits.Image, c *ops.Context) (fOut *fits.Image, err error)

func (*OpRGBCombine) MakePromises

func (op *OpRGBCombine) MakePromises(ins []ops.Promise, c *ops.Context) (outs []ops.Promise, err error)

type OpRGBToHSLuv

type OpRGBToHSLuv struct {
	ops.OpUnaryBase
}

func NewOpRGBToHSLuv

func NewOpRGBToHSLuv() *OpRGBToHSLuv

func NewOpRGBToHSLuvDefault

func NewOpRGBToHSLuvDefault() *OpRGBToHSLuv

func (*OpRGBToHSLuv) Apply

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

func (*OpRGBToHSLuv) UnmarshalJSON

func (op *OpRGBToHSLuv) 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