Versions in this module Expand all Collapse all v0 v0.30.2 Apr 23, 2022 v0.30.1 Apr 22, 2022 Changes in this version + func Abs(src GpuMat, dst *GpuMat) + func AbsDiff(src1, src2 GpuMat, dst *GpuMat) + func AbsDiffWithStream(src1, src2 GpuMat, dst *GpuMat, s Stream) + func AbsWithStream(src GpuMat, dst *GpuMat, stream Stream) + func Add(src1, src2 GpuMat, dst *GpuMat) + func AddWithStream(src1, src2 GpuMat, dst *GpuMat, s Stream) + func BitwiseAnd(src1, src2 GpuMat, dst *GpuMat) + func BitwiseAndWithStream(src1, src2 GpuMat, dst *GpuMat, s Stream) + func BitwiseNot(src GpuMat, dst *GpuMat) + func BitwiseNotWithStream(src GpuMat, dst *GpuMat, s Stream) + func BitwiseOr(src1, src2 GpuMat, dst *GpuMat) + func BitwiseOrWithStream(src1, src2 GpuMat, dst *GpuMat, s Stream) + func BitwiseXor(src1, src2 GpuMat, dst *GpuMat) + func BitwiseXorWithStream(src1, src2 GpuMat, dst *GpuMat, s Stream) + func BuildWarpAffineMaps(M GpuMat, inverse bool, sz image.Point, xmap, ymap *GpuMat) + func BuildWarpAffineMapsWithStream(M GpuMat, inverse bool, sz image.Point, xmap, ymap *GpuMat, s Stream) + func BuildWarpPerspectiveMaps(M GpuMat, inverse bool, sz image.Point, xmap, ymap *GpuMat) + func BuildWarpPerspectiveMapsWithStream(M GpuMat, inverse bool, sz image.Point, xmap, ymap *GpuMat, s Stream) + func CvtColor(src GpuMat, dst *GpuMat, code gocv.ColorConversionCode) + func CvtColorWithStream(src GpuMat, dst *GpuMat, code gocv.ColorConversionCode, s Stream) + func Divide(src1, src2 GpuMat, dst *GpuMat) + func DivideWithStream(src1, src2 GpuMat, dst *GpuMat, s Stream) + func Exp(src GpuMat, dst *GpuMat) + func ExpWithStream(src GpuMat, dst *GpuMat, s Stream) + func Flip(src GpuMat, dst *GpuMat, flipCode int) + func FlipWithStream(src GpuMat, dst *GpuMat, flipCode int, stream Stream) + func GetCudaEnabledDeviceCount() int + func GetDevice() int + func Log(src GpuMat, dst *GpuMat) + func LogWithStream(src GpuMat, dst *GpuMat, s Stream) + func Max(src1, src2 GpuMat, dst *GpuMat) + func MaxWithStream(src1, src2 GpuMat, dst *GpuMat, s Stream) + func Min(src1, src2 GpuMat, dst *GpuMat) + func MinWithStream(src1, src2 GpuMat, dst *GpuMat, s Stream) + func Multiply(src1, src2 GpuMat, dst *GpuMat) + func PrintCudaDeviceInfo(device int) + func PrintShortCudaDeviceInfo(device int) + func PyrDown(src GpuMat, dst *GpuMat) + func PyrDownWithStream(src GpuMat, dst *GpuMat, s Stream) + func PyrUp(src GpuMat, dst *GpuMat) + func PyrUpWithStream(src GpuMat, dst *GpuMat, s Stream) + func Remap(src GpuMat, dst, xmap, ymap *GpuMat, interpolation InterpolationFlags, ...) + func RemapWithStream(src GpuMat, dst, xmap, ymap *GpuMat, interpolation InterpolationFlags, ...) + func ResetDevice() + func Resize(src GpuMat, dst *GpuMat, sz image.Point, fx, fy float64, ...) + func ResizeWithStream(src GpuMat, dst *GpuMat, sz image.Point, fx, fy float64, ...) + func Rotate(src GpuMat, dst *GpuMat, sz image.Point, angle, xShift, yShift float64, ...) + func RotateWithStream(src GpuMat, dst *GpuMat, sz image.Point, angle, xShift, yShift float64, ...) + func SetDevice(device int) + func Sqr(src GpuMat, dst *GpuMat) + func SqrWithStream(src GpuMat, dst *GpuMat, s Stream) + func Sqrt(src GpuMat, dst *GpuMat) + func SqrtWithStream(src GpuMat, dst *GpuMat, s Stream) + func Subtract(src1, src2 GpuMat, dst *GpuMat) + func SubtractWithStream(src1, src2 GpuMat, dst *GpuMat, s Stream) + func Threshold(src GpuMat, dst *GpuMat, thresh, maxval float64, typ gocv.ThresholdType) + func ThresholdWithStream(src GpuMat, dst *GpuMat, thresh, maxval float64, typ gocv.ThresholdType, ...) + func WarpAffine(src GpuMat, dst *GpuMat, m GpuMat, sz image.Point, flags InterpolationFlags, ...) + func WarpAffineWithStream(src GpuMat, dst *GpuMat, m GpuMat, sz image.Point, flags InterpolationFlags, ...) + func WarpPerspective(src GpuMat, dst *GpuMat, m GpuMat, sz image.Point, flags InterpolationFlags, ...) + func WarpPerspectiveWithStream(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) ApplyWithStream(src GpuMat, dst *GpuMat, s Stream) + func (b *BackgroundSubtractorMOG) Close() error + type BackgroundSubtractorMOG2 struct + func NewBackgroundSubtractorMOG2() BackgroundSubtractorMOG2 + func (b *BackgroundSubtractorMOG2) Apply(src GpuMat, dst *GpuMat) + func (b *BackgroundSubtractorMOG2) ApplyWithStream(src GpuMat, dst *GpuMat, s Stream) + func (b *BackgroundSubtractorMOG2) Close() error + type BorderType int + const BorderConstant + const BorderDefault + const BorderIsolated + const BorderReflect + const BorderReflect101 + const BorderReplicate + const BorderTransparent + const BorderWrap + func (c BorderType) String() string + type CannyEdgeDetector struct + func NewCannyEdgeDetector(lowThresh, highThresh float64) CannyEdgeDetector + func NewCannyEdgeDetectorWithParams(lowThresh, highThresh float64, appertureSize int, L2gradient bool) CannyEdgeDetector + func (h *CannyEdgeDetector) Close() error + func (h *CannyEdgeDetector) Detect(img GpuMat, dst *GpuMat) + func (h *CannyEdgeDetector) DetectWithStream(img GpuMat, dst *GpuMat, s Stream) + 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 GaussianFilter struct + func NewGaussianFilter(srcType gocv.MatType, dstType gocv.MatType, ksize image.Point, sigma1 float64) GaussianFilter + func (gf *GaussianFilter) Apply(img GpuMat, dst *GpuMat) + func (gf *GaussianFilter) ApplyWithStream(img GpuMat, dst *GpuMat, s Stream) + func (gf *GaussianFilter) Close() error + type GpuMat struct + func NewGpuMat() GpuMat + func NewGpuMatFromMat(mat gocv.Mat) GpuMat + func NewGpuMatWithSize(rows int, cols int, mt gocv.MatType) GpuMat + func (g *GpuMat) Close() error + func (g *GpuMat) Download(dst *gocv.Mat) + func (g *GpuMat) DownloadWithStream(dst *gocv.Mat, s Stream) + func (g *GpuMat) Empty() bool + func (g *GpuMat) Upload(data gocv.Mat) + func (g *GpuMat) UploadWithStream(data gocv.Mat, s Stream) + func (m *GpuMat) Channels() int + func (m *GpuMat) Cols() int + func (m *GpuMat) ConvertTo(dst *GpuMat, mt gocv.MatType) + func (m *GpuMat) ConvertToWithStream(dst *GpuMat, mt gocv.MatType, s Stream) + func (m *GpuMat) CopyTo(dst *GpuMat) + func (m *GpuMat) CopyToWithStream(dst *GpuMat, s Stream) + func (m *GpuMat) Reshape(cn int, rows int) GpuMat + func (m *GpuMat) Rows() int + func (m *GpuMat) Type() 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 HoughLinesDetector struct + func NewHoughLinesDetector(rho float32, theta float32, threshold int) HoughLinesDetector + func NewHoughLinesDetectorWithParams(rho float32, theta float32, threshold int, sort bool, maxlines int) HoughLinesDetector + func (h *HoughLinesDetector) Close() error + func (h *HoughLinesDetector) Detect(img GpuMat, dst *GpuMat) + func (h *HoughLinesDetector) DetectWithStream(img GpuMat, dst *GpuMat, s Stream) + type HoughSegmentDetector struct + func NewHoughSegmentDetector(rho float32, theta float32, minLineLength int, maxLineGap int) HoughSegmentDetector + func (h *HoughSegmentDetector) Close() error + func (h *HoughSegmentDetector) Detect(img GpuMat, dst *GpuMat) + func (h *HoughSegmentDetector) DetectWithStream(img GpuMat, dst *GpuMat, s Stream) + type InterpolationFlags int + const InterpolationArea + const InterpolationCubic + const InterpolationDefault + const InterpolationLanczos4 + const InterpolationLinear + const InterpolationMax + const InterpolationNearestNeighbor + func (c InterpolationFlags) String() string + type SobelFilter struct + func NewSobelFilter(srcType gocv.MatType, dstType gocv.MatType, dx int, dy int) SobelFilter + func NewSobelFilterWithParams(srcType gocv.MatType, dstType gocv.MatType, dx int, dy int, ksize int, ...) SobelFilter + func (sf *SobelFilter) Apply(img GpuMat, dst *GpuMat) + func (sf *SobelFilter) ApplyWithStream(img GpuMat, dst *GpuMat, s Stream) + func (sf *SobelFilter) Close() error + type SparsePyrLKOpticalFlow struct + func NewSparsePyrLKOpticalFlow() SparsePyrLKOpticalFlow + func (s SparsePyrLKOpticalFlow) Calc(prevImg, nextImg, prevPts, nextPts, status GpuMat) + type Stream struct + func NewStream() Stream + func (s *Stream) Close() error + func (s *Stream) QueryIfComplete() bool + func (s *Stream) WaitForCompletion()