Skip to content

"Bug" in volume constraint with "calculate_full_volume" dvh #371

@fdekerme

Description

@fdekerme

Hello ,
I've noticed an "error" when I try to calculate a V20Gy Brain with the calcdvh.volume_constraint() function.
I don't think it's a bug, but it comes from the way volume constraint are calculated, from total brain histogram.

I have a patient with a truncated dose map, which does not fully cover the brain contour. However, the 20Gy isodose is entirely included in the dose map. Therefore, the brain volume outside the dose map should not influence the V20Gy calculation.

However, I get 2 different values depending on whether or not I use the "calculate_full_volume" option:

  1. calcdvh_1 = dvhcalc.get_dvh(rts, rtd, ids, calculate_full_volume=False) and then calcdvh_1.volume_constraint(20, "Gy").value, I get a V20Gy of 750cm3
  2. calcdvh_2 = dvhcalc.get_dvh(rts, rtd, ids, calculate_full_volume=True) and then calcdvh_2.volume_constraint(20, "Gy").value, I get a V20Gy of 770cm3.

Below are the whole brain DVHs for calcdvh_1 (orange) and calcdvh_2 (blue), from which we can see why the V20s are different.

image

Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions