Documentation ¶
Index ¶
- Variables
- func ApplyFishEye(dest draw.Image, src image.Image, distance int) draw.Image
- func CloneImage(dst draw.Image, src image.Image) draw.Image
- func DistanceRange(dx int) (int, int)
- func FindDistance(src image.Image, testRowIndex int) (image.Image, int)
- func Formula(s float64) float64
- func GenFile(path string, testRowIndex int) (image.Image, error)
- func MakeNoise(img image.Image, distance int, factory func() draw.Image) draw.Image
- func RemoveFishEye(dest draw.Image, src image.Image, distance int) draw.Image
- func WhitePoints(src image.Image, y int) int
- type FisheyePreprocessor
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrDetectDistance = errors.New("fisheye: can not detect distance")
)
Functions ¶
func DistanceRange ¶
Types ¶
type FisheyePreprocessor ¶
type FisheyePreprocessor struct {
TestRowIndex int
}
func NewPreprocessor ¶
func NewPreprocessor() *FisheyePreprocessor
func (*FisheyePreprocessor) Preprocess ¶
Click to show internal directories.
Click to hide internal directories.