Versions in this module Expand all Collapse all v0 v0.24.0 Jul 10, 2020 Changes in this version + const BorderConstant + const BorderDefault + const BorderIsolated + const BorderReflect + const BorderReflect101 + const BorderReplicate + const BorderTransparent + const BorderWrap + const InterpolationArea + const InterpolationCubic + const InterpolationDefault + const InterpolationLanczos4 + const InterpolationLinear + const InterpolationMax + const InterpolationNearestNeighbor + func BuildWarpAffineMaps(M GpuMat, inverse bool, sz image.Point, xmap, ymap *GpuMat) + func BuildWarpPerspectiveMaps(M GpuMat, inverse bool, sz image.Point, xmap, ymap *GpuMat) + func CvtColor(src GpuMat, dst *GpuMat, code gocv.ColorConversionCode) + func GetCudaEnabledDeviceCount() int + func PrintCudaDeviceInfo(device int) + func PrintShortCudaDeviceInfo(device int) + func PyrDown(src GpuMat, dst *GpuMat) + func PyrUp(src GpuMat, dst *GpuMat) + func Remap(src GpuMat, dst, xmap, ymap *GpuMat, interpolation InterpolationFlags, ...) + func Resize(src GpuMat, dst *GpuMat, sz image.Point, fx, fy float64, ...) + func Rotate(src GpuMat, dst *GpuMat, sz image.Point, angle, xShift, yShift float64, ...) + func Threshold(src GpuMat, dst *GpuMat, thresh, maxval float64, typ int) + func WarpAffine(src GpuMat, dst *GpuMat, m GpuMat, sz image.Point, flags InterpolationFlags, ...) + func WarpPerspective(src GpuMat, dst *GpuMat, m GpuMat, sz image.Point, flags InterpolationFlags, ...) + type BackgroundSubtractorMOG struct + func NewBackgroundSubtractorMOG() BackgroundSubtractorMOG + func (b *BackgroundSubtractorMOG) Apply(src GpuMat, dst *GpuMat) + func (b *BackgroundSubtractorMOG) Close() error + type BackgroundSubtractorMOG2 struct + func NewBackgroundSubtractorMOG2() BackgroundSubtractorMOG2 + func (b *BackgroundSubtractorMOG2) Apply(src GpuMat, dst *GpuMat) + func (b *BackgroundSubtractorMOG2) Close() error + type BorderType int + func (c BorderType) String() string + type CannyEdgeDetector struct + func CreateCannyEdgeDetector(lowThresh, highThresh float64, appertureSize int, L2gradient bool) CannyEdgeDetector + func (h *CannyEdgeDetector) Detect(img GpuMat) GpuMat + func (h *CannyEdgeDetector) GetAppertureSize() int + func (h *CannyEdgeDetector) GetHighThreshold() float64 + func (h *CannyEdgeDetector) GetL2Gradient() bool + func (h *CannyEdgeDetector) GetLowThreshold() float64 + func (h *CannyEdgeDetector) SetAppertureSize(appertureSize int) + func (h *CannyEdgeDetector) SetHighThreshold(highThresh float64) + func (h *CannyEdgeDetector) SetL2Gradient(L2gradient bool) + func (h *CannyEdgeDetector) SetLowThreshold(lowThresh float64) + type CascadeClassifier struct + func NewCascadeClassifier(name string) CascadeClassifier + func (c *CascadeClassifier) DetectMultiScale(img GpuMat) []image.Rectangle + type DescriptorStorageFormat int + const DESCR_FORMAT_COL_BY_COL + const DESCR_FORMAT_COL_BY_ROW + type GpuMat struct + func NewGpuMat() GpuMat + func NewGpuMatFromMat(mat gocv.Mat) GpuMat + func (g *GpuMat) Close() error + func (g *GpuMat) Download(dst *gocv.Mat) + func (g *GpuMat) Empty() bool + func (g *GpuMat) Upload(data gocv.Mat) + func (m *GpuMat) ConvertTo(dst *GpuMat, mt gocv.MatType) + type HOG struct + func CreateHOG() HOG + func CreateHOGWithParams(winSize, blockSize, blockStride, cellSize image.Point, nbins int) HOG + func (h *HOG) Compute(img GpuMat) GpuMat + func (h *HOG) DetectMultiScale(img GpuMat) []image.Rectangle + func (h *HOG) GetBlockHistogramSize() int + func (h *HOG) GetDefaultPeopleDetector() C.Mat + func (h *HOG) GetDescriptorFormat() DescriptorStorageFormat + func (h *HOG) GetDescriptorSize() int + func (h *HOG) GetGammaCorrection() bool + func (h *HOG) GetGroupThreshold() int + func (h *HOG) GetHitThreshold() float64 + func (h *HOG) GetL2HysThreshold() float64 + func (h *HOG) GetNumLevels() int + func (h *HOG) GetScaleFactor() float64 + func (h *HOG) GetWinSigma() float64 + func (h *HOG) GetWinStride() image.Point + func (h *HOG) SetDescriptorFormat(descrFormat DescriptorStorageFormat) + func (h *HOG) SetGammaCorrection(gammaCorrection bool) + func (h *HOG) SetGroupThreshold(groupThreshold int) + func (h *HOG) SetHitThreshold(hitThreshold float64) + func (h *HOG) SetL2HysThreshold(thresholdL2hys float64) + func (h *HOG) SetNumLevels(nlevels int) + func (h *HOG) SetSVMDetector(det C.Mat) error + func (h *HOG) SetScaleFactor(scale0 float64) + func (h *HOG) SetWinSigma(winSigma float64) + func (h *HOG) SetWinStride(sz image.Point) + type InterpolationFlags int + func (c InterpolationFlags) String() string + type SparsePyrLKOpticalFlow struct + func NewSparsePyrLKOpticalFlow() SparsePyrLKOpticalFlow + func (s SparsePyrLKOpticalFlow) Calc(prevImg, nextImg, prevPts, nextPts, status GpuMat)