Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 772 Bytes

MRCNN.md

File metadata and controls

5 lines (5 loc) · 772 Bytes

Mask R-CNN

In this method, we only use the visible masks from Mask R-CNN to estimate the diameter. From the contour of the visible masks, an enclosing circle is fitted. Then, a pixel-to-mm conversion factor is calculated from the filtered XYZ-coordinates of the visible mask (using histogram filtering). The real-world diameter is estimated by multiplying the diameter of the enclosing circle (in pixels) with the pixel-to-mm conversion factor.

To use this method, please follow this procedure::

  1. Train Mask R-CNN, see MRCNN_Train_and_Evaluate_VisibleMasks.ipynb
  2. Estimate the diameter from the visible masks, see Diameter_estimation_VisibleMasks.ipynb