[Insight-users] Display object with segmented region..

yasser salman yass71 at yahoo.com
Mon, 5 Apr 2004 13:15:17 -0700 (PDT)


hi all..,
when i'm using ConnectedThresholdImageFilter i extract
the region and can view it speratly in 3D space, how
can i visual both my object(brain ) and the labeled
region(tumor) , not by extracted the segmented region
i need only to segment it at the object it self ( just
change color of the segmented region),
thanx ,, 
yasser..,
connectedThreshold->SetInput( smoothing->GetOutput()
);
   connectedThreshold->SetLower(  L_threshold  );
  connectedThreshold->SetUpper(  H_threshold);
  connectedThreshold->SetReplaceValue(
SegmentedRegionColor );


  typedef ConnectedFilterType::IndexType IndexType;
  IndexType seed;
  seed[0] = axi;
  seed[1] = cron;
  seed[2] = sag;

  connectedThreshold->SetSeed( seed );
  ITK2VTKconnector->SetInput(connectedThreshold
->GetOutput());
 
ITK2VTKconnector->GetImporter()->SetDataScalarTypeToUnsignedChar();

,,,,,to Vtk to visualize the segmented region only 



__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/