Jonathan-mark-long / TestingDRRImagesPlugin

1 stars 0 forks source link

Request: 2D images #1

Open Kiragroh opened 2 years ago

Kiragroh commented 2 years ago

Hi,

very nice. I will try it immediately.

Are you trying to do the same with the 2d images (including isodose and structure lines)? Would be very helpful to fully automate the documentation process.

Thanks for sharing.

Jonathan-mark-long commented 2 years ago

Hi,

My plan is to eventually automate the documentation process but I am not sure of a time scale. Apologies, you may have noticed with this script that there are some minor scaling issues with the graticule/ MLCs not perfectly aligning to the DRR. I have been trying to figure this out for a while now, I think it could maybe be a windowing issue as I generate the image from the beam.ReferenceImage rather than a positional error but I am not sure. If you notice anything that could be causing this I would very much like to know.

Thanks.

Erhushenshou commented 1 year ago

Hi London, Do you have any ideas to draw isodoseline as Kiragroh asked. Really interested.

Jonathan-mark-long commented 1 year ago

Hi @Erhushenshou ,

This is something I have looked into in the past. I have just created a new repo called CT-Dose. This can be used to generate an image of the dose voxels on a given plane. From here the VoxelToDoseValue method could be used along with a list of isodose values to generate isodose lines. However, it is not something I have tried to do and this project has been neglected as I could never figure out the scaling issues. If you have any questions about the code I would be happy to answer them though.

transverseDose

This is in in the transverse plane but the same could be applied to others.