Package org.photonvision.vision.pipeline
Class Calibrate3dPipeline
java.lang.Object
org.photonvision.vision.pipeline.CVPipeline<CVPipelineResult,Calibration3dPipelineSettings>
org.photonvision.vision.pipeline.Calibrate3dPipeline
- All Implemented Interfaces:
Releasable
-
Field Summary
Modifier and TypeFieldDescriptionFields inherited from class org.photonvision.vision.pipeline.CVPipeline
cameraQuirks, frameStaticProperties, released, settings
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
protected CVPipelineResult
process
(Frame frame, Calibration3dPipelineSettings settings) void
release()
Release any native memory associated with this pipeline.boolean
removeSnapshot
(int index) protected void
void
tryCalibration
(Path imageSavePath) Methods inherited from class org.photonvision.vision.pipeline.CVPipeline
getSettings, getThresholdType, run, setPipeParams, setSettings
-
Field Details
-
foundCornersList
-
-
Constructor Details
-
Calibrate3dPipeline
public Calibrate3dPipeline() -
Calibrate3dPipeline
public Calibrate3dPipeline(int minSnapshots)
-
-
Method Details
-
setPipeParamsImpl
protected void setPipeParamsImpl()- Specified by:
setPipeParamsImpl
in classCVPipeline<CVPipelineResult,
Calibration3dPipelineSettings>
-
process
- Specified by:
process
in classCVPipeline<CVPipelineResult,
Calibration3dPipelineSettings>
-
hasEnough
public boolean hasEnough() -
tryCalibration
-
takeSnapshot
public void takeSnapshot() -
perViewErrors
-
finishCalibration
public void finishCalibration() -
removeSnapshot
public boolean removeSnapshot(int index) -
cameraCalibrationCoefficients
-
release
public void release()Description copied from class:CVPipeline
Release any native memory associated with this pipeline. Called by pipelinemanager at pipeline switch. Stubbed out, but override if needed.- Specified by:
release
in interfaceReleasable
- Overrides:
release
in classCVPipeline<CVPipelineResult,
Calibration3dPipelineSettings>
-