-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #487 from aleju/ooi_removal
Improve CBA removal and clipping
- Loading branch information
Showing
12 changed files
with
984 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Removal of Coordinate-Based Augmentables Outside of the Image Plane | ||
|
||
* Added `Keypoint.is_out_of_image()`. | ||
|
||
* Added `BoundingBox.compute_out_of_image_area()`. | ||
* Added `Polygon.compute_out_of_image_area()`. | ||
|
||
* Added `Keypoint.compute_out_of_image_fraction()` | ||
* Added `BoundingBox.compute_out_of_image_fraction()`. | ||
* Added `Polygon.compute_out_of_image_fraction()`. | ||
* Added `LineString.compute_out_of_image_fraction()`. | ||
|
||
* Added `KeypointsOnImage.remove_out_of_image_fraction()`. | ||
* Added `BoundingBoxesOnImage.remove_out_of_image_fraction()`. | ||
* Added `PolygonsOnImage.remove_out_of_image_fraction()`. | ||
* Added `LineStringsOnImage.remove_out_of_image_fraction()`. | ||
|
||
* Added `KeypointsOnImage.clip_out_of_image()`. | ||
|
||
* Added `imgaug.augmenters.meta.RemoveCBAsByOutOfImageFraction`. | ||
Removes coordinate-based augmentables (e.g. BBs) that have at least a | ||
specified fraction of their area outside of the image plane. | ||
* Added `imgaug.augmenters.meta.ClipCBAsToImagePlanes`. | ||
Clips off all parts from coordinate-based augmentables (e.g. BBs) that are | ||
outside of the corresponding image. | ||
|
||
* Changed `Polygon.area` to return `0.0` if the polygon contains less than | ||
three points (previously: exception). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.