Skip to content

Commit 0af6d0a

Browse files
committed
docs: add some comments about function and its parameters
1 parent 2319485 commit 0af6d0a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/roi/properties/getEllipse.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ export interface Ellipse {
1717
surface: number;
1818
}
1919
/**
20+
*Calculates ellipse on around ROI
2021
*
21-
* @param roi
22-
* @param scale
22+
* @param roi - region of interest
23+
* @param scale - the multiplier to match the surface of ellipse with the surface of ROI
24+
* @returns Ellipse
2325
*/
2426
export function getEllipse(roi: Roi, scale: number): Ellipse {
2527
const nbSD = 2;

0 commit comments

Comments
 (0)