<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">I'm using vtkDICOMImageReader class for reading the images, if i give the exact HU values for example;<br><br>boneExtractor->SetInputConnection(reader->GetOutputPort());<br>boneExtractor->SetValue(0, HUofBone); // HUofBone is 1250<br><br>it does not give optimal solution...<br>boneExtractor is vtkMarchingCubes object<br><br><br>Chasan KIOUTSOUKMOUSTAFA<br><br>--- On <b>Thu, 8/26/10, John Drescher <i><drescherjm@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: John Drescher <drescherjm@gmail.com><br>Subject: Re: [vtkusers] Hounsfield Units of Human body part<br>To: "Chasan KIOUTSOUKMOUSTAFA" <chasank@yahoo.com><br>Cc: "vtk mailList" <vtkusers@vtk.org><br>Date: Thursday, August 26, 2010, 9:06 PM<br><br><div class="plainMail">On Thu, Aug 26,
2010 at 1:59 PM, Chasan KIOUTSOUKMOUSTAFA<br><<a ymailto="mailto:chasank@yahoo.com" href="/mc/compose?to=chasank@yahoo.com">chasank@yahoo.com</a>> wrote:<br>><br>> HUofAir = (double)(reader->GetPixelRepresentation() * reader->GetRescaleSlope()) + (double) reader->GetRescaleOffset();<br>> // HuofAir represents -1000 HU<br>> HUofBone = HUofAir + 2250.0; // 1250 HU for Bone<br>> HUofMuscle = HUofAir + 1050.0; // 50 HU for Muscle<br>> HUofFat = HUofAir + 880; // -120 HU for Fat<br>><br><br>How are you reading your images? They already should be in Hounsfield<br>( no no calculation is needed) if you use the vtk image readers and<br>use signed short images.<br><br>John<br></div></blockquote></td></tr></table><br>