Documentation ¶
Index ¶
- Constants
- type Detector
- func (d *Detector) DoHysteresis(b bool)
- func (d *Detector) SetBackgroundColor(c color.Color)
- func (d *Detector) SetForegroundColor(c color.Color)
- func (d *Detector) SetRatio(r float32)
- func (d *Detector) SetSmoothingFactor(factor float32)
- func (d *Detector) SetThinningFactor(factor int)
- func (d *Detector) SetWindowSize(size int)
- func (d *Detector) ShenCastan() *image.Gray
Constants ¶
View Source
const ( WindowSize = 7 Ratio = 0.80 SmoothingFactor = 0.94 ThinningFactor = 0 )
* the four dials / knobs you can play with * to control the results from this algorithm
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Detector ¶
type Detector struct {
// contains filtered or unexported fields
}
func NewEdgeDetector ¶
func (*Detector) DoHysteresis ¶
func (*Detector) SetBackgroundColor ¶
func (*Detector) SetForegroundColor ¶
func (*Detector) SetSmoothingFactor ¶
func (*Detector) SetThinningFactor ¶
func (*Detector) SetWindowSize ¶
func (*Detector) ShenCastan ¶
Click to show internal directories.
Click to hide internal directories.