MATLAB Answers

how to calculate the total volume

조회 수: 19(최근 30일)
mohd akmal masud
mohd akmal masud 2021년 9월 22일 3:34
댓글: mohd akmal masud 2021년 9월 22일 9:25
Hi all,
I have image below. the whole image have 3 sphere actually. anyone konw hot to calculate the whole all the three sphere?
i use code below but that is not answer that i want
T1 = regionprops(outt22,"Centroid","Area")
T1 =
struct with fields:
Area: 25
Centroid: [149.08 114.68]

채택된 답변

Imaiyan Chitra Ragupathy
Imaiyan Chitra Ragupathy 2021년 9월 22일 8:38
편집: Imaiyan Chitra Ragupathy 2021년 9월 22일 8:38
  댓글 수: 1
mohd akmal masud
mohd akmal masud 2021년 9월 22일 9:25
its work.
T1 =
1×18 table
Volume Centroid BoundingBox SubarrayIdx Image EquivDiameter Extent VoxelIdxList VoxelList PrincipalAxisLength Orientation EigenVectors EigenValues ConvexHull ConvexImage ConvexVolume Solidity SurfaceArea
______ __________________________ ____________ ______________________________________________________________ _____________ _____________ _______ _____________ _____________ _________________________ __________________________ ____________ ____________ _____________ _____________ ____________ ________ ___________
25 149.08 114.68 1 [1×6 double] {[112 113 114 115 116 117]} {[146 147 148 149 150 151 152]} {6×7 logical} 3.6278 0.59524 {25×1 double} {25×3 double} 6.656 5.5556 1.1547 66.651 0 0 {3×3 double} {3×1 double} {27×3 double} {6×7 logical} 30 0.83333 55.224
but it only for the big sphere. how to appear the second and third sphere?

댓글을 달려면 로그인하십시오.

추가 답변(0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by