DrawCircle class
Draw circles on an input Image.
Contents
- Reference
Inputs:
- 0: Image
Outputs
- 0: Image
Base classes
- class ProcessObject
- Abstract base class for all process objects.
Public functions
Public variables
- std::vector<float> m_centroids
- std::vector<float> m_radii
- float m_value
- Color m_color
- bool m_inPixelSpace
- bool m_fill
Function documentation
std::shared_ptr<DrawCircle> fast:: DrawCircle:: create(std::vector<Vector2f> centroids,
std::vector<float> radii,
float value,
Color color,
bool fill,
bool inPixels) private
Create instance.
| Parameters | |
|---|---|
| centroids | List of centroid coordinates. |
| radii | Radius for each circle/centroid. If only one radius is given, it will be used for all circles. |
| value | Value to use to draw circles |
| color | Color to use to draw circles |
| fill | Whether to fill the circle or not |
| inPixels | Whether the centroids and radii are given in pixels or in millimeters |
| Returns | instance |