class: ConfigFiducialBinary
[371:7] extends: FiducialConfig
ConfigFiducialBinary wraps boofcv.factory.fiducial.ConfigFiducialBinary.
Methods
-
ConfigFiducialBinary (
TargetWidth = null)Creates a binary fiducial config.
- @p
TargetWidthis target width in world units.
- @p
class: FactoryFiducial
[22:14] static extends: object
Static wrappers for boofcv.factory.fiducial.FactoryFiducial.
Methods
-
qrcode (
object Config, string ImageClassName)Creates a QR code detector.
- @p
Configis a ConfigQrCode wrapper. - @p
ImageClassNameis an input gray image class name or short image name. - @r
AQrCodeDetector wrapper.
- @p
-
microqr (
object Config, string ImageClassName)Creates a Micro QR code detector.
- @p
Configis a ConfigMicroQrCode wrapper. - @p
ImageClassNameis an input gray image class name or short image name. - @r
AMicroQrCodeDetector wrapper.
- @p
-
aztec (
object Config, string ImageClassName)Creates an Aztec code detector.
- @p
Configis a ConfigAztecCode wrapper. - @p
ImageClassNameis an input gray image class name or short image name. - @r
AnAztecCodeDetector wrapper.
- @p
-
squareBinary (
object Config, object Threshold, string ImageClassName)Creates a square binary fiducial detector.
- @p
Configis a ConfigFiducialBinary wrapper. - @p
Thresholdis a ConfigThreshold wrapper. - @p
ImageClassNameis an input gray image class name or short image name. - @r
AFiducialDetector wrapper.
- @p
-
squareImage (
object Config, object Threshold, string ImageClassName)Creates a square image fiducial detector.
- @p
Configis a ConfigFiducialImage wrapper. - @p
Thresholdis a ConfigThreshold wrapper. - @p
ImageClassNameis an input gray image class name or short image name. - @r
AFiducialDetector wrapper.
- @p
-
squareHamming (
object Marker, object Detector, string ImageClassName)Creates a square hamming fiducial detector.
- @p
Markeris a ConfigHammingMarker wrapper. - @p
Detectoris a ConfigFiducialHammingDetector wrapper. - @p
ImageClassNameis an input gray image class name or short image name. - @r
AFiducialDetector wrapper.
- @p
-
randomDots (
object Config, string ImageClassName)Creates a random dots fiducial detector.
- @p
Configis a ConfigUchiyaMarker wrapper. - @p
ImageClassNameis an input gray image class name or short image name. - @r
AFiducialDetector wrapper.
- @p
class: QrCodeDetector
[121:7] extends: object
QrCodeDetector wraps boofcv.abst.fiducial.QrCodePreciseDetector.
Members
- obj
Methods
-
QrCodeDetector (
object Obj)Wraps a QR code detector.
- @p
Objis an existing detector Java object or wrapper.
- @p
-
process (
object Image)Processes an image.
- @p
Imageis the input image.
- @p
-
getDetections ()
Gets detections.
- @r
AJava list of QrCode objects.
- @r
-
getFailures ()
Gets failed detections.
- @r
AJava list of QrCode objects.
- @r
-
getBinary ()
Gets the binary image.
- @r
AGrayU8 Java object.
- @r
-
getImageType ()
Gets the input image class.
- @r
AJava Class object.
- @r
class: QrCodeFailure
[512:14] static extends: object
QrCodeFailure exposes QrCode.Failure values.
Methods
-
valueOf (
string Name)Gets a failure value.
- @p
Nameis NONE, FORMAT, VERSION, ALIGNMENT, READING_BITS, ERROR_CORRECTION, UNKNOWN_MODE, READING_PADDING, MESSAGE_OVERFLOW, DECODING_MESSAGE, KANJI_UNAVAILABLE, or STRING_ENCODING_UNAVAILABLE. - @r
Theenum Java object.
- @p
-
values ()
Gets all failure values.
- @r
AJava array of enum values.
- @r
class: ECoCheckUtils
[1135:7] extends: object
ECoCheckUtils wraps boofcv.alg.fiducial.calib.ecocheck.ECoCheckUtils.
Members
- obj
Methods
-
ECoCheckUtils (
Obj = null)Creates or wraps ECoCheck utilities.
- @p
Objis an existing ECoCheckUtils Java object or null.
- @p
-
get (
string Name)Gets a public ECoCheck utility field.
- @p
Nameis dataBitWidthFraction, dataBorderFraction, markers, bitSampleGridSize, codec, or bitOrder. - @r
Thefield value.
- @p
-
set (
string Name, Value)Sets a public ECoCheck utility field.
- @p
Nameis dataBitWidthFraction, dataBorderFraction, or bitSampleGridSize. - @p
Valueis the new field value.
- @p
-
setInt (
string Name, int Value)Sets a public integer ECoCheck utility field.
- @p
Nameis bitSampleGridSize. - @p
Valueis the new integer value.
- @p
-
setDouble (
string Name, double Value)Sets a public floating-point ECoCheck utility field.
- @p
Nameis dataBitWidthFraction or dataBorderFraction. - @p
Valueis the new floating-point value.
- @p
-
setParametersFromConfig (
object Config)Applies parameters from an ECoCheck marker config.
- @p
Configis a ConfigECoCheckMarkers wrapper.
- @p
-
addMarker (
int Rows, int Cols)Adds a marker grid.
- @p
Rowsis grid rows. - @p
Colsis grid columns.
- @p
-
fixate ()
Finalizes marker metadata after configuration.
-
checkFixate ()
Checks that the utility has been finalized.
-
countEncodedSquaresInMarker (
int MarkerIndex)Counts encoded squares in a marker.
- @p
MarkerIndexis marker index. - @r
Theencoded square count.
- @p
-
getDataBitWidthFraction ()
Gets data bit width fraction.
- @r
Thefraction.
- @r
-
setDataBitWidthFraction (
double Fraction)Sets data bit width fraction.
- @p
Fractionis the fraction.
- @p
-
getDataBorderFraction ()
Gets data border fraction.
- @r
Thefraction.
- @r
-
setDataBorderFraction (
double Fraction)Sets data border fraction.
- @p
Fractionis the fraction.
- @p
-
getBitSampleCount ()
Gets bit sample count.
- @r
Thebit sample count.
- @r
-
maxCorners (
int Rows, int Cols)Computes the maximum corner count.
- @p
Rowsis grid rows. - @p
Colsis grid columns. - @r
Themax corner count.
- @p
class: ConfigHammingMarker
[433:7] extends: FiducialConfig
ConfigHammingMarker wraps boofcv.factory.fiducial.ConfigHammingMarker.
Methods
-
ConfigHammingMarker (
Obj = null)Creates or wraps a hamming marker config.
- @p
Objis an existing config or null.
- @p
-
addMarker (
int Encoding)Adds a marker encoding.
- @p
Encodingis the marker bit encoding.
- @p
-
bitsPerGrid ()
Gets bits per grid.
- @r
Bitsper grid.
- @r
-
loadPredefined (
string Name)Loads a predefined dictionary.
- @p
Nameis aruco_original, aruco_mip_16h3, aruco_mip_25h7, aruco_mip_36h12, aruco_ocv_4x4_1000, aruco_ocv_5x5_1000, aruco_ocv_6x6_1000, aruco_ocv_7x7_1000, apriltag_16h5, apriltag_25h7, apriltag_25h9, apriltag_36h10, or apriltag_36h11. - @r
AConfigHammingMarker wrapper.
- @p
-
loadDictionary (
string DictionaryName)Loads a dictionary.
- @p
DictionaryNameis any HammingDictionary value. - @r
AConfigHammingMarker wrapper.
- @p
class: ConfigFiducialHammingDetector
[399:7] extends: FiducialConfig
ConfigFiducialHammingDetector wraps boofcv.factory.fiducial.ConfigFiducialHammingDetector.
Methods
-
ConfigFiducialHammingDetector (
Obj = null)Creates or wraps a hamming detector config.
- @p
Objis an existing config or null.
- @p
class: ConfigHammingGrid
[1043:7] extends: FiducialConfig
ConfigHammingGrid wraps boofcv.factory.fiducial.ConfigHammingGrid.
Methods
-
ConfigHammingGrid (
MarkerConfig = null)Creates or wraps a hamming grid config.
- @p
MarkerConfigis an optional ConfigHammingMarker wrapper; null creates BoofCV defaults.
- @p
-
setTo (
object Config)Copies another config into this object.
- @p
Configis a ConfigHammingGrid wrapper or Java object. - @r
Thiswrapper.
- @p
-
getMarkerWidth ()
Gets marker width in config units.
- @r
Themarker width.
- @r
-
getMarkerHeight ()
Gets marker height in config units.
- @r
Themarker height.
- @r
-
create (
string DictionaryName, int Rows, int Cols, double SquareSize, double SpaceToSquare)Creates a config.
- @p
DictionaryNameis any HammingDictionary value. - @p
Rowsis grid rows. - @p
Colsis grid columns. - @p
SquareSizeis square size. - @p
SpaceToSquareis spacing-to-square ratio. - @r
AConfigHammingGrid wrapper.
- @p
class: RandomDotMarkerGeneratorImage
[1434:7] extends: object
RandomDotMarkerGeneratorImage wraps boofcv.alg.fiducial.dots.RandomDotMarkerGeneratorImage.
Members
- obj
Methods
-
RandomDotMarkerGeneratorImage ()
Creates a random-dot marker image generator.
-
configure (
int Width, int Height, int Radius)Configures output image.
- @p
Widthis image width. - @p
Heightis image height. - @p
Radiusis dot radius in pixels.
- @p
-
getImage ()
Gets the generated GrayU8 image.
- @r
AGrayU8 Java object.
- @r
-
getImageF32 ()
Gets the generated GrayF32 image.
- @r
AGrayF32 Java object.
- @r
-
getRadius ()
Gets dot radius.
- @r
Thedot radius.
- @r
-
setRadius (
double Radius)Sets dot radius.
- @p
Radiusis dot radius.
- @p
class: ConfigQrCode
[1583:7] extends: object
ConfigQrCode wraps boofcv.factory.fiducial.ConfigQrCode.
Members
- obj
Methods
-
ConfigQrCode (
Obj = null)Creates or wraps a QR code config.
- @p
Objis an existing config Java object or null to create a default config.
- @p
-
fast ()
Creates a fast QR config.
- @r
AConfigQrCode wrapper.
- @r
-
get (
string Name)Gets a public config field.
- @p
Nameis threshold, polygon, versionMinimum, versionMaximum, forceEncoding, defaultEncoding, considerTransposed, or ignorePaddingBytes. - @r
Thefield value.
- @p
-
set (
string Name, Value)Sets a public config field.
- @p
Nameis threshold, polygon, versionMinimum, versionMaximum, forceEncoding, defaultEncoding, considerTransposed, or ignorePaddingBytes. - @p
Valueis the new field value.
- @p
-
checkValidity ()
Validates this config.
class: ConfigFiducialImage
[382:7] extends: FiducialConfig
ConfigFiducialImage wraps boofcv.factory.fiducial.ConfigFiducialImage.
Methods
-
ConfigFiducialImage (
Obj = null)Creates or wraps an image fiducial config.
- @p
Objis an existing config or null.
- @p
class: ConfigHammingChessboard
[1007:7] extends: FiducialConfig
ConfigHammingChessboard wraps boofcv.factory.fiducial.ConfigHammingChessboard.
Methods
-
ConfigHammingChessboard (
MarkerConfig = null)Creates or wraps a hamming chessboard config.
- @p
MarkerConfigis an optional ConfigHammingMarker wrapper; null creates BoofCV defaults.
- @p
-
setTo (
object Config)Copies another config into this object.
- @p
Configis a ConfigHammingChessboard wrapper or Java object. - @r
Thiswrapper.
- @p
-
getMarkerWidth ()
Gets marker width in config units.
- @r
Themarker width.
- @r
-
getMarkerHeight ()
Gets marker height in config units.
- @r
Themarker height.
- @r
-
create (
string DictionaryName, int Rows, int Cols, double SquareSize)Creates a config.
- @p
DictionaryNameis any HammingDictionary value. - @p
Rowsis board rows. - @p
Colsis board columns. - @p
SquareSizeis square size. - @r
AConfigHammingChessboard wrapper.
- @p
class: AztecCodeFailure
[829:14] static extends: object
AztecCodeFailure exposes AztecCode.Failure values.
Methods
-
valueOf (
string Name)Gets a failure value.
- @p
Nameis NONE, IMPROBABLE, ORIENTATION, MODE_ECC, MESSAGE_ECC, or MESSAGE_PARSE. - @r
Theenum Java object.
- @p
-
values ()
Gets all failure values.
- @r
AJava array of enum values.
- @r
class: ECoCheckGenerator
[1310:7] extends: object
ECoCheckGenerator wraps boofcv.alg.fiducial.calib.ecocheck.ECoCheckGenerator.
Members
- obj
Methods
-
ECoCheckGenerator (
object Utils)Creates an ECoCheck generator.
- @p
Utilsis an ECoCheckUtils wrapper.
- @p
-
render (
int MarkerIndex)Renders one marker using the configured render engine.
- @p
MarkerIndexis marker index.
- @p
-
saveCornerLocations (
object Shape)Saves corner locations for a marker grid shape.
- @p
Shapeis a boofcv.struct.GridShape Java object.
- @p
-
setSquareWidth (
double Width)Sets square width.
- @p
Widthis square width in document units.
- @p
-
getSquareWidth ()
Gets square width.
- @r
Thesquare width.
- @r
-
setRender (
object Render)Sets the render engine.
- @p
Renderis a FiducialImageEngine or FiducialRenderEngine Java object.
- @p
-
get (
string Name)Gets a public generator field.
- @p
Nameis squareWidth or corners. - @r
Thefield value.
- @p
class: FiducialConfig
[324:7] extends: object
Base helper for fiducial configuration wrappers.
Members
- obj
Methods
-
FiducialConfig (
string ClassName, Obj = null)Creates or wraps a fiducial config.
- @p
ClassNameis the full Java class. - @p
Objis an existing config or null.
- @p
-
get (
string Name)Gets a public config field.
- @p
Nameis a field on the BoofCV config. - @r
Thefield value.
- @p
-
set (
string Name, Value)Sets a public config field.
- @p
Nameis a field on the BoofCV config. - @p
Valueis the new value or wrapper.
- @p
-
setInt (
string Name, int Value)Sets a public integer config field.
- @p
Nameis an int field on the BoofCV config. - @p
Valueis the new integer value.
- @p
-
setDouble (
string Name, double Value)Sets a public floating-point config field.
- @p
Nameis a double field on the BoofCV config. - @p
Valueis the new floating-point value.
- @p
-
setBool (
string Name, bool Value)Sets a public boolean config field.
- @p
Nameis a boolean field on the BoofCV config. - @p
Valueis the new boolean value.
- @p
-
checkValidity ()
Validates this config.
class: HammingGridGenerator
[1269:7] extends: object
HammingGridGenerator wraps boofcv.alg.fiducial.calib.hamminggrids.HammingGridGenerator.
Members
- obj
Methods
-
HammingGridGenerator (
object Config)Creates a hamming grid generator.
- @p
Configis a ConfigHammingGrid wrapper.
- @p
-
render ()
Renders the grid using the configured render engine.
-
saveCornerLocations ()
Saves generated corner locations.
-
setSquareWidth (
double Width)Sets square width.
- @p
Widthis square width in document units.
- @p
-
getSquareWidth ()
Gets square width.
- @r
Thesquare width.
- @r
-
setRender (
object Render)Sets the render engine.
- @p
Renderis a FiducialImageEngine or FiducialRenderEngine Java object.
- @p
-
get (
string Name)Gets a public generator field.
- @p
Nameis squareWidth or corners. - @r
Thefield value.
- @p
class: MicroQrCodeGenerator
[1409:7] extends: object
MicroQrCodeGenerator wraps boofcv.alg.fiducial.microqr.MicroQrCodeGenerator.
Members
- obj
Methods
-
MicroQrCodeGenerator ()
Creates a Micro QR generator.
-
render (
object Code)Renders a Micro QR code.
- @p
Codeis a MicroQrCode Java object. - @r
Thisgenerator.
- @p
-
renderImage (
int PixelsPerModule, int BorderModule, object Code)Renders a Micro QR code to a GrayU8 image.
- @p
PixelsPerModuleis pixels per module. - @p
BorderModuleis border module count. - @p
Codeis a MicroQrCode Java object. - @r
AGrayU8 Java object.
- @p
class: QrCodeMode
[489:14] static extends: object
QrCodeMode exposes QrCode.Mode values.
Methods
-
valueOf (
string Name)Gets a mode.
- @p
Nameis NUMERIC, ALPHANUMERIC, BYTE, KANJI, ECI, STRUCTURE_APPENDED, FNC1_FIRST, FNC1_SECOND, UNKNOWN, or MIXED. - @r
Theenum Java object.
- @p
-
lookup (
int Value)Looks up a mode by encoded integer value.
- @p
Valueis the QR mode encoding. - @r
Theenum Java object.
- @p
-
values ()
Gets all modes.
- @r
AJava array of enum values.
- @r
class: FiducialSquareHammingGenerator
[1556:7] extends: object
FiducialSquareHammingGenerator wraps boofcv.alg.fiducial.square.FiducialSquareHammingGenerator.
Members
- obj
Methods
-
FiducialSquareHammingGenerator (
object Config)Creates a square hamming generator.
- @p
Configis a ConfigHammingMarker wrapper.
- @p
-
generate (
int MarkerIndex)Generates a marker.
- @p
MarkerIndexis marker index.
- @p
-
generateNoInit (
int MarkerIndex)Generates a marker without initializing the render engine.
- @p
MarkerIndexis marker index.
- @p
-
getConfig ()
Gets the config.
- @r
AConfigHammingMarker Java object.
- @r
class: FiducialDetector
[232:7] extends: object
FiducialDetector wraps boofcv.abst.fiducial.FiducialDetector.
Members
- obj
Methods
-
FiducialDetector (
object Obj)Wraps a BoofCV FiducialDetector.
- @p
Objis an existing detector Java object or wrapper.
- @p
-
detect (
object Image)Detects fiducials.
- @p
Imageis the input image.
- @p
-
totalFound ()
Gets the number found.
- @r
Thefound count.
- @r
-
getId (
int Index)Gets a fiducial id.
- @p
Indexis the detection index. - @r
Theid.
- @p
-
getMessage (
int Index)Gets a fiducial message.
- @p
Indexis the detection index. - @r
Themessage.
- @p
-
getWidth (
int Index)Gets fiducial width.
- @p
Indexis the detection index. - @r
Thewidth.
- @p
-
is3D ()
Gets whether this detector estimates 3D pose.
- @r
Trueif 3D.
- @r
-
hasID ()
Gets whether this detector reports ids.
- @r
Trueif ids are reported.
- @r
-
hasMessage ()
Gets whether this detector reports messages.
- @r
Trueif messages are reported.
- @r
-
getInputType ()
Gets the input image type.
- @r
TheBoofCV ImageType.
- @r
class: MicroQrCodeDetector
[158:7] extends: object
MicroQrCodeDetector wraps boofcv.abst.fiducial.MicroQrCodePreciseDetector.
Members
- obj
Methods
-
MicroQrCodeDetector (
object Obj)Wraps a Micro QR code detector.
- @p
Objis an existing detector Java object or wrapper.
- @p
-
process (
object Image)Processes an image.
- @p
Imageis the input image.
- @p
-
getDetections ()
Gets detections.
- @r
AJava list of MicroQrCode objects.
- @r
-
getFailures ()
Gets failed detections.
- @r
AJava list of MicroQrCode objects.
- @r
-
getBinary ()
Gets the binary image.
- @r
AGrayU8 Java object.
- @r
-
getImageType ()
Gets the input image class.
- @r
AJava Class object.
- @r
class: FiducialImageEngine
[938:7] extends: object
FiducialImageEngine wraps boofcv.alg.drawing.FiducialImageEngine.
Members
- obj
Methods
-
FiducialImageEngine (
Obj = null)Creates or wraps a fiducial image render engine.
- @p
Objis an existing engine Java object or null.
- @p
-
configure (
int Width, int Height)Configures the image size.
- @p
Widthis image width. - @p
Heightis image height.
- @p
-
configureBorder (
int Width, int Height, int Border)Configures the image size and border.
- @p
Widthis image width. - @p
Heightis image height. - @p
Borderis border size in pixels.
- @p
-
init ()
Initializes the renderer.
-
setGray (
double Gray)Sets grayscale draw value.
- @p
Grayis the draw value.
- @p
-
getBorderPixels ()
Gets border pixels.
- @r
Theborder size in pixels.
- @r
-
getGray ()
Gets the rendered GrayU8 image.
- @r
AGrayU8 Java object.
- @r
-
getGrayF32 ()
Gets the rendered GrayF32 image.
- @r
AGrayF32 Java object.
- @r
-
getWhite ()
Gets white pixel value.
- @r
Thewhite value.
- @r
-
setWhite (
int White)Sets white pixel value.
- @p
Whiteis the white value.
- @p
-
getBlack ()
Gets black pixel value.
- @r
Theblack value.
- @r
-
setBlack (
int Black)Sets black pixel value.
- @p
Blackis the black value.
- @p
class: AztecCode
[846:7] extends: object
AztecCode wraps boofcv.alg.fiducial.aztec.AztecCode.
Members
- obj
Methods
-
AztecCode (
Obj = null)Creates or wraps Aztec code data.
- @p
Objis an existing AztecCode Java object or null.
- @p
-
get (
string Name)Gets a public Aztec field.
- @p
Nameis dataLayers, messageWordCount, rawbits, corrected, message, structure, failure, transposed, totalBitErrors, locator, bounds, or Hinv. - @r
Thefield value.
- @p
-
set (
string Name, Value)Sets a public Aztec field.
- @p
Nameis dataLayers, messageWordCount, rawbits, corrected, message, structure, failure, transposed, totalBitErrors, bounds, or Hinv. - @p
Valueis the new field value or wrapper.
- @p
-
setInt (
string Name, int Value)Sets a public integer Aztec field.
- @p
Nameis dataLayers, messageWordCount, or totalBitErrors. - @p
Valueis the new integer value.
- @p
-
setBool (
string Name, bool Value)Sets a public boolean Aztec field.
- @p
Nameis transposed. - @p
Valueis the new boolean value.
- @p
-
getMarkerWidthSquares ()
Gets marker width in squares.
- @r
Themarker width.
- @r
-
getLocatorRingCount ()
Gets locator ring count.
- @r
Thering count.
- @r
-
getLocatorWidthSquares ()
Gets locator width in squares.
- @r
Thelocator width.
- @r
-
getCapacityBits ()
Gets capacity in bits.
- @r
Thebit capacity.
- @r
-
getCapacityWords ()
Gets capacity in words.
- @r
Theword capacity.
- @r
-
getWordBitCount ()
Gets word bit count for this code.
- @r
Theword bit count.
- @r
-
getCorrectionLevel ()
Gets correction level for this code.
- @r
Thecorrection level.
- @r
-
reset ()
Resets this Aztec code data.
-
setTo (
object Code)Copies another Aztec code into this object.
- @p
Codeis an AztecCode wrapper or Java object. - @r
Thiswrapper.
- @p
-
copy ()
Copies this Aztec code.
- @r
AnAztecCode wrapper.
- @r
-
getWordBitCountForLayers (
int DataLayers)Gets word bit count for a data-layer count.
- @p
DataLayersis the number of data layers. - @r
Theword bit count.
- @p
class: HammingDictionary
[307:14] static extends: object
HammingDictionary wraps boofcv.factory.fiducial.HammingDictionary.
Methods
-
valueOf (
string Name)Looks up a hamming dictionary.
- @p
Nameis CUSTOM, ARUCO_ORIGINAL, ARUCO_MIP_16h3, ARUCO_MIP_25h7, ARUCO_MIP_36h12, ARUCO_OCV_4x4_1000, ARUCO_OCV_5x5_1000, ARUCO_OCV_6x6_1000, ARUCO_OCV_7x7_1000, APRILTAG_16h5, APRILTAG_25h7, APRILTAG_25h9, APRILTAG_36h10, or APRILTAG_36h11. - @r
Theenum Java object.
- @p
-
allPredefined ()
Gets all predefined dictionaries.
- @r
AJava array of dictionary enum values.
- @r
class: QrCodeMaskPattern
[529:14] static extends: object
QrCodeMaskPattern exposes QR mask patterns.
Methods
-
lookupMask (
string Name)Looks up a mask pattern.
- @p
Nameis M000, M001, M010, M011, M100, M101, M110, or M111. - @r
Themask-pattern Java object.
- @p
-
lookupMaskInt (
int Value)Looks up a mask pattern by encoded integer value.
- @p
Valueis 0 through 7. - @r
Themask-pattern Java object.
- @p
-
values ()
Gets all mask patterns.
- @r
AJava list of mask-pattern values.
- @r
class: QrCodeGeneratorImage
[1353:7] extends: object
QrCodeGeneratorImage wraps boofcv.alg.fiducial.qrcode.QrCodeGeneratorImage.
Members
- obj
Methods
-
QrCodeGeneratorImage (
int PixelsPerModule)Creates a QR image generator.
- @p
PixelsPerModuleis the number of pixels per QR module.
- @p
-
render (
object Code)Renders a QR code.
- @p
Codeis a BoofCV QrCode object. - @r
Thisgenerator.
- @p
-
getBorderModule ()
Gets border module count.
- @r
Theborder module count.
- @r
-
setBorderModule (
int BorderModule)Sets border module count.
- @p
BorderModuleis the border module count.
- @p
-
getGray ()
Gets the rendered GrayU8 image.
- @r
AGrayU8 Java object.
- @r
-
getGrayF32 ()
Gets the rendered GrayF32 image.
- @r
AGrayF32 Java object.
- @r
class: QrCode
[552:7] extends: object
QrCode wraps boofcv.alg.fiducial.qrcode.QrCode.
Members
- obj
Methods
-
QrCode (
Obj = null)Creates or wraps QR code data.
- @p
Objis an existing QrCode Java object or null.
- @p
-
get (
string Name)Gets a public QR field.
- @p
Nameis ppRight, ppCorner, ppDown, threshRight, threshCorner, threshDown, threshDownRight, version, error, mask, alignment, mode, byteEncoding, rawbits, corrected, message, failureCause, bounds, Hinv, totalBitErrors, or bitsTransposed. - @r
Thefield value.
- @p
-
set (
string Name, Value)Sets a public QR field.
- @p
Nameis ppRight, ppCorner, ppDown, threshRight, threshCorner, threshDown, threshDownRight, version, error, mask, alignment, mode, byteEncoding, rawbits, corrected, message, failureCause, bounds, Hinv, totalBitErrors, or bitsTransposed. - @p
Valueis the new field value or wrapper.
- @p
-
setInt (
string Name, int Value)Sets a public integer QR field.
- @p
Nameis version or totalBitErrors. - @p
Valueis the new integer value.
- @p
-
setDouble (
string Name, double Value)Sets a public floating-point QR field.
- @p
Nameis threshRight, threshCorner, threshDown, or threshDownRight. - @p
Valueis the new floating-point value.
- @p
-
setBool (
string Name, bool Value)Sets a public boolean QR field.
- @p
Nameis bitsTransposed. - @p
Valueis the new boolean value.
- @p
-
getNumberOfModules ()
Gets the number of modules for this version.
- @r
Themodule count.
- @r
-
getNumberOfDataBytes ()
Gets the number of data bytes for this version and error level.
- @r
Thedata byte count.
- @r
-
reset ()
Resets this QR code data.
-
setTo (
object Code)Copies another QR code into this object.
- @p
Codeis a QrCode wrapper or Java object. - @r
Thiswrapper.
- @p
-
copy ()
Copies this QR code.
- @r
AQrCode wrapper.
- @r
-
totalModules (
int Version)Computes the total module count for a QR version.
- @p
Versionis 1 through 40. - @r
Themodule count.
- @p
class: AztecGenerator
[1472:7] extends: object
AztecGenerator wraps boofcv.alg.fiducial.aztec.AztecGenerator.
Members
- obj
Methods
-
AztecGenerator ()
Creates an Aztec generator.
-
render (
object Code)Renders an Aztec code.
- @p
Codeis an AztecCode Java object. - @r
Thisgenerator.
- @p
-
setMarkerWidth (
double Width)Sets marker width.
- @p
Widthis the marker width. - @r
Thisgenerator.
- @p
-
getMarkerWidth ()
Gets marker width.
- @r
Themarker width.
- @r
-
getRender ()
Gets the render engine.
- @r
AFiducialRenderEngine Java object.
- @r
-
renderImage (
int PixelsPerModule, int BorderModule, object Code)Renders an Aztec code to a GrayU8 image.
- @p
PixelsPerModuleis pixels per module. - @p
BorderModuleis border module count. - @p
Codeis an AztecCode Java object. - @r
AGrayU8 Java object.
- @p
class: QrCodeErrorLevel
[466:14] static extends: object
QrCodeErrorLevel exposes QrCode.ErrorLevel values.
Methods
-
valueOf (
string Name)Gets an error level.
- @p
Nameis L, M, Q, or H. - @r
Theenum Java object.
- @p
-
lookup (
int Value)Looks up an error level by encoded integer value.
- @p
Valueis the QR error-level encoding. - @r
Theenum Java object.
- @p
-
values ()
Gets all error levels.
- @r
AJava array of enum values.
- @r
class: FiducialTracker
[292:7] extends: FiducialDetector
FiducialTracker wraps boofcv.abst.fiducial.FiducialTracker.
Methods
-
FiducialTracker (
object Obj)Wraps a BoofCV FiducialTracker.
- @p
Objis an existing tracker Java object or wrapper.
- @p
-
reset ()
Resets tracker state.
class: ConfigECoCheckDetector
[1080:7] extends: FiducialConfig
ConfigECoCheckDetector wraps boofcv.abst.fiducial.calib.ConfigECoCheckDetector.
Methods
-
ConfigECoCheckDetector (
Obj = null)Creates or wraps an ECoCheck detector config.
- @p
Objis an existing config Java object or null.
- @p
-
setTo (
object Config)Copies another config into this object.
- @p
Configis a ConfigECoCheckDetector wrapper or Java object. - @r
Thiswrapper.
- @p
class: AztecCodeDetector
[195:7] extends: object
AztecCodeDetector wraps boofcv.abst.fiducial.AztecCodePreciseDetector.
Members
- obj
Methods
-
AztecCodeDetector (
object Obj)Wraps an Aztec code detector.
- @p
Objis an existing detector Java object or wrapper.
- @p
-
process (
object Image)Processes an image.
- @p
Imageis the input image.
- @p
-
getDetections ()
Gets detections.
- @r
AJava list of AztecCode objects.
- @r
-
getFailures ()
Gets failed detections.
- @r
AJava list of AztecCode objects.
- @r
-
getBinary ()
Gets the binary image.
- @r
AGrayU8 Java object.
- @r
-
getImageType ()
Gets the input image class.
- @r
AJava Class object.
- @r
class: FiducialSquareGenerator
[1513:7] extends: object
FiducialSquareGenerator wraps boofcv.alg.fiducial.square.FiducialSquareGenerator.
Members
- obj
Methods
-
FiducialSquareGenerator (
object RenderEngine)Creates a square fiducial generator.
- @p
RenderEngineis a FiducialRenderEngine Java object.
- @p
-
generateImage (
object Image)Generates from a binary image.
- @p
Imageis a GrayU8 image.
- @p
-
generate (
int Value, int GridWidth)Generates from an integer value.
- @p
Valueis encoded value. - @p
GridWidthis grid width.
- @p
-
getWhiteBorderDoc ()
Gets white border fraction.
- @r
Whiteborder fraction.
- @r
-
setWhiteBorderDoc (
double Fraction)Sets white border fraction.
- @p
Fractionis white border fraction.
- @p
-
getBlackBorder ()
Gets black border fraction.
- @r
Blackborder fraction.
- @r
-
setBlackBorder (
double Fraction)Sets black border fraction.
- @p
Fractionis black border fraction.
- @p
class: MicroQrCode
[671:7] extends: object
MicroQrCode wraps boofcv.alg.fiducial.microqr.MicroQrCode.
Members
- obj
Methods
-
MicroQrCode (
Obj = null)Creates or wraps Micro QR code data.
- @p
Objis an existing MicroQrCode Java object or null.
- @p
-
get (
string Name)Gets a public Micro QR field.
- @p
Nameis version, error, pp, thresholdPP, mode, mask, byteEncoding, rawbits, corrected, message, bounds, Hinv, bitsTransposed, totalBitErrors, or failureCause. - @r
Thefield value.
- @p
-
set (
string Name, Value)Sets a public Micro QR field.
- @p
Nameis version, error, pp, thresholdPP, mode, mask, byteEncoding, rawbits, corrected, message, bounds, Hinv, bitsTransposed, totalBitErrors, or failureCause. - @p
Valueis the new field value or wrapper.
- @p
-
setInt (
string Name, int Value)Sets a public integer Micro QR field.
- @p
Nameis version or totalBitErrors. - @p
Valueis the new integer value.
- @p
-
setDouble (
string Name, double Value)Sets a public floating-point Micro QR field.
- @p
Nameis thresholdPP. - @p
Valueis the new floating-point value.
- @p
-
setBool (
string Name, bool Value)Sets a public boolean Micro QR field.
- @p
Nameis bitsTransposed. - @p
Valueis the new boolean value.
- @p
-
reset ()
Resets this Micro QR code data.
-
setTo (
object Code)Copies another Micro QR code into this object.
- @p
Codeis a MicroQrCode wrapper or Java object. - @r
Thiswrapper.
- @p
-
copy ()
Copies this Micro QR code.
- @r
AMicroQrCode wrapper.
- @r
-
terminatorBits ()
Gets the number of terminator bits.
- @r
Theterminator bit count.
- @r
-
encodeFormatBits ()
Encodes format bits from this object's version, error level, and mask.
- @r
Theencoded bits.
- @r
-
decodeFormatBits (
int Bits)Decodes format bits into this object.
- @p
Bitsis encoded format bits. - @r
Trueif decoded.
- @p
-
encodeVersionAndEccLevel ()
Encodes version and error-correction level.
- @r
Theencoded value.
- @r
-
decodeVersionAndECC (
int Bits)Decodes version and error-correction level into this object.
- @p
Bitsis encoded version/ecc bits. - @r
Trueif decoded.
- @p
-
getNumberOfModules ()
Gets the number of modules for this version.
- @r
Themodule count.
- @r
-
getMaxDataBits ()
Gets maximum data bits for this version and error level.
- @r
Themaximum data bit count.
- @r
-
getNumberOfDataCodeWords ()
Gets the number of data code words.
- @r
Thedata code-word count.
- @r
-
getNumberOfErrorCodeWords ()
Gets the number of error code words.
- @r
Theerror code-word count.
- @r
-
totalModules (
int Version)Computes the total module count for a Micro QR version.
- @p
Versionis 1 through 4. - @r
Themodule count.
- @p
-
maxDataBits (
int Version, object ErrorLevel)Computes maximum data bits.
- @p
Versionis 1 through 4. - @p
ErrorLevelis a MicroQrCodeErrorLevel value. - @r
Themaximum data bit count.
- @p
-
allowedErrorCorrection (
int Version)Gets allowed error-correction levels.
- @p
Versionis 1 through 4. - @r
AJava array of MicroQrCodeErrorLevel values.
- @p
-
modeIndicatorBitCount (
int Version)Gets mode-indicator bit count.
- @p
Versionis 1 through 4. - @r
Thebit count.
- @p
-
allowedModes (
int Version)Gets allowed modes.
- @p
Versionis 1 through 4. - @r
AJava array of QrCodeMode values.
- @p
-
valueToMode (
int Value)Converts an encoded value to a QR mode.
- @p
Valueis the encoded mode. - @r
AQrCodeMode enum Java object.
- @p
class: MicroQrCodeErrorLevel
[625:14] static extends: object
MicroQrCodeErrorLevel exposes MicroQrCode.ErrorLevel values.
Methods
-
valueOf (
string Name)Gets an error level.
- @p
Nameis DETECT, L, M, or Q. - @r
Theenum Java object.
- @p
-
lookup (
string Name)Looks up an error level by name.
- @p
Nameis DETECT, L, M, or Q. - @r
Theenum Java object.
- @p
-
values ()
Gets all error levels.
- @r
AJava array of enum values.
- @r
class: ConfigAztecCode
[1649:7] extends: object
ConfigAztecCode wraps boofcv.factory.fiducial.ConfigAztecCode.
Members
- obj
Methods
-
ConfigAztecCode (
Obj = null)Creates or wraps an Aztec code config.
- @p
Objis an existing config Java object or null to create a default config.
- @p
-
fast ()
Creates a fast Aztec config.
- @r
AConfigAztecCode wrapper.
- @r
-
get (
string Name)Gets a public config field.
- @p
Nameis threshold, polygon, considerTransposed, or maxOrientationError. - @r
Thefield value.
- @p
-
set (
string Name, Value)Sets a public config field.
- @p
Nameis threshold, polygon, considerTransposed, or maxOrientationError. - @p
Valueis the new field value.
- @p
-
checkValidity ()
Validates this config.
class: AztecCodeStructure
[812:14] static extends: object
AztecCodeStructure exposes AztecCode.Structure values.
Methods
-
valueOf (
string Name)Gets an Aztec structure.
- @p
Nameis COMPACT or FULL. - @r
Theenum Java object.
- @p
-
values ()
Gets all structures.
- @r
AJava array of enum values.
- @r
class: HammingChessboardGenerator
[1228:7] extends: object
HammingChessboardGenerator wraps boofcv.alg.fiducial.calib.hammingchess.HammingChessboardGenerator.
Members
- obj
Methods
-
HammingChessboardGenerator (
object Config)Creates a hamming chessboard generator.
- @p
Configis a ConfigHammingChessboard wrapper.
- @p
-
render ()
Renders the board using the configured render engine.
-
saveCornerLocations ()
Saves generated corner locations.
-
setSquareWidth (
double Width)Sets square width.
- @p
Widthis square width in document units.
- @p
-
getSquareWidth ()
Gets square width.
- @r
Thesquare width.
- @r
-
setRender (
object Render)Sets the render engine.
- @p
Renderis a FiducialImageEngine or FiducialRenderEngine Java object.
- @p
-
get (
string Name)Gets a public generator field.
- @p
Nameis squareWidth or corners. - @r
Thefield value.
- @p
class: MicroQrCodeMaskPattern
[648:14] static extends: object
MicroQrCodeMaskPattern exposes Micro QR mask patterns.
Methods
-
lookupMask (
string Name)Looks up a mask pattern.
- @p
Nameis M00, M01, M10, M11, or NONE. - @r
Themask-pattern Java object.
- @p
-
lookupMaskInt (
int Value)Looks up a mask pattern by encoded integer value.
- @p
Valueis 0 through 3. - @r
Themask-pattern Java object.
- @p
-
values ()
Gets all mask patterns.
- @r
AJava list of mask-pattern values.
- @r
class: QrCodeGenerator
[1391:7] extends: object
QrCodeGenerator wraps boofcv.alg.fiducial.qrcode.QrCodeGenerator.
Members
- obj
Methods
-
QrCodeGenerator (
MarkerWidth = null)Creates a QR code generator.
- @p
MarkerWidthis optional marker width in document units.
- @p
-
render (
object Code)Renders a QR code.
- @p
Codeis a QrCode Java object. - @r
Thisgenerator.
- @p
class: ConfigECoCheckMarkers
[1097:7] extends: FiducialConfig
ConfigECoCheckMarkers wraps boofcv.abst.fiducial.calib.ConfigECoCheckMarkers.
Methods
-
ConfigECoCheckMarkers (
Obj = null)Creates or wraps ECoCheck marker config.
- @p
Objis an existing config Java object or null.
- @p
-
setTo (
object Config)Copies another config into this object.
- @p
Configis a ConfigECoCheckMarkers wrapper or Java object. - @r
Thiswrapper.
- @p
-
compactName ()
Gets the compact config name.
- @r
Thecompact name.
- @r
-
singleShape (
int Rows, int Cols, int DataRows, double SquareSize)Creates a single-shape config.
- @p
Rowsis grid rows. - @p
Colsis grid columns. - @p
DataRowsis encoded data rows. - @p
SquareSizeis square size. - @r
AConfigECoCheckMarkers wrapper.
- @p
-
parse (
string Text, double SquareSize)Parses a compact marker description.
- @p
Textis the compact description accepted by BoofCV. - @p
SquareSizeis square size. - @r
AConfigECoCheckMarkers wrapper.
- @p
class: ConfigMicroQrCode
[1616:7] extends: object
ConfigMicroQrCode wraps boofcv.factory.fiducial.ConfigMicroQrCode.
Members
- obj
Methods
-
ConfigMicroQrCode (
Obj = null)Creates or wraps a Micro QR code config.
- @p
Objis an existing config Java object or null to create a default config.
- @p
-
fast ()
Creates a fast Micro QR config.
- @r
AConfigMicroQrCode wrapper.
- @r
-
get (
string Name)Gets a public config field.
- @p
Nameis threshold, polygon, forceEncoding, defaultEncoding, considerTransposed, or ignorePaddingBytes. - @r
Thefield value.
- @p
-
set (
string Name, Value)Sets a public config field.
- @p
Nameis threshold, polygon, forceEncoding, defaultEncoding, considerTransposed, or ignorePaddingBytes. - @p
Valueis the new field value.
- @p
-
checkValidity ()
Validates this config.
class: ConfigUchiyaMarker
[416:7] extends: FiducialConfig
ConfigUchiyaMarker wraps boofcv.factory.fiducial.ConfigUchiyaMarker.
Methods
-
ConfigUchiyaMarker (
Obj = null)Creates or wraps a Uchiya marker config.
- @p
Objis an existing config or null.
- @p