Package boofcv.io.fiducial
Class FiducialIO
java.lang.Object
boofcv.io.fiducial.FiducialIO
public class FiducialIO extends Object
File IO for fiducials. Typically these functions are used to read definition files.
-
Constructor Summary
Constructors Constructor Description FiducialIO()
-
Method Summary
Modifier and Type Method Description static RandomDotDefinition
loadRandomDotYaml(File file)
static RandomDotDefinition
loadRandomDotYaml(Reader reader)
Loads a Uchiya definition file from a BoofCV yaml documentstatic RandomDotDefinition
loadRandomDotYaml(URL url)
static void
saveRandomDotYaml(RandomDotDefinition definition, File file)
SeesaveRandomDotYaml(RandomDotDefinition, Writer)
but to a file.static void
saveRandomDotYaml(RandomDotDefinition definition, Writer outputWriter)
Saves a Uchiya definition in BoofCV YAML format.
-
Constructor Details
-
FiducialIO
public FiducialIO()
-
-
Method Details
-
saveRandomDotYaml
SeesaveRandomDotYaml(RandomDotDefinition, Writer)
but to a file. -
saveRandomDotYaml
Saves a Uchiya definition in BoofCV YAML format.- Parameters:
definition
- Definition to be saved.outputWriter
- Stream writer
-
loadRandomDotYaml
-
loadRandomDotYaml
-
loadRandomDotYaml
Loads a Uchiya definition file from a BoofCV yaml document- Parameters:
reader
- Stream reader- Returns:
- UchiyaDefinition
-