measure the maximum distance in millimeters(mm)
    3 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
How can I measure the maximum width of the white shape in millimeters(mm)  not in pixels ?  

0 Commenti
Risposte (1)
  Image Analyst
      
      
 il 11 Apr 2020
        Then you need to multiply by the number of millimeters per pixel:
props = regionprops(binaryImage, 'BoundingBox')
width = props.BoundingBox(3) * mmPerPixel;
See attached demo.
4 Commenti
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!