<div dir="ltr"><div class="gmail_quote"><br><br><div dir="ltr">Hi,<div> I tried to label this image into two labels since yesterday , However it always give no label for result.</div><div> Here is my code: </div><div><div>LabelFilter0 = itk.BinaryImageToLabelMapFilter.IUC3LM3.New()</div><div>LabelFilter0.SetInput(BinaryFilter.GetOutput())</div><div>LabelFilter0.SetInputForegroundValue(100)</div><div>LabelFilter0.SetFullyConnected(False)</div><div>print LabelFilter0.GetNumberOfObjects()</div><div>LabelImage0 = itk.LabelMapToLabelImageFilter.LM3IUC3.New()</div><div>LabelImage0.SetInput(LabelFilter0.GetOutput())</div><div>Sta0Filter = itk.LabelStatisticsImageFilter.ISS3IUC3.New()</div><div>Sta0Filter.SetLabelInput(LabelImage0.GetOutput())</div><div>Sta0Filter.SetInput(reader0.GetOutput())</div></div><div><br></div><div><img src="cid:ii_i0516jcz0_1487dc3ff06ebe3f" width="426" height="279"><br>here is the mhd file :<br></div><div><div><a href="https://drive.google.com/file/d/0B6iiB8fojky9NXhOZXFVWTNIbHlLc01jdmFyT2FkdDVmdXFB/edit?usp=sharing">https://drive.google.com/file/d/0B6iiB8fojky9NXhOZXFVWTNIbHlLc01jdmFyT2FkdDVmdXFB/edit?usp=sharing</a></div><div><a href="https://drive.google.com/file/d/0B6iiB8fojky9dnlSSmNqOHk4NDM1WHRBLVRhWWpHLUxGZ1JF/edit?usp=sharing">https://drive.google.com/file/d/0B6iiB8fojky9dnlSSmNqOHk4NDM1WHRBLVRhWWpHLUxGZ1JF/edit?usp=sharing</a></div></div><div><br></div></div>
</div><br></div>