Package | Description |
---|---|
org.openimaj.image.pixel | |
org.openimaj.math.geometry.shape | |
org.openimaj.math.geometry.shape.util |
Modifier and Type | Method and Description |
---|---|
RotatedRectangle |
ConnectedComponent.calculateOrientatedBoundingBox()
Calculates the polygon that defines the minimum bounding box that best
fits the connected component, at whatever angle that may be.
|
Modifier and Type | Method and Description |
---|---|
RotatedRectangle |
RotatedRectangle.clone() |
RotatedRectangle |
RotatedRectangle.minimumBoundingRectangle() |
RotatedRectangle |
Rectangle.minimumBoundingRectangle() |
RotatedRectangle |
Triangle.minimumBoundingRectangle() |
RotatedRectangle |
Circle.minimumBoundingRectangle() |
RotatedRectangle |
Polygon.minimumBoundingRectangle()
Compute the minimum size rotated bounding rectangle that contains this
shape using the rotating calipers approach.
|
RotatedRectangle |
Shape.minimumBoundingRectangle()
Compute the minimum size rotated bounding rectangle that contains this
shape.
|
RotatedRectangle |
Ellipse.minimumBoundingRectangle() |
RotatedRectangle |
Polygon.minimumBoundingRectangle(boolean assumeSimple)
Compute the minimum size rotated bounding rectangle that contains this
shape using the rotating calipers approach.
|
RotatedRectangle |
Rectangle.rotate(Point2d p,
double angle)
Rotate the
Rectangle about the given pivot with the given angle
(in radians) |
Modifier and Type | Method and Description |
---|---|
static RotatedRectangle |
RotatingCalipers.getMinimumBoundingRectangle(Polygon poly,
boolean assumeSimple)
Use the rotating calipers algorithm to optimally find the minimum sized
rotated rectangle that encompasses the outer shell of the given polygon.
|