Package boofcv.pdf
Class PdfFiducialEngine
- java.lang.Object
-
- boofcv.alg.drawing.FiducialRenderEngine
-
- boofcv.pdf.PdfFiducialEngine
-
public class PdfFiducialEngine extends boofcv.alg.drawing.FiducialRenderEngineRenders fiducials to PDF documents.
-
-
Field Summary
Fields Modifier and Type Field Description org.apache.pdfbox.pdmodel.PDDocumentdocumentdoublemarkerWidthdoubleoffsetXdoubleoffsetYorg.apache.pdfbox.pdmodel.PDPageContentStreampcs
-
Constructor Summary
Constructors Constructor Description PdfFiducialEngine(org.apache.pdfbox.pdmodel.PDDocument document, org.apache.pdfbox.pdmodel.PDPageContentStream pcs, double markerWidth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatadjustX(double x)floatadjustY(double y)voidcircle(double cx, double cy, double r)voiddraw(boofcv.struct.image.GrayU8 image, double x0, double y0, double x1, double y1)voidinit()voidinputToDocument(double x, double y, georegression.struct.point.Point2D_F64 document)voidrectangle(double x0, double y0, double x1, double y1)voidsquare(double x0, double y0, double width0, double thickness)
-
-
-
Method Detail
-
init
public void init()
- Specified by:
initin classboofcv.alg.drawing.FiducialRenderEngine
-
circle
public void circle(double cx, double cy, double r)- Specified by:
circlein classboofcv.alg.drawing.FiducialRenderEngine
-
square
public void square(double x0, double y0, double width0, double thickness)- Specified by:
squarein classboofcv.alg.drawing.FiducialRenderEngine
-
rectangle
public void rectangle(double x0, double y0, double x1, double y1)- Specified by:
rectanglein classboofcv.alg.drawing.FiducialRenderEngine
-
draw
public void draw(boofcv.struct.image.GrayU8 image, double x0, double y0, double x1, double y1)- Specified by:
drawin classboofcv.alg.drawing.FiducialRenderEngine
-
inputToDocument
public void inputToDocument(double x, double y, georegression.struct.point.Point2D_F64 document)- Specified by:
inputToDocumentin classboofcv.alg.drawing.FiducialRenderEngine
-
adjustX
public float adjustX(double x)
-
adjustY
public float adjustY(double y)
-
-