hallo everybody
i have one question, i have the Image daten with different slices, for example
slice 0 to slice 125, each slice has segmentation or without segmentattion, if
the slice has the segmentation then this slice has the pixelvalue >0, if
without the segmentation also, the pixelvalue=0,
now i have image daten from slice 23 to slice 56 with segmentation, but i want
only the slice 23 and slice 56 to keep the segmentation, the another slices
use keep segmentation not any more.
anybody can tell me, how i can set the another image with pixelvalue with 0,
that means, how i can delete the segmentation from the slice?
now i use this class to extract one sliceImage
ExtractImageFilter::Pointer extractor= ExtractImageFilter::New();
extractor->SetInput( m_Segmentation );
extractor->SetSliceDimension( sliceDimension );
extractor->SetSliceIndex( Index );
extractor->SetTimeStep( timeStep );
extractor->Update();
SliceImage = extractor->GetOutput();
Guo,Yanmin
Darmstadt Deutschland
Phone(handy):0179-4820889
_________________________________________________________________
新年换新颜,快来妆扮自己的MSN给心仪的TA一个惊喜!
http://im.live.cn/emoticons/?ID=18
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users