bhklab / readii

Radiomic Extraction and Analysis for DICOM Images (READII)
MIT License
3 stars 0 forks source link

displayCTSegOverlay breaks if sliceIdx for original image is passed when crop is True #20

Open strixy16 opened 5 months ago

strixy16 commented 5 months ago

When crop is True, sliceIdx ends up out of bounds. Need to add an adjustment to the value when image gets cropped by determining how much that index would change once the image is cropped.