[Insight-users] region growing seed index

John Jan Drozd john.drozd at gmail.com
Sun Jan 9 07:26:06 EST 2011


Hi,

I believe that SetSeed clears the previously entered seeds. You might need to use SetSeed to enter the first seed, and AddSeed to enter the other seeds. If there is no AddSeed, you will need to add it to the ConnectedThreshold code, but I believe it has it.  I added AddSeed to the ConfidenceComnected and FuzzyConnectedness Code.

If you load your dicom series in 3d slicer you can use your mouse to position it in individual image slices. In the top right corner of the three views (axial, coronal and sagittal views), the indices I, J, K are explicitly shown as numerical values, on the bottom right the spatial positions of the mouse location are also shown. You can use this method to check if you are inputting the correct index values. 3D slicer is built from Itk and Vtk and is open source and freely available at www.slicer.org. I use this to select my seeds indices which I then input into my ITK code using the hard coded method that you use. (my itk code reads the indices from a file, actually)

John

Sent from my iPhone

On 2011-01-09, at 5:54 AM, worry_wang <worry_wang at 163.com> wrote:

> I use ITK read series of dicom data to segment by region growing.The result is not very good.So many regions cannot be deleted.So I want to set more indexes.I simply set series seed index like following:
>         InternalImageType::IndexType index,index1,index2;
>         index[0]=146;
> 	index[1]=69;
> 	index[2]=30;
> 	index1[0]=60;
> 	index1[1]=133;
> 	index1[2]=40;
> 	index2[0]=76;
> 	index2[1]=194;
> index2[2]=50;
>         connectedThreshold->SetSeed(index);
> 	connectedThreshold->SetSeed(index1);
> 	connectedThreshold->SetSeed(index2);
> Then I get the result(series of dicom data).But all the images are black that just like nothing paiting on it.
> Is my way to set seed indexes wrong?
> 
> 
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list