RT struct contour interpolation

Hi all,

What I have: original breast CT (0.703×0.703×5, 512×512×65); corresponding RT struct (planar contour, exist in 4 slices); cropped image (isotropic spacing 1.005, 173×104×111).

Want to get: interpolated segment which I could edit in each slice more accurately.

Action: First I converted RT struct to binary labelmap representation. Secondly I exported segment to labelmap (reference volume be cropped image). Then I converted labelmap back to segmentation node in subject hierarchy and finally got interpolated segment.

I have two questions then.

  1. In Picture1 the pink one (slice fill) showing original RT struct (planar contour) and the orange one (slice outline) showing interpolated segment (binary labelmap). It’s obvious that in some slices they were not so consistent (taken into consideration the difference between planar contour and binary labelmap). Is there another way to generate interpolated segment more accurately?

  2. After I got interpolated segment my way, I couldn’t make desired edit using segment editor module (The editing operation would be restricted in a small region? Shown in Picture2). I have no idea what’s wrong with my processing.

Hope for some suggestions. Thanks a lot!

Sincerely,
Crayon


Picture1

02
Picture2

No need for these steps.

  1. This may be due to two things. The first is all the extra conversions you’re making. The second is the resolution of the CT. To mitigate the first, please just skip those steps :slight_smile: For the second, you can go to the Segmentations module, click on Update (or if not created yet, long-click Create) in the row of the Binary labelmap representation, and then click Set geometry. Select your CT, and then you can choose to apply oversampling, which will give you a finer labelmap.

  2. Again, the extra steps. By going segmentation -> volume -> segmentation, you limited the bounding box, of which you cannot go out, unless you specify a different geometry. By the way can you please explain why you took these specific steps? Is there some tutorial or documentation that is outdated or wrong? Please let me know.

Thanks for your prompt reply. I am sorry that I didn’t find the right instructions before (maybe this tutorial? Create new representation in segmentation (conversion)). So I did all the way as I thought (sorry for making things much more complicated). :clown_face: Thank you again!

One more question. If I plan to export this segment to labelmap (which can be used as mask in later registration), must the reference volume be chosen to match the fixed (or moving) image? Because if I chose the lower resolution image as reference volume, the previous oversampling and thus finer segment would still change a little? Can I use the finer labelmap for mask (reference volume to be none)?

Your help is highly appreciated!

Crayon

Thanks! I will review the wiki page and update any outdated (and now confusing) information.

I believe the mask the registration uses will be resampled to the proper geometry anyway, so it doesn’t matter if the segmentation is finer. The point is that it should not be coarser. I would just export it to labelmap in its current grid, and give it to the registration.

1 Like

Thank you for your time. :slightly_smiling_face:

Yes it’s critical that the segment should not be coarser. I would just change source geometry to cropped volume (also fixed or moving image) and directly edit on it (without oversampling). Then export it to labelmap reference each fixed or moving image ahead. It may be the same I think.

Thanks for your help!

Crayon