Documentation ¶
Index ¶
- type Filter
- func NewAdaptiveThreshold(maxValue float32, adaptiveTyp gocv.AdaptiveThresholdType, ...) Filter
- func NewCanny(threshold1, threshold2 float32) Filter
- func NewDilate(shape gocv.MorphShape, ksize image.Point) Filter
- func NewErode(shape gocv.MorphShape, ksize image.Point) Filter
- func NewGaussianBlur(ksize image.Point, sigmaX, sigmaY float64, typ gocv.BorderType) Filter
- func NewLine(pt1, pt2 image.Point, color color.RGBA, thickness int) Filter
- func NewMorphology(op gocv.MorphType, shape gocv.MorphShape, ksize image.Point) Filter
- func NewPutText(text string, org image.Point, fontFace gocv.HersheyFont, fontScale float64, ...) Filter
- func NewRectangle(r image.Rectangle, c color.RGBA, thickness int) Filter
- func NewResize(sz image.Point, fx, fy float64, interp gocv.InterpolationFlags) Filter
- func NewSobel(ddepth gocv.MatType, dx, dy, ksize int, scale, delta float64, ...) Filter
- func NewThreshold(thresh, maxValue float32, typ gocv.ThresholdType) Filter
- type FilterOptions
- type MatOptions
- type Pipe
- type PipeMat
- type PipeOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
func NewAdaptiveThreshold ¶
func NewAdaptiveThreshold(maxValue float32, adaptiveTyp gocv.AdaptiveThresholdType, typ gocv.ThresholdType, blockSize int, c float32) Filter
func NewGaussianBlur ¶
func NewMorphology ¶
func NewPutText ¶
func NewThreshold ¶
func NewThreshold(thresh, maxValue float32, typ gocv.ThresholdType) Filter
type FilterOptions ¶
type FilterOptions struct { // Enable saving of this step's result. Takes precedence over Pipe options Save *bool }
type Pipe ¶
type Pipe struct {
// contains filtered or unexported fields
}
func NewPipe ¶
func NewPipe(name string, opts PipeOptions) *Pipe
type PipeMat ¶
type PipeMat struct {
// contains filtered or unexported fields
}
func NewPipeMat ¶
NewPipeMat creates a new PipeMat from a gocv.Mat. The gocv.Mat will be cloned and stored in the PipeMat. The original Mat needs to be closed by the caller.
func NewPipeMatFromOptions ¶
func NewPipeMatFromOptions(opts MatOptions) (*PipeMat, error)
type PipeOptions ¶
type PipeOptions struct { // Enable saving of intermediate results. Will be overridden by individual step save options. Save bool }
Click to show internal directories.
Click to hide internal directories.