Documentation ¶
Overview ¶
Package contrib is the GoCV wrapper around OpenCV Contrib.
For further details, please see: https://github.com/opencv/opencv_contrib
Index ¶
- func ApplyChannelGains(src gocv.Mat, dst *gocv.Mat, gainB float32, gainG float32, gainR float32)
- func Bm3dDenoising(src gocv.Mat, dst *gocv.Mat)
- func Bm3dDenoisingStep(src gocv.Mat, dststep1 *gocv.Mat, dststep2 *gocv.Mat)
- func Bm3dDenoisingStepWithParams(src gocv.Mat, dststep1 *gocv.Mat, dststep2 *gocv.Mat, h float32, ...)
- func Bm3dDenoisingWithParams(src gocv.Mat, dst *gocv.Mat, h float32, templateWindowSize int, ...)
- func DetectMarkers(input gocv.Mat, dictionary ArucoDictionary, params ArucoDetectorParameters) (markerCorners [][]gocv.Point2f, markerIds []int, ...)
- func DetectMarkersWithDictID(input gocv.Mat, dictionaryId ArucoDictionaryCode, ...) (markerCorners [][]gocv.Point2f, markerIds []int, ...)
- func DrawDetectedMarkers(img gocv.Mat, markerCorners [][]gocv.Point2f, markerIds []int, ...)
- func DrawMarker(dictionaryId ArucoDictionaryCode, id int, sidePixels int, img gocv.Mat, ...)
- func Inpaint(src *gocv.Mat, mask *gocv.Mat, dst *gocv.Mat, algorithmType InpaintTypes)
- func NewTrackerCSRT() gocv.Tracker
- func NewTrackerKCF() gocv.Tracker
- func OilPainting(src gocv.Mat, dst *gocv.Mat, size int, dynRatio int)
- func OilPaintingWithParams(src gocv.Mat, dst gocv.Mat, size int, dynRatio int, ...)
- type ArucoDetectorParameters
- func (p *ArucoDetectorParameters) GetAdaptiveThreshConstant() float64
- func (p *ArucoDetectorParameters) GetAdaptiveThreshWinSizeMax() int
- func (p *ArucoDetectorParameters) GetAdaptiveThreshWinSizeMin() int
- func (p *ArucoDetectorParameters) GetAdaptiveThreshWinSizeStep() int
- func (p *ArucoDetectorParameters) GetAprilTagCriticalRad() float32
- func (p *ArucoDetectorParameters) GetAprilTagDeglitch() int
- func (p *ArucoDetectorParameters) GetAprilTagMaxLineFitMse() float32
- func (p *ArucoDetectorParameters) GetAprilTagMaxNmaxima() int
- func (p *ArucoDetectorParameters) GetAprilTagMinClusterPixels() int
- func (p *ArucoDetectorParameters) GetAprilTagMinWhiteBlackDiff() int
- func (p *ArucoDetectorParameters) GetAprilTagQuadDecimate() float32
- func (p *ArucoDetectorParameters) GetAprilTagQuadSigma() float32
- func (p *ArucoDetectorParameters) GetCornerRefinementMaxIterations() int
- func (p *ArucoDetectorParameters) GetCornerRefinementMethod() int
- func (p *ArucoDetectorParameters) GetCornerRefinementMinAccuracy() float64
- func (p *ArucoDetectorParameters) GetCornerRefinementWinSize() int
- func (p *ArucoDetectorParameters) GetDetectInvertedMarker() bool
- func (p *ArucoDetectorParameters) GetErrorCorrectionRate() float64
- func (p *ArucoDetectorParameters) GetMarkerBorderBits() int
- func (p *ArucoDetectorParameters) GetMaxErroneousBitsInBorderRate() float64
- func (p *ArucoDetectorParameters) GetMaxMarkerPerimeterRate() float64
- func (p *ArucoDetectorParameters) GetMinCornerDistanceRate() float64
- func (p *ArucoDetectorParameters) GetMinDistanceToBorder() int
- func (p *ArucoDetectorParameters) GetMinMarkerDistanceRate() float64
- func (p *ArucoDetectorParameters) GetMinMarkerPerimeterRate() float64
- func (p *ArucoDetectorParameters) GetMinOtsuStdDev() float64
- func (p *ArucoDetectorParameters) GetPerspectiveRemoveIgnoredMarginPerCell() float64
- func (p *ArucoDetectorParameters) GetPerspectiveRemovePixelPerCell() int
- func (p *ArucoDetectorParameters) GetPolygonalApproxAccuracyRate() float64
- func (p *ArucoDetectorParameters) SetAdaptiveThreshConstant(adaptiveThreshConstant float64)
- func (p *ArucoDetectorParameters) SetAdaptiveThreshWinSizeMax(adaptiveThreshWinSizeMax int)
- func (p *ArucoDetectorParameters) SetAdaptiveThreshWinSizeMin(adaptiveThreshWinSizeMin int)
- func (p *ArucoDetectorParameters) SetAdaptiveThreshWinSizeStep(adaptiveThreshWinSizeStep int)
- func (p *ArucoDetectorParameters) SetAprilTagCriticalRad(aprilTagCriticalRad float32)
- func (p *ArucoDetectorParameters) SetAprilTagDeglitch(aprilTagDeglitch int)
- func (p *ArucoDetectorParameters) SetAprilTagMaxLineFitMse(aprilTagMaxLineFitMse float32)
- func (p *ArucoDetectorParameters) SetAprilTagMaxNmaxima(aprilTagMaxNmaxima int)
- func (p *ArucoDetectorParameters) SetAprilTagMinClusterPixels(aprilTagMinClusterPixels int)
- func (p *ArucoDetectorParameters) SetAprilTagMinWhiteBlackDiff(aprilTagMinWhiteBlackDiff int)
- func (p *ArucoDetectorParameters) SetAprilTagQuadDecimate(aprilTagQuadDecimate float32)
- func (p *ArucoDetectorParameters) SetAprilTagQuadSigma(aprilTagQuadSigma float32)
- func (p *ArucoDetectorParameters) SetCornerRefinementMaxIterations(cornerRefinementMaxIterations int)
- func (p *ArucoDetectorParameters) SetCornerRefinementMethod(cornerRefinementMethod int)
- func (p *ArucoDetectorParameters) SetCornerRefinementMinAccuracy(cornerRefinementMinAccuracy float64)
- func (p *ArucoDetectorParameters) SetCornerRefinementWinSize(cornerRefinementWinSize int)
- func (p *ArucoDetectorParameters) SetDetectInvertedMarker(detectInvertedMarker bool)
- func (p *ArucoDetectorParameters) SetErrorCorrectionRate(errorCorrectionRate float64)
- func (p *ArucoDetectorParameters) SetMarkerBorderBits(markerBorderBits int)
- func (p *ArucoDetectorParameters) SetMaxErroneousBitsInBorderRate(maxErroneousBitsInBorderRate float64)
- func (p *ArucoDetectorParameters) SetMaxMarkerPerimeterRate(maxMarkerPerimeterRate float64)
- func (p *ArucoDetectorParameters) SetMinCornerDistanceRate(minCornerDistanceRate float64)
- func (p *ArucoDetectorParameters) SetMinDistanceToBorder(minDistanceToBorder int)
- func (p *ArucoDetectorParameters) SetMinMarkerDistanceRate(minMarkerDistanceRate float64)
- func (p *ArucoDetectorParameters) SetMinMarkerPerimeterRate(minMarkerPerimeterRate float64)
- func (p *ArucoDetectorParameters) SetMinOtsuStdDev(minOtsuStdDev float64)
- func (p *ArucoDetectorParameters) SetPerspectiveRemoveIgnoredMarginPerCell(perspectiveRemoveIgnoredMarginPerCell float64)
- func (p *ArucoDetectorParameters) SetPerspectiveRemovePixelPerCell(perspectiveRemovePixelPerCell int)
- func (p *ArucoDetectorParameters) SetPolygonalApproxAccuracyRate(polygonalApproxAccuracyRate float64)
- type ArucoDictionary
- type ArucoDictionaryCode
- type AverageHash
- type BackgroundSubtractorCNT
- type BlockMeanHash
- type BlockMeanHashMode
- type Bm3dSteps
- type ColorMomentHash
- type GrayworldWB
- type ImgHashBase
- type InpaintTypes
- type LBPHFaceRecognizer
- func (fr *LBPHFaceRecognizer) GetNeighbors() int
- func (fr *LBPHFaceRecognizer) LoadFile(fname string)
- func (fr *LBPHFaceRecognizer) Predict(sample gocv.Mat) int
- func (fr *LBPHFaceRecognizer) PredictExtendedResponse(sample gocv.Mat) PredictResponse
- func (fr *LBPHFaceRecognizer) SaveFile(fname string)
- func (fr *LBPHFaceRecognizer) SetNeighbors(neighbors int)
- func (fr *LBPHFaceRecognizer) SetRadius(radius int)
- func (fr *LBPHFaceRecognizer) SetThreshold(threshold float32)
- func (fr *LBPHFaceRecognizer) Train(images []gocv.Mat, labels []int)
- func (fr *LBPHFaceRecognizer) Update(newImages []gocv.Mat, newLabels []int)
- type LearningBasedWB
- func (b *LearningBasedWB) BalanceWhite(src gocv.Mat, dst *gocv.Mat)
- func (b *LearningBasedWB) Close() error
- func (b *LearningBasedWB) ExtractSimpleFeatures(src gocv.Mat, dst *gocv.Mat)
- func (b *LearningBasedWB) GetHistBinNum() int
- func (b *LearningBasedWB) GetRangeMaxVal() int
- func (b *LearningBasedWB) GetSaturationThreshold() float32
- func (b *LearningBasedWB) SetHistBinNum(val int)
- func (b *LearningBasedWB) SetRangeMaxVal(val int)
- func (b *LearningBasedWB) SetSaturationThreshold(val float32)
- type MarrHildrethHash
- type PHash
- type PredictResponse
- type RadialVarianceHash
- type SURF
- type SimpleWB
- func (b *SimpleWB) BalanceWhite(src gocv.Mat, dst *gocv.Mat)
- func (b *SimpleWB) Close() error
- func (b *SimpleWB) GetInputMax() float32
- func (b *SimpleWB) GetInputMin() float32
- func (b *SimpleWB) GetOutputMax() float32
- func (b *SimpleWB) GetOutputMin() float32
- func (b *SimpleWB) GetP() float32
- func (b *SimpleWB) SetInputMax(val float32)
- func (b *SimpleWB) SetInputMin(val float32)
- func (b *SimpleWB) SetOutputMax(val float32)
- func (b *SimpleWB) SetOutputMin(val float32)
- func (b *SimpleWB) SetP(val float32)
- type TonemapDurand
- func (b *TonemapDurand) Close() error
- func (b *TonemapDurand) GetContrast() float32
- func (b *TonemapDurand) GetGamma() float32
- func (b *TonemapDurand) GetSaturation() float32
- func (b *TonemapDurand) GetSigmaColor() float32
- func (b *TonemapDurand) GetSigmaSpace() float32
- func (b *TonemapDurand) Process(src gocv.Mat, dst *gocv.Mat)
- func (b *TonemapDurand) SetContrast(val float32)
- func (b *TonemapDurand) SetGamma(val float32)
- func (b *TonemapDurand) SetSaturation(val float32)
- func (b *TonemapDurand) SetSigmaColor(val float32)
- func (b *TonemapDurand) SetSigmaSpace(val float32)
- type TrackerCSRT
- type TrackerKCF
- type TransformTypes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyChannelGains ¶
func Bm3dDenoising ¶
src = Input 8-bit or 16-bit 1-channel image.
func Bm3dDenoisingStep ¶
src = Input 8-bit or 16-bit 1-channel image.
func Bm3dDenoisingStepWithParams ¶
func Bm3dDenoisingStepWithParams(src gocv.Mat, dststep1 *gocv.Mat, dststep2 *gocv.Mat, h float32, templateWindowSize int, searchWindowSize int, blockMatchingStep1 int, blockMatchingStep2 int, groupSize int, slidingStep int, beta float32, normType gocv.NormType, step Bm3dSteps, transformType TransformTypes)
src = Input 8-bit or 16-bit 1-channel image.
func Bm3dDenoisingWithParams ¶
func Bm3dDenoisingWithParams(src gocv.Mat, dst *gocv.Mat, h float32, templateWindowSize int, searchWindowSize int, blockMatchingStep1 int, blockMatchingStep2 int, groupSize int, slidingStep int, beta float32, normType gocv.NormType, step Bm3dSteps, transformType TransformTypes)
src = Input 8-bit or 16-bit 1-channel image.
func DetectMarkers ¶
func DetectMarkers(input gocv.Mat, dictionary ArucoDictionary, params ArucoDetectorParameters) ( markerCorners [][]gocv.Point2f, markerIds []int, rejectedCandidates [][]gocv.Point2f, )
func DetectMarkersWithDictID ¶
func DetectMarkersWithDictID(input gocv.Mat, dictionaryId ArucoDictionaryCode, params ArucoDetectorParameters) ( markerCorners [][]gocv.Point2f, markerIds []int, rejectedCandidates [][]gocv.Point2f, )
DetectMarkers does basic marker detection.
For further details, please see: https://docs.opencv.org/master/d9/d6a/group__aruco.html#gab9159aa69250d8d3642593e508cb6baa
func DrawDetectedMarkers ¶
func DrawMarker ¶
func Inpaint ¶
The function implements different single-image inpainting algorithms.
For further details, please see: https://docs.opencv.org/master/de/daa/group__xphoto.html#gab4febba6be53e5fddc480b8cedf51eee
func OilPainting ¶
oilPainting, See the book for details : GerPublished by ard J. Holzmann. Beyond Photography: The Digital Darkroom. Prentice Hall in 1988.
For further details, please see: https://docs.opencv.org/master/de/daa/group__xphoto.html#gac18ef93a7b1e65f703f7dc3b1e8e5235
func OilPaintingWithParams ¶
func OilPaintingWithParams(src gocv.Mat, dst gocv.Mat, size int, dynRatio int, code gocv.ColorConversionCode)
oilPainting, See the book for details : GerPublished by ard J. Holzmann. Beyond Photography: The Digital Darkroom. Prentice Hall in 1988.
For further details, please see: https://docs.opencv.org/master/de/daa/group__xphoto.html#gac050a6e876298cb9713cd2c09db9a027
Types ¶
type ArucoDetectorParameters ¶
type ArucoDetectorParameters struct {
// contains filtered or unexported fields
}
func NewArucoDetectorParameters ¶
func NewArucoDetectorParameters() ArucoDetectorParameters
NewArucoDetectorParameters returns the default parameters for the SimpleBobDetector
func (*ArucoDetectorParameters) GetAdaptiveThreshConstant ¶
func (p *ArucoDetectorParameters) GetAdaptiveThreshConstant() float64
func (*ArucoDetectorParameters) GetAdaptiveThreshWinSizeMax ¶
func (p *ArucoDetectorParameters) GetAdaptiveThreshWinSizeMax() int
func (*ArucoDetectorParameters) GetAdaptiveThreshWinSizeMin ¶
func (p *ArucoDetectorParameters) GetAdaptiveThreshWinSizeMin() int
func (*ArucoDetectorParameters) GetAdaptiveThreshWinSizeStep ¶
func (p *ArucoDetectorParameters) GetAdaptiveThreshWinSizeStep() int
func (*ArucoDetectorParameters) GetAprilTagCriticalRad ¶
func (p *ArucoDetectorParameters) GetAprilTagCriticalRad() float32
func (*ArucoDetectorParameters) GetAprilTagDeglitch ¶
func (p *ArucoDetectorParameters) GetAprilTagDeglitch() int
func (*ArucoDetectorParameters) GetAprilTagMaxLineFitMse ¶
func (p *ArucoDetectorParameters) GetAprilTagMaxLineFitMse() float32
func (*ArucoDetectorParameters) GetAprilTagMaxNmaxima ¶
func (p *ArucoDetectorParameters) GetAprilTagMaxNmaxima() int
func (*ArucoDetectorParameters) GetAprilTagMinClusterPixels ¶
func (p *ArucoDetectorParameters) GetAprilTagMinClusterPixels() int
func (*ArucoDetectorParameters) GetAprilTagMinWhiteBlackDiff ¶
func (p *ArucoDetectorParameters) GetAprilTagMinWhiteBlackDiff() int
func (*ArucoDetectorParameters) GetAprilTagQuadDecimate ¶
func (p *ArucoDetectorParameters) GetAprilTagQuadDecimate() float32
func (*ArucoDetectorParameters) GetAprilTagQuadSigma ¶
func (p *ArucoDetectorParameters) GetAprilTagQuadSigma() float32
func (*ArucoDetectorParameters) GetCornerRefinementMaxIterations ¶
func (p *ArucoDetectorParameters) GetCornerRefinementMaxIterations() int
func (*ArucoDetectorParameters) GetCornerRefinementMethod ¶
func (p *ArucoDetectorParameters) GetCornerRefinementMethod() int
func (*ArucoDetectorParameters) GetCornerRefinementMinAccuracy ¶
func (p *ArucoDetectorParameters) GetCornerRefinementMinAccuracy() float64
func (*ArucoDetectorParameters) GetCornerRefinementWinSize ¶
func (p *ArucoDetectorParameters) GetCornerRefinementWinSize() int
func (*ArucoDetectorParameters) GetDetectInvertedMarker ¶
func (p *ArucoDetectorParameters) GetDetectInvertedMarker() bool
func (*ArucoDetectorParameters) GetErrorCorrectionRate ¶
func (p *ArucoDetectorParameters) GetErrorCorrectionRate() float64
func (*ArucoDetectorParameters) GetMarkerBorderBits ¶
func (p *ArucoDetectorParameters) GetMarkerBorderBits() int
func (*ArucoDetectorParameters) GetMaxErroneousBitsInBorderRate ¶
func (p *ArucoDetectorParameters) GetMaxErroneousBitsInBorderRate() float64
func (*ArucoDetectorParameters) GetMaxMarkerPerimeterRate ¶
func (p *ArucoDetectorParameters) GetMaxMarkerPerimeterRate() float64
func (*ArucoDetectorParameters) GetMinCornerDistanceRate ¶
func (p *ArucoDetectorParameters) GetMinCornerDistanceRate() float64
func (*ArucoDetectorParameters) GetMinDistanceToBorder ¶
func (p *ArucoDetectorParameters) GetMinDistanceToBorder() int
func (*ArucoDetectorParameters) GetMinMarkerDistanceRate ¶
func (p *ArucoDetectorParameters) GetMinMarkerDistanceRate() float64
func (*ArucoDetectorParameters) GetMinMarkerPerimeterRate ¶
func (p *ArucoDetectorParameters) GetMinMarkerPerimeterRate() float64
func (*ArucoDetectorParameters) GetMinOtsuStdDev ¶
func (p *ArucoDetectorParameters) GetMinOtsuStdDev() float64
func (*ArucoDetectorParameters) GetPerspectiveRemoveIgnoredMarginPerCell ¶
func (p *ArucoDetectorParameters) GetPerspectiveRemoveIgnoredMarginPerCell() float64
func (*ArucoDetectorParameters) GetPerspectiveRemovePixelPerCell ¶
func (p *ArucoDetectorParameters) GetPerspectiveRemovePixelPerCell() int
func (*ArucoDetectorParameters) GetPolygonalApproxAccuracyRate ¶
func (p *ArucoDetectorParameters) GetPolygonalApproxAccuracyRate() float64
func (*ArucoDetectorParameters) SetAdaptiveThreshConstant ¶
func (p *ArucoDetectorParameters) SetAdaptiveThreshConstant(adaptiveThreshConstant float64)
func (*ArucoDetectorParameters) SetAdaptiveThreshWinSizeMax ¶
func (p *ArucoDetectorParameters) SetAdaptiveThreshWinSizeMax(adaptiveThreshWinSizeMax int)
func (*ArucoDetectorParameters) SetAdaptiveThreshWinSizeMin ¶
func (p *ArucoDetectorParameters) SetAdaptiveThreshWinSizeMin(adaptiveThreshWinSizeMin int)
func (*ArucoDetectorParameters) SetAdaptiveThreshWinSizeStep ¶
func (p *ArucoDetectorParameters) SetAdaptiveThreshWinSizeStep(adaptiveThreshWinSizeStep int)
func (*ArucoDetectorParameters) SetAprilTagCriticalRad ¶
func (p *ArucoDetectorParameters) SetAprilTagCriticalRad(aprilTagCriticalRad float32)
func (*ArucoDetectorParameters) SetAprilTagDeglitch ¶
func (p *ArucoDetectorParameters) SetAprilTagDeglitch(aprilTagDeglitch int)
func (*ArucoDetectorParameters) SetAprilTagMaxLineFitMse ¶
func (p *ArucoDetectorParameters) SetAprilTagMaxLineFitMse(aprilTagMaxLineFitMse float32)
func (*ArucoDetectorParameters) SetAprilTagMaxNmaxima ¶
func (p *ArucoDetectorParameters) SetAprilTagMaxNmaxima(aprilTagMaxNmaxima int)
func (*ArucoDetectorParameters) SetAprilTagMinClusterPixels ¶
func (p *ArucoDetectorParameters) SetAprilTagMinClusterPixels(aprilTagMinClusterPixels int)
func (*ArucoDetectorParameters) SetAprilTagMinWhiteBlackDiff ¶
func (p *ArucoDetectorParameters) SetAprilTagMinWhiteBlackDiff(aprilTagMinWhiteBlackDiff int)
func (*ArucoDetectorParameters) SetAprilTagQuadDecimate ¶
func (p *ArucoDetectorParameters) SetAprilTagQuadDecimate(aprilTagQuadDecimate float32)
func (*ArucoDetectorParameters) SetAprilTagQuadSigma ¶
func (p *ArucoDetectorParameters) SetAprilTagQuadSigma(aprilTagQuadSigma float32)
func (*ArucoDetectorParameters) SetCornerRefinementMaxIterations ¶
func (p *ArucoDetectorParameters) SetCornerRefinementMaxIterations(cornerRefinementMaxIterations int)
func (*ArucoDetectorParameters) SetCornerRefinementMethod ¶
func (p *ArucoDetectorParameters) SetCornerRefinementMethod(cornerRefinementMethod int)
func (*ArucoDetectorParameters) SetCornerRefinementMinAccuracy ¶
func (p *ArucoDetectorParameters) SetCornerRefinementMinAccuracy(cornerRefinementMinAccuracy float64)
func (*ArucoDetectorParameters) SetCornerRefinementWinSize ¶
func (p *ArucoDetectorParameters) SetCornerRefinementWinSize(cornerRefinementWinSize int)
func (*ArucoDetectorParameters) SetDetectInvertedMarker ¶
func (p *ArucoDetectorParameters) SetDetectInvertedMarker(detectInvertedMarker bool)
func (*ArucoDetectorParameters) SetErrorCorrectionRate ¶
func (p *ArucoDetectorParameters) SetErrorCorrectionRate(errorCorrectionRate float64)
func (*ArucoDetectorParameters) SetMarkerBorderBits ¶
func (p *ArucoDetectorParameters) SetMarkerBorderBits(markerBorderBits int)
func (*ArucoDetectorParameters) SetMaxErroneousBitsInBorderRate ¶
func (p *ArucoDetectorParameters) SetMaxErroneousBitsInBorderRate(maxErroneousBitsInBorderRate float64)
func (*ArucoDetectorParameters) SetMaxMarkerPerimeterRate ¶
func (p *ArucoDetectorParameters) SetMaxMarkerPerimeterRate(maxMarkerPerimeterRate float64)
func (*ArucoDetectorParameters) SetMinCornerDistanceRate ¶
func (p *ArucoDetectorParameters) SetMinCornerDistanceRate(minCornerDistanceRate float64)
func (*ArucoDetectorParameters) SetMinDistanceToBorder ¶
func (p *ArucoDetectorParameters) SetMinDistanceToBorder(minDistanceToBorder int)
func (*ArucoDetectorParameters) SetMinMarkerDistanceRate ¶
func (p *ArucoDetectorParameters) SetMinMarkerDistanceRate(minMarkerDistanceRate float64)
func (*ArucoDetectorParameters) SetMinMarkerPerimeterRate ¶
func (p *ArucoDetectorParameters) SetMinMarkerPerimeterRate(minMarkerPerimeterRate float64)
func (*ArucoDetectorParameters) SetMinOtsuStdDev ¶
func (p *ArucoDetectorParameters) SetMinOtsuStdDev(minOtsuStdDev float64)
func (*ArucoDetectorParameters) SetPerspectiveRemoveIgnoredMarginPerCell ¶
func (p *ArucoDetectorParameters) SetPerspectiveRemoveIgnoredMarginPerCell(perspectiveRemoveIgnoredMarginPerCell float64)
func (*ArucoDetectorParameters) SetPerspectiveRemovePixelPerCell ¶
func (p *ArucoDetectorParameters) SetPerspectiveRemovePixelPerCell(perspectiveRemovePixelPerCell int)
func (*ArucoDetectorParameters) SetPolygonalApproxAccuracyRate ¶
func (p *ArucoDetectorParameters) SetPolygonalApproxAccuracyRate(polygonalApproxAccuracyRate float64)
type ArucoDictionary ¶
type ArucoDictionary struct {
// contains filtered or unexported fields
}
func GetPredefinedDictionary ¶
func GetPredefinedDictionary(dictionaryId ArucoDictionaryCode) ArucoDictionary
type ArucoDictionaryCode ¶
type ArucoDictionaryCode int
const ( ArucoDict4x4_50 ArucoDictionaryCode = iota ArucoDict4x4_100 ArucoDictionaryCode = iota ArucoDict4x4_250 ArucoDictionaryCode = iota ArucoDict4x4_1000 ArucoDictionaryCode = iota ArucoDict5x5_50 ArucoDictionaryCode = iota ArucoDict5x5_100 ArucoDictionaryCode = iota ArucoDict5x5_250 ArucoDictionaryCode = iota ArucoDict5x5_1000 ArucoDictionaryCode = iota ArucoDict6x6_50 ArucoDictionaryCode = iota ArucoDict6x6_100 ArucoDictionaryCode = iota ArucoDict6x6_250 ArucoDictionaryCode = iota ArucoDict6x6_1000 ArucoDictionaryCode = iota ArucoDict7x7_50 ArucoDictionaryCode = iota ArucoDict7x7_100 ArucoDictionaryCode = iota ArucoDict7x7_250 ArucoDictionaryCode = iota ArucoDict7x7_1000 ArucoDictionaryCode = iota ArucoDictArucoOriginal ArucoDictionaryCode = iota ArucoDictAprilTag_16h5 ArucoDictionaryCode = iota ///< 4x4 bits, minimum hamming distance between any two codes = 5, 30 codes ArucoDictAprilTag_25h9 ArucoDictionaryCode = iota ///< 5x5 bits, minimum hamming distance between any two codes = 9, 35 codes ArucoDictAprilTag_36h10 ArucoDictionaryCode = iota ///< 6x6 bits, minimum hamming distance between any two codes = 10, 2320 codes ArucoDictAprilTag_36h11 ArucoDictionaryCode = iota ///< 6x6 bits, minimum hamming distance between any two codes = 11, 587 codes )
type AverageHash ¶
type AverageHash struct{}
AverageHash is implementation of the AverageHash algorithm.
func (AverageHash) Compare ¶
func (hash AverageHash) Compare(a, b gocv.Mat) float64
Compare compares the hash value between a and b using AverageHash.
For further information, see: https://docs.opencv.org/master/de/d29/classcv_1_1img__hash_1_1ImgHashBase.html#a444a3e9ec792cf029385809393f84ad5
func (AverageHash) Compute ¶
func (hash AverageHash) Compute(input gocv.Mat, output *gocv.Mat)
Compute computes hash of the input image using AverageHash.
For further information, see: https://docs.opencv.org/master/de/d29/classcv_1_1img__hash_1_1ImgHashBase.html#ae2d9288db370089dfd8aab85d5e0b0f3
type BackgroundSubtractorCNT ¶
type BackgroundSubtractorCNT struct {
// contains filtered or unexported fields
}
BackgroundSubtractorCNT is a wrapper around the cv::BackgroundSubtractorCNT.
func NewBackgroundSubtractorCNT ¶
func NewBackgroundSubtractorCNT() BackgroundSubtractorCNT
NewBackgroundSubtractorCNT returns a new BackgroundSubtractor algorithm of type CNT. CNT is Background subtraction algorithm based on counting. About as fast as MOG2 on a high end system. More than twice faster than MOG2 on cheap hardware (benchmarked on Raspberry Pi3). Algorithm by Sagi Zeevi
For further details, please see: https://docs.opencv.org/3.4/de/dca/classcv_1_1bgsegm_1_1BackgroundSubtractorCNT.html
func (*BackgroundSubtractorCNT) Apply ¶
func (b *BackgroundSubtractorCNT) Apply(src gocv.Mat, dst *gocv.Mat)
Apply computes a foreground mask using the current BackgroundSubtractorCNT.
For further details, please see: https://docs.opencv.org/3.4/de/dca/classcv_1_1bgsegm_1_1BackgroundSubtractorCNT.html
func (*BackgroundSubtractorCNT) Close ¶
func (b *BackgroundSubtractorCNT) Close() error
Close BackgroundSubtractorCNT.
type BlockMeanHash ¶
type BlockMeanHash struct {
Mode BlockMeanHashMode
}
BlockMeanHash is implementation of the BlockMeanHash algorithm.
func (BlockMeanHash) Compare ¶
func (hash BlockMeanHash) Compare(a, b gocv.Mat) float64
Compare compares the hash value between a and b using BlockMeanHash.
For further information, see: https://docs.opencv.org/master/de/d29/classcv_1_1img__hash_1_1ImgHashBase.html#a444a3e9ec792cf029385809393f84ad5
func (BlockMeanHash) Compute ¶
func (hash BlockMeanHash) Compute(input gocv.Mat, output *gocv.Mat)
Compute computes hash of the input image using BlockMeanHash.
For further information, see: https://docs.opencv.org/master/de/d29/classcv_1_1img__hash_1_1ImgHashBase.html#ae2d9288db370089dfd8aab85d5e0b0f3
type BlockMeanHashMode ¶
type BlockMeanHashMode int
const ( BlockMeanHashMode0 BlockMeanHashMode = iota BlockMeanHashMode1 BlockMeanHashModeDefault = BlockMeanHashMode0 )
func (BlockMeanHashMode) String ¶
func (c BlockMeanHashMode) String() string
type ColorMomentHash ¶
type ColorMomentHash struct{}
ColorMomentHash is implementation of the ColorMomentHash algorithm.
func (ColorMomentHash) Compare ¶
func (hash ColorMomentHash) Compare(a, b gocv.Mat) float64
Compare compares the hash value between a and b using ColorMomentHash.
For further information, see: https://docs.opencv.org/master/de/d29/classcv_1_1img__hash_1_1ImgHashBase.html#a444a3e9ec792cf029385809393f84ad5
func (ColorMomentHash) Compute ¶
func (hash ColorMomentHash) Compute(input gocv.Mat, output *gocv.Mat)
Compute computes hash of the input image using ColorMomentHash.
For further information, see: https://docs.opencv.org/master/de/d29/classcv_1_1img__hash_1_1ImgHashBase.html#ae2d9288db370089dfd8aab85d5e0b0f3
type GrayworldWB ¶
type GrayworldWB struct {
// contains filtered or unexported fields
}
GrayworldWB is a wrapper around the cv::xphoto::GrayworldWB.
func NewGrayworldWB ¶
func NewGrayworldWB() GrayworldWB
NewGrayworldWBWithParams returns a new Gray-world white balance algorithm. of type GrayworldWB with customized parameters. GrayworldWB algorithm scales the values of pixels based on a gray-world assumption which states that the average of all channels should result in a gray image.
For further details, please see: https://docs.opencv.org/master/de/daa/group__xphoto.html https://docs.opencv.org/master/d7/d71/classcv_1_1xphoto_1_1GrayworldWB.html
func (*GrayworldWB) BalanceWhite ¶
func (b *GrayworldWB) BalanceWhite(src gocv.Mat, dst *gocv.Mat)
BalanceWhite computes a Gray-world white balance using the current GrayworldWB.
For further details, please see: https://docs.opencv.org/master/d7/d71/classcv_1_1xphoto_1_1GrayworldWB.html#details
func (*GrayworldWB) GetSaturationThreshold ¶
func (b *GrayworldWB) GetSaturationThreshold() float32
GetSaturationThreshold return the Maximum saturation for a pixel to be included in the gray-world assumption.
For further details, please see: https://docs.opencv.org/master/de/daa/group__xphoto.html https://docs.opencv.org/master/d7/d71/classcv_1_1xphoto_1_1GrayworldWB.html https://docs.opencv.org/master/d7/d71/classcv_1_1xphoto_1_1GrayworldWB.html#ac6e17766e394adc15588b8522202cc71
func (*GrayworldWB) SetSaturationThreshold ¶
func (b *GrayworldWB) SetSaturationThreshold(saturationThreshold float32)
SetSaturationThreshold set a Maximum saturation for a pixel to be included in the gray-world assumption.
For further details, please see: https://docs.opencv.org/master/de/daa/group__xphoto.html https://docs.opencv.org/master/d7/d71/classcv_1_1xphoto_1_1GrayworldWB.html https://docs.opencv.org/master/d7/d71/classcv_1_1xphoto_1_1GrayworldWB.html#ac6e17766e394adc15588b8522202cc71
type ImgHashBase ¶
type ImgHashBase interface { Compare(a, b gocv.Mat) float64 Compute(inputArr gocv.Mat, outputArr *gocv.Mat) }
ImgHashBase defines the interface used for all of the img_hash algorithms.
type InpaintTypes ¶
type InpaintTypes int
const ( ShitMap InpaintTypes = 0 FsrBest InpaintTypes = 1 FsrFast InpaintTypes = 2 )
type LBPHFaceRecognizer ¶
type LBPHFaceRecognizer struct {
// contains filtered or unexported fields
}
LBPHFaceRecognizer is a wrapper for the OpenCV Local Binary Patterns Histograms face recognizer.
func NewLBPHFaceRecognizer ¶
func NewLBPHFaceRecognizer() *LBPHFaceRecognizer
NewLBPHFaceRecognizer creates a new LBPH Recognizer model.
For further information, see: https://docs.opencv.org/master/df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html
func (*LBPHFaceRecognizer) GetNeighbors ¶
func (fr *LBPHFaceRecognizer) GetNeighbors() int
GetNeighbors returns the neighbors value of the model.
For further information, see: https://docs.opencv.org/master/df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#a50a3e2ca6e8464166e153c9df84b0a77
func (*LBPHFaceRecognizer) LoadFile ¶
func (fr *LBPHFaceRecognizer) LoadFile(fname string)
LoadFile loads a trained model data from file.
For further information, see: https://docs.opencv.org/master/dd/d65/classcv_1_1face_1_1FaceRecognizer.html#acc42e5b04595dba71f0777c7179af8c3
func (*LBPHFaceRecognizer) Predict ¶
func (fr *LBPHFaceRecognizer) Predict(sample gocv.Mat) int
Predict predicts a label for a given input image. It returns the label for correctly predicted image or -1 if not found.
For further information, see: https://docs.opencv.org/master/dd/d65/classcv_1_1face_1_1FaceRecognizer.html#aa2d2f02faffab1bf01317ae6502fb631
func (*LBPHFaceRecognizer) PredictExtendedResponse ¶
func (fr *LBPHFaceRecognizer) PredictExtendedResponse(sample gocv.Mat) PredictResponse
PredictExtendedResponse returns a label and associated confidence (e.g. distance) for a given input image. It is the extended version of `Predict()`.
For further information, see: https://docs.opencv.org/master/dd/d65/classcv_1_1face_1_1FaceRecognizer.html#ab0d593e53ebd9a0f350c989fcac7f251
func (*LBPHFaceRecognizer) SaveFile ¶
func (fr *LBPHFaceRecognizer) SaveFile(fname string)
SaveFile saves the trained model data to file.
For further information, see: https://docs.opencv.org/master/dd/d65/classcv_1_1face_1_1FaceRecognizer.html#a2adf2d555550194244b05c91fefcb4d6
func (*LBPHFaceRecognizer) SetNeighbors ¶
func (fr *LBPHFaceRecognizer) SetNeighbors(neighbors int)
SetNeighbors sets the neighbors value of the model, i.e. the number of sample points to build a Circular Local Binary Pattern from. Note that wrong neighbors can raise OpenCV exception!
For further information, see: https://docs.opencv.org/master/df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#ab225f7bf353ce8697a506eda10124a92
func (*LBPHFaceRecognizer) SetRadius ¶
func (fr *LBPHFaceRecognizer) SetRadius(radius int)
SetRadius sets the radius used for building the Circular Local Binary Pattern.
For further information, see: https://docs.opencv.org/master/df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#a62d94c75cade902fd3b487b1ef9883fc
func (*LBPHFaceRecognizer) SetThreshold ¶
func (fr *LBPHFaceRecognizer) SetThreshold(threshold float32)
SetThreshold sets the threshold value of the model, i.e. the threshold applied in the prediction.
For further information, see: https://docs.opencv.org/master/dd/d65/classcv_1_1face_1_1FaceRecognizer.html#a3182081e5f8023e658ad8ab96656dd63
func (*LBPHFaceRecognizer) Train ¶
func (fr *LBPHFaceRecognizer) Train(images []gocv.Mat, labels []int)
Train loaded model with images and their labels
func (*LBPHFaceRecognizer) Update ¶
func (fr *LBPHFaceRecognizer) Update(newImages []gocv.Mat, newLabels []int)
Update updates the existing trained model with new images and labels.
For further information, see: https://docs.opencv.org/master/dd/d65/classcv_1_1face_1_1FaceRecognizer.html#a8a4e73ea878dcd0c235d0487189d25f3
type LearningBasedWB ¶
type LearningBasedWB struct {
// contains filtered or unexported fields
}
LearningBasedWB is a wrapper around the cv::xphoto::LearningBasedWB.
func NewLearningBasedWB ¶
func NewLearningBasedWB() LearningBasedWB
NewLearningBasedWB returns more sophisticated learning-based automatic white balance algorithm.
For further details, please see: https://docs.opencv.org/master/de/daa/group__xphoto.html https://docs.opencv.org/master/d4/d3b/classcv_1_1xphoto_1_1LearningBasedWB.html https://docs.opencv.org/master/de/daa/group__xphoto.html#gac8fb5636b27eac575f4a4c9c54dd1c7c
func NewLearningBasedWBWithParams ¶
func NewLearningBasedWBWithParams(pathmodel string) LearningBasedWB
NewLearningBasedWBWithParams returns more sophisticated learning-based automatic white balance algorithm. A type LearningBasedWB algorithm with path model parameters.
For further details, please see: https://docs.opencv.org/master/de/daa/group__xphoto.html https://docs.opencv.org/master/d4/d3b/classcv_1_1xphoto_1_1LearningBasedWB.html https://docs.opencv.org/master/de/daa/group__xphoto.html#gac8fb5636b27eac575f4a4c9c54dd1c7c
func (*LearningBasedWB) BalanceWhite ¶
func (b *LearningBasedWB) BalanceWhite(src gocv.Mat, dst *gocv.Mat)
BalanceWhite computes a learning-based white balance using the current LearningBasedWB.
For further details, please see: https://docs.opencv.org/master/d9/d7a/classcv_1_1xphoto_1_1WhiteBalancer.html#ae23838a1a54f101b255bca1a97418aa3
func (*LearningBasedWB) ExtractSimpleFeatures ¶
func (b *LearningBasedWB) ExtractSimpleFeatures(src gocv.Mat, dst *gocv.Mat)
ExtractSimpleFeatures Implements the feature extraction part of the algorithm.
For further details, please see: https://docs.opencv.org/master/d4/d3b/classcv_1_1xphoto_1_1LearningBasedWB.html#aeeaca052262a01d0feed6312ccb9a76e
func (*LearningBasedWB) GetHistBinNum ¶
func (b *LearningBasedWB) GetHistBinNum() int
GetHistBinNum Defines the size of one dimension of a three-dimensional RGB histogram that is used internally by the algorithm.
For further details, please see: https://docs.opencv.org/master/d4/d3b/classcv_1_1xphoto_1_1LearningBasedWB.html#abfe7d3983f8245a7eba0a7f9de40e3e1
func (*LearningBasedWB) GetRangeMaxVal ¶
func (b *LearningBasedWB) GetRangeMaxVal() int
GetRangeMaxVal Maximum possible value of the input image (e.g. 255 for 8 bit images, 4095 for 12 bit images)
For further details, please see: https://docs.opencv.org/master/d4/d3b/classcv_1_1xphoto_1_1LearningBasedWB.html#a764b51265b5a1bd7bd11ce9d14d6f75f
func (*LearningBasedWB) GetSaturationThreshold ¶
func (b *LearningBasedWB) GetSaturationThreshold() float32
GetSaturationThreshold Threshold that is used to determine saturated pixels
For further details, please see: https://docs.opencv.org/master/d4/d3b/classcv_1_1xphoto_1_1LearningBasedWB.html#ae7eb310249709c2aef41d6399ebd7660
func (*LearningBasedWB) SetHistBinNum ¶
func (b *LearningBasedWB) SetHistBinNum(val int)
SetHistBinNum Defines the size of one dimension of a three-dimensional RGB histogram that is used internally by the algorithm.
For further details, please see: https://docs.opencv.org/master/d4/d3b/classcv_1_1xphoto_1_1LearningBasedWB.html#a3381bd425bc4201133c9669071908e7f
func (*LearningBasedWB) SetRangeMaxVal ¶
func (b *LearningBasedWB) SetRangeMaxVal(val int)
SetRangeMaxVal Maximum possible value of the input image (e.g. 255 for 8 bit images, 4095 for 12 bit images)
For further details, please see: https://docs.opencv.org/master/d4/d3b/classcv_1_1xphoto_1_1LearningBasedWB.html#a3d9395274be8053b2f09e46d11a24a65
func (*LearningBasedWB) SetSaturationThreshold ¶
func (b *LearningBasedWB) SetSaturationThreshold(val float32)
SetSaturationThreshold Threshold that is used to determine saturated pixels
For further details, please see: https://docs.opencv.org/master/d4/d3b/classcv_1_1xphoto_1_1LearningBasedWB.html#a9bff5a507d4dffc58e16d85b1d07f35f
type MarrHildrethHash ¶
MarrHildrethHash is implementation of the MarrHildrethHash algorithm.
func NewMarrHildrethHash ¶
func NewMarrHildrethHash() MarrHildrethHash
func (MarrHildrethHash) Compare ¶
func (hash MarrHildrethHash) Compare(a, b gocv.Mat) float64
Compare compares the hash value between a and b using MarrHildrethHash.
For further information, see: https://docs.opencv.org/master/de/d29/classcv_1_1img__hash_1_1ImgHashBase.html#a444a3e9ec792cf029385809393f84ad5
func (MarrHildrethHash) Compute ¶
func (hash MarrHildrethHash) Compute(input gocv.Mat, output *gocv.Mat)
Compute computes hash of the input image using MarrHildrethHash.
For further information, see: https://docs.opencv.org/master/de/d29/classcv_1_1img__hash_1_1ImgHashBase.html#ae2d9288db370089dfd8aab85d5e0b0f3
type PHash ¶
type PHash struct{}
PHash is implementation of the PHash algorithm.
func (PHash) Compare ¶
Compare compares the hash value between a and b using PHash.
For further information, see: https://docs.opencv.org/master/de/d29/classcv_1_1img__hash_1_1ImgHashBase.html#a444a3e9ec792cf029385809393f84ad5
type PredictResponse ¶
PredictResponse represents a predicted label and associated confidence.
type RadialVarianceHash ¶
RadialVarianceHash is implementation of the RadialVarianceHash algorithm.
func NewRadialVarianceHash ¶
func NewRadialVarianceHash() RadialVarianceHash
func (RadialVarianceHash) Compare ¶
func (hash RadialVarianceHash) Compare(a, b gocv.Mat) float64
Compare compares the hash value between a and b using RadialVarianceHash.
For further information, see: https://docs.opencv.org/master/de/d29/classcv_1_1img__hash_1_1ImgHashBase.html#a444a3e9ec792cf029385809393f84ad5
func (RadialVarianceHash) Compute ¶
func (hash RadialVarianceHash) Compute(input gocv.Mat, output *gocv.Mat)
Compute computes hash of the input image using RadialVarianceHash.
For further information, see: https://docs.opencv.org/master/de/d29/classcv_1_1img__hash_1_1ImgHashBase.html#ae2d9288db370089dfd8aab85d5e0b0f3
type SURF ¶
type SURF struct {
// contains filtered or unexported fields
}
SURF is a wrapper around the cv::SURF algorithm. Due to being a patented algorithm you must set the OpenCV contrib build flag OPENCV_ENABLE_NONFREE=1 in order to use it.
func NewSURF ¶
func NewSURF() SURF
NewSURF returns a new SURF algorithm.
For further details, please see: https://docs.opencv.org/master/d5/df7/classcv_1_1xfeatures2d_1_1SURF.html
func (*SURF) Detect ¶
Detect keypoints in an image using SURF.
For further details, please see: https://docs.opencv.org/master/d0/d13/classcv_1_1Feature2D.html#aa4e9a7082ec61ebc108806704fbd7887
func (*SURF) DetectAndCompute ¶
DetectAndCompute detects and computes keypoints in an image using SURF.
For further details, please see: https://docs.opencv.org/master/d0/d13/classcv_1_1Feature2D.html#a8be0d1c20b08eb867184b8d74c15a677
type SimpleWB ¶
type SimpleWB struct {
// contains filtered or unexported fields
}
SimpleWB is a wrapper around the cv::xphoto::SimpleWB.
func NewSimpleWB ¶
func NewSimpleWB() SimpleWB
NewSimpleWBWithParams returns more sophisticated learning-based automatic white balance algorithm. A type SimpleWB algorithm with path model parameters.
For further details, please see: https://docs.opencv.org/master/de/daa/group__xphoto.html https://docs.opencv.org/master/d1/d8b/classcv_1_1xphoto_1_1SimpleWB.html https://docs.opencv.org/master/de/daa/group__xphoto.html#ga2b48b3b384b5c5ee1b15a2a01c26d5f1
func (*SimpleWB) BalanceWhite ¶
BalanceWhite computes a learning-based white balance using the current LearningBasedWB.
For further details, please see: https://docs.opencv.org/master/d9/d7a/classcv_1_1xphoto_1_1WhiteBalancer.html#ae23838a1a54f101b255bca1a97418aa3
func (*SimpleWB) GetInputMax ¶
GetInputMax Input image range maximum value.
For further details, please see: https://docs.opencv.org/master/d1/d8b/classcv_1_1xphoto_1_1SimpleWB.html#a45fef780842168cba868212c71ad8318
func (*SimpleWB) GetInputMin ¶
GetInputMin Input image range minimum value.
For further details, please see: https://docs.opencv.org/master/d1/d8b/classcv_1_1xphoto_1_1SimpleWB.html#a69ee7c05e5ca45cac60040371a4a648c
func (*SimpleWB) GetOutputMax ¶
GetOutputMax Output image range maximum value.
For further details, please see: https://docs.opencv.org/master/d1/d8b/classcv_1_1xphoto_1_1SimpleWB.html#af8b051a0b2d3e8ad0aa323c195d966c1
func (*SimpleWB) GetOutputMin ¶
GetOutputMin Output image range minimum value.
For further details, please see: https://docs.opencv.org/master/d1/d8b/classcv_1_1xphoto_1_1SimpleWB.html#ada11ef4159bd6354a98d371f5be68b44
func (*SimpleWB) GetP ¶
GetP Percent of top/bottom values to ignore.
For further details, please see: https://docs.opencv.org/master/d1/d8b/classcv_1_1xphoto_1_1SimpleWB.html#a49d63fd73572fc88c944f5ffbcb085a3
func (*SimpleWB) SetInputMax ¶
SetInputMax Input image range maximum value.
For further details, please see: https://docs.opencv.org/master/d1/d8b/classcv_1_1xphoto_1_1SimpleWB.html#a6b2523a8740b353ef50e136d0399bf3a
func (*SimpleWB) SetInputMin ¶
SetInputMin Input image range minimum value.
For further details, please see: https://docs.opencv.org/master/d1/d8b/classcv_1_1xphoto_1_1SimpleWB.html#a1b08a24a8589aae886fbf96ba27691a0
func (*SimpleWB) SetOutputMax ¶
SetOutputMax Output image range maximum value.
For further details, please see: https://docs.opencv.org/master/d1/d8b/classcv_1_1xphoto_1_1SimpleWB.html#a06962b042d9089366bc6347e608481b6
func (*SimpleWB) SetOutputMin ¶
SetOutputMin Output image range minimum value.
For further details, please see: https://docs.opencv.org/master/d1/d8b/classcv_1_1xphoto_1_1SimpleWB.html#a60d1e06b122747d416c4f1563167c740
func (*SimpleWB) SetP ¶
SetP Percent of top/bottom values to ignore.
For further details, please see: https://docs.opencv.org/master/d1/d8b/classcv_1_1xphoto_1_1SimpleWB.html#a31b6bb5452afdb5a444920013417f018
type TonemapDurand ¶
type TonemapDurand struct {
// contains filtered or unexported fields
}
TonemapDurand is a wrapper around the cv::xphoto::TonemapDurand.
func NewTonemapDurand ¶
func NewTonemapDurand() TonemapDurand
NewTonemapDurand returns more sophisticated learning-based automatic white balance algorithm. A type TonemapDurand algorithm with path model parameters.
For further details, please see: https://docs.opencv.org/master/de/daa/group__xphoto.html https://docs.opencv.org/master/d1/db3/classcv_1_1xphoto_1_1TonemapDurand.html https://docs.opencv.org/master/de/daa/group__xphoto.html#ga51a091aa54e26b3546316ce2c1df190b
func NewTonemapDurandWithParams ¶
func NewTonemapDurandWithParams(gamma float32, contrast float32, saturation float32, sigma_color float32, sigma_space float32) TonemapDurand
NewTonemapDurandWithParams returns more sophisticated learning-based automatic white balance algorithm. A type TonemapDurand algorithm with path model parameters.
For further details, please see: https://docs.opencv.org/master/de/daa/group__xphoto.html https://docs.opencv.org/master/d1/db3/classcv_1_1xphoto_1_1TonemapDurand.html https://docs.opencv.org/master/de/daa/group__xphoto.html#ga51a091aa54e26b3546316ce2c1df190b
func (*TonemapDurand) GetContrast ¶
func (b *TonemapDurand) GetContrast() float32
GetContrast
For further details, please see: https://docs.opencv.org/master/de/daa/group__xphoto.html#ga2df693dd285a7e7fd3b4fc8a8a750cce
func (*TonemapDurand) GetGamma ¶
func (b *TonemapDurand) GetGamma() float32
GetGamma
For further details, please see: https://docs.opencv.org/master/d8/d5e/classcv_1_1Tonemap.html#a147c2b57ed5a5a0566001f4db2ddc0dd
func (*TonemapDurand) GetSaturation ¶
func (b *TonemapDurand) GetSaturation() float32
GetSaturation
For further details, please see: https://docs.opencv.org/master/de/daa/group__xphoto.html#gad8ab5850af6fdb3f6bc51d5c9371bbfe
func (*TonemapDurand) GetSigmaColor ¶
func (b *TonemapDurand) GetSigmaColor() float32
GetSigmaColor
For further details, please see: https://docs.opencv.org/master/de/daa/group__xphoto.html#ga31d7588db7e47fb81890cba7ff014edb
func (*TonemapDurand) GetSigmaSpace ¶
func (b *TonemapDurand) GetSigmaSpace() float32
GetSigmaSpace
For further details, please see: https://docs.opencv.org/master/de/daa/group__xphoto.html#ga078b11014d8a41920f50cab57fce9515
func (*TonemapDurand) Process ¶
func (b *TonemapDurand) Process(src gocv.Mat, dst *gocv.Mat)
Process Tonemaps image with gocv.MatTypeCV32FC3 type image For further details, please see: https://docs.opencv.org/master/d8/d5e/classcv_1_1Tonemap.html#aa705c3b7226f7028a5c117dffab60fe4
func (*TonemapDurand) SetContrast ¶
func (b *TonemapDurand) SetContrast(val float32)
SetContrast
For further details, please see: https://docs.opencv.org/master/de/daa/group__xphoto.html#ga99eaaa24dc25ba387093e957bfca1cad
func (*TonemapDurand) SetGamma ¶
func (b *TonemapDurand) SetGamma(val float32)
SetGamma
For further details, please see: https://docs.opencv.org/master/d8/d5e/classcv_1_1Tonemap.html#ac809d2967f942b038b4bf21c97f8b1b7
func (*TonemapDurand) SetSaturation ¶
func (b *TonemapDurand) SetSaturation(val float32)
SetSaturation
For further details, please see: https://docs.opencv.org/master/de/daa/group__xphoto.html#ga9c7de9517f95fd046910fc818e256d55
func (*TonemapDurand) SetSigmaColor ¶
func (b *TonemapDurand) SetSigmaColor(val float32)
SetSigmaColor
For further details, please see: https://docs.opencv.org/master/de/daa/group__xphoto.html#ga7dec866735ecbae9e05224958d4585fd
func (*TonemapDurand) SetSigmaSpace ¶
func (b *TonemapDurand) SetSigmaSpace(val float32)
SetSigmaSpace
For further details, please see: https://docs.opencv.org/master/de/daa/group__xphoto.html#ga8869068912fae078699ce931bdc17fc4
type TrackerCSRT ¶
type TrackerCSRT struct {
// contains filtered or unexported fields
}
TrackerCSRT is an implementation of Discriminative Correlation Filter Tracker with Channel and Spatial Reliability.
For further details, please see: https://docs.opencv.org/master/d2/da2/classcv_1_1TrackerCSRT.html
type TrackerKCF ¶
type TrackerKCF struct {
// contains filtered or unexported fields
}
TrackerKCF is a Tracker based on KCF, which is a novel tracking framework that utilizes properties of circulant matrix to enhance the processing speed.
For further details, please see: https://docs.opencv.org/master/d2/dff/classcv_1_1TrackerKCF.html