[Insight-users] A challenge in semi-automatic segmentation
David Sarrut
David.Sarrut at creatis.insa-lyon.fr
Wed Oct 20 03:05:54 EDT 2010
Hello,
you can try to use vv http://www.creatis.insa-lyon.fr/rio/vv/ that allows to
vizualize images and save a list of landmarks that have been selected by
hitting the space key. The list of points is saved in a simple text ascii
file that you can read with you program.
David
On Wed, Oct 20, 2010 at 02:24, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:
> Dear members,
>
>
>
> Usually, when we segment liver from CT image by ITK, we need to manually
> input the seed points to our code (attached for reference), however, it is
> time demanding. What I want to achieve is that, visualize the CT image by
> VTK, then by clicking some points (seed points), they are automatically
> saved to our code. Is there any existing example in ITK & VTK for this
> purpose? If not, what is the best way to achieve the goal?
>
>
>
> #define N_SEEDS 20
>
>
>
> int main( int argc, char *argv[] )
>
> {
>
> // seed points
>
> long int seed_points[N_SEEDS][3] = {
>
> { 158,
> 210, 203 },
>
> { 182,
> 206, 193 },
>
> { 283,
> 186, 193 },
>
> { 318,
> 204, 188 },
>
> { 340,
> 226, 179 },
>
> { 136,
> 229, 178 },
>
> { 227,
> 180, 178 },
>
> { 343,
> 233, 178 },
>
> { 331,
> 239, 174 },
>
> { 387,
> 244, 172 },
>
> { 123,
> 287, 142 },
>
> { 197,
> 249, 142 },
>
> { 132,
> 204, 142 },
>
> { 204,
> 136, 142 },
>
> { 271,
> 196, 142 },
>
> { 288,
> 119, 142 },
>
> { 156,
> 337, 104 },
>
> { 124,
> 238, 101 },
>
> { 106,
> 207, 79 },
>
> { 87, 215,
> 35 }
>
>
>
>
>
> };
>
> …
>
> }
>
> _____________________________________
> 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
>
>
--
David Sarrut, Phd
Chargé de recherche CNRS
Centre de lutte contre le cancer Léon Bérard
28 rue Laënnec, 69373 Lyon cedex 08
Laboratoire CREATIS-LRMN UMR CNRS 5220, Inserm U 630
Tel : 04 78 78 51 51 / 06 74 72 05 42
http://www.creatis.insa-lyon.fr/rio
_________________________________
"2 + 2 = 5, for extremely large values of 2"
_________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20101020/996f5354/attachment.htm>
More information about the Insight-users
mailing list