<div dir="ltr">Hi Meikolin,<div>if you count the number of voxels your tumour has, knowing the volume would imply multiplying the number of voxels by the resolution of your input dataset in all three dimensions.</div><div>You can get the resolution of your image as</div><div><pre style="color:rgb(0,0,0)"><font face="monospace, monospace">ImageType::SpacingType spacing =  myImage->GetSpacing();</font></pre></div><div>HTH,</div><div>JON HAITZ</div><div><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><br></div></div></div></div></div><div class="gmail_quote">On 5 August 2015 at 17:12, meikolin saimara <span dir="ltr"><<a href="mailto:kolin9105@gmail.com" target="_blank">kolin9105@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span lang="en"><span>Hello There</span><br> <span>I had problems with</span> <span>my thesis</span> <span>where</span> <span>I was very</span> <span>difficult</span> <span>to</span> <span>separate the</span> <span>brain</span> <span>tumor</span> <span>with the</span> <span>outer</span> <span>circumference of</span> <span>the brain</span> <span>or</span> <span>skull</span><span>.</span><br> <span>if I</span> <span>can define</span> <span>a brain</span> <span>tumor</span> <span>I</span> <span>want to</span> <span>also</span> <span>calculate</span> <span>the</span> <span>volume</span> <span>of</span> <span>a brain</span> <span>tumor</span> <span>through a</span> <span>pixel</span> <span>value</span><span>.</span><br> <span>I</span> <span>use the</span> <span>method of</span> <span>segmentation</span> <span>threshold</span> <span>without using</span> <span>visualization</span> <span>only</span> <span>ITK</span> and I use dicom image.<br> <span>can you help me  <br></span></span></div><span lang="en"><span>pleaz...<br></span></span></div>
<br>_______________________________________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org">Community@itk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/community" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/community</a><br>
<br></blockquote></div><br></div></div>