diff options
-rw-r--r-- | src/argaze/AreaOfInterest/AOIFeatures.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/argaze/AreaOfInterest/AOIFeatures.py b/src/argaze/AreaOfInterest/AOIFeatures.py index ea57866..c1df8f1 100644 --- a/src/argaze/AreaOfInterest/AOIFeatures.py +++ b/src/argaze/AreaOfInterest/AOIFeatures.py @@ -148,9 +148,15 @@ class AreaOfInterest(numpy.ndarray): return tuple(numpy.rint(Lp).astype(int)) def circle_intersection(self, center: tuple, radius: float) -> Tuple[numpy.array, float, float]: - """Get intersection shape with a circle, intersection area / AOI area ration and intersection area / circle area ration. + """Get intersection shape with a circle, intersection area / AOI area ratio and intersection area / circle area ratio. .. warning:: - Available for 2D AOI only.""" + Available for 2D AOI only. + + * **Returns:** + - intersection shape, + - intersection aoi ratio, + - intersection circle ratio + """ assert(self.dimension == 2) |