@Namespace(value="cv::mcc") @Properties(inherit=opencv_mcc.class) public class CCheckerDetector extends Algorithm
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
CCheckerDetector(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static CCheckerDetector |
create()
\brief Returns the implementation of the CCheckerDetector.
|
CChecker |
getBestColorChecker()
\brief Get the best color checker.
|
boolean |
process(GpuMat image,
int chartType) |
boolean |
process(GpuMat image,
int chartType,
int nc,
boolean useNet,
DetectorParameters params) |
boolean |
process(Mat image,
int chartType) |
boolean |
process(Mat image,
int chartType,
int nc,
boolean useNet,
DetectorParameters params)
\brief Find the ColorCharts in the given image.
|
boolean |
process(UMat image,
int chartType) |
boolean |
process(UMat image,
int chartType,
int nc,
boolean useNet,
DetectorParameters params) |
boolean |
processWithROI(GpuMat image,
int chartType,
RectVector regionsOfInterest) |
boolean |
processWithROI(GpuMat image,
int chartType,
RectVector regionsOfInterest,
int nc,
boolean useNet,
DetectorParameters params) |
boolean |
processWithROI(Mat image,
int chartType,
RectVector regionsOfInterest) |
boolean |
processWithROI(Mat image,
int chartType,
RectVector regionsOfInterest,
int nc,
boolean useNet,
DetectorParameters params)
\brief Find the ColorCharts in the given image.
|
boolean |
processWithROI(UMat image,
int chartType,
RectVector regionsOfInterest) |
boolean |
processWithROI(UMat image,
int chartType,
RectVector regionsOfInterest,
int nc,
boolean useNet,
DetectorParameters params) |
boolean |
setNet(Net net)
\brief Set the net which will be used to find the approximate
bounding boxes for the color charts.
|
clear, empty, getDefaultName, getPointer, position, read, save, save, write, write, writeaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic CCheckerDetector(Pointer p)
Pointer(Pointer).@Cast(value="bool") public boolean setNet(@ByVal Net net)
net - the neural network, if the network in empty, then
the function will return false.@Cast(value="bool") @Name(value="process") public boolean processWithROI(@ByVal Mat image, @Cast(value="const cv::mcc::TYPECHART") int chartType, @Const @ByRef RectVector regionsOfInterest, int nc, @Cast(value="bool") boolean useNet, @opencv_core.Ptr DetectorParameters params)
image - image in color space BGRchartType - type of the chart to detectregionsOfInterest - regions of image to look for the chart, if
it is empty, charts are looked for in the
entire imagenc - number of charts in the image, if you don't know the exact
then keeping this number high helps.useNet - if it is true the network provided using the setNet()
is used for preliminary search for regions where chart
could be present, inside the regionsOfInterest provied.params - parameters of the detection system. More information
about them can be found in the struct DetectorParameters.@Cast(value="bool") @Name(value="process") public boolean processWithROI(@ByVal Mat image, @Cast(value="const cv::mcc::TYPECHART") int chartType, @Const @ByRef RectVector regionsOfInterest)
@Cast(value="bool") @Name(value="process") public boolean processWithROI(@ByVal UMat image, @Cast(value="const cv::mcc::TYPECHART") int chartType, @Const @ByRef RectVector regionsOfInterest, int nc, @Cast(value="bool") boolean useNet, @opencv_core.Ptr DetectorParameters params)
@Cast(value="bool") @Name(value="process") public boolean processWithROI(@ByVal UMat image, @Cast(value="const cv::mcc::TYPECHART") int chartType, @Const @ByRef RectVector regionsOfInterest)
@Cast(value="bool") @Name(value="process") public boolean processWithROI(@ByVal GpuMat image, @Cast(value="const cv::mcc::TYPECHART") int chartType, @Const @ByRef RectVector regionsOfInterest, int nc, @Cast(value="bool") boolean useNet, @opencv_core.Ptr DetectorParameters params)
@Cast(value="bool") @Name(value="process") public boolean processWithROI(@ByVal GpuMat image, @Cast(value="const cv::mcc::TYPECHART") int chartType, @Const @ByRef RectVector regionsOfInterest)
@Cast(value="bool") public boolean process(@ByVal Mat image, @Cast(value="const cv::mcc::TYPECHART") int chartType, int nc, @Cast(value="bool") boolean useNet, @opencv_core.Ptr DetectorParameters params)
image - image in color space BGRchartType - type of the chart to detectnc - number of charts in the image, if you don't know the exact
then keeping this number high helps.useNet - if it is true the network provided using the setNet()
is used for preliminary search for regions where chart
could be present, inside the regionsOfInterest provied.params - parameters of the detection system. More information
about them can be found in the struct DetectorParameters.@Cast(value="bool") public boolean process(@ByVal Mat image, @Cast(value="const cv::mcc::TYPECHART") int chartType)
@Cast(value="bool") public boolean process(@ByVal UMat image, @Cast(value="const cv::mcc::TYPECHART") int chartType, int nc, @Cast(value="bool") boolean useNet, @opencv_core.Ptr DetectorParameters params)
@Cast(value="bool") public boolean process(@ByVal UMat image, @Cast(value="const cv::mcc::TYPECHART") int chartType)
@Cast(value="bool") public boolean process(@ByVal GpuMat image, @Cast(value="const cv::mcc::TYPECHART") int chartType, int nc, @Cast(value="bool") boolean useNet, @opencv_core.Ptr DetectorParameters params)
@Cast(value="bool") public boolean process(@ByVal GpuMat image, @Cast(value="const cv::mcc::TYPECHART") int chartType)
@opencv_core.Ptr public CChecker getBestColorChecker()
@opencv_core.Ptr public static CCheckerDetector create()
Copyright © 2021. All rights reserved.