Segmentation of Multiple ROIs [message #29063] |
Sun, 27 January 2002 23:13 |
idlfreak
Messages: 47 Registered: October 2001
|
Member |
|
|
hi,
I have a small problem and the solution must be pretty simple too,
i'm not able to figure it out though.
I can mark one ROI and then i segment the image that are outside that
ROI.
The code i wrote was this:
mask = oROI->ComputeMask(DIMENSIONS = [state.xdim, state.ydim],
MASK_RULE=2)
final = (mask) and (state.image)
help, final
region = search2d(final, 10,10,0,45)
help, region
final[region] = 0B
state.oModel -> SetProperty, HIDE = 1
state.oImage = Obj_New('IDLgrImage', final)
state.oModel = Obj_new('IDLgrModel', HIDE = 0)
state.oModel -> Add, state.oImage
state.oView -> Add, state.oModel
state.oWindow -> Draw, state.oView
I have a small problem in segmenting the heart alone completely from
CT image as there are so many small soft tissues connecting them. If i
can mark the arteries and veins that i need individually then it'll be
a lot easier. I've written code to draw as many ROIs i want in an
image.
The problem is i want to segment all the ROIs only from the entire
image.
Can anybody help me with that?
Thank you
Cheers,
Akhila.
|
|
|