View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003546 | Slicer4 | Module CropVolume | public | 2014-01-07 03:55 | 2018-03-02 11:02 |
Reporter | smantzavinos | Assigned To | lassoan | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | Slicer 4.3.1 | ||||
Target Version | Fixed in Version | Slicer 4.7.0 | |||
Summary | 0003546: Crop Volume output spacing is sometime incorrect (depending on the input volume). | ||||
Description | The problem can be seen using the sample MRHead data. When you extract a volume from this data and don’t choose to use isotropic output spacing, the spacing of two of the dimensions gets reversed. The original MRHead has a spacing of 1 in the axial plane and 1.3 in the sagittal plane. The extracted volume is opposite, with spacing of 1.3 in the axial plane and 1 in the sagittal plane. | ||||
Additional Information | I discovered this when mimicking the functionality of Crop Volume in a python module I was writing. I found that for this case, I could fix it by instead of getting the output spacing using the GetSpacing() command on the input volume, multiplying the IJKToRASMatrix by [1, 1, 1, 0] and taking the absolute value of the result. This would reverse the spacing when necessary and solved the problem for this volume at least. I now have come across a dataset that is not at a right angle (i.e. there is more than one non-zero element per row of the IJKToRAS matrix) and my solution no longer works. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2014-01-07 03:55 | smantzavinos | New Issue | |
2014-01-07 03:55 | smantzavinos | Status | new => assigned |
2014-01-07 03:55 | smantzavinos | Assigned To | => fedorov |
2014-01-07 04:33 | fedorov | Status | assigned => acknowledged |
2017-06-11 23:38 | lassoan | Assigned To | fedorov => lassoan |
2017-06-11 23:38 | lassoan | Status | acknowledged => resolved |
2017-06-11 23:38 | lassoan | Resolution | open => fixed |
2017-06-11 23:38 | lassoan | Fixed in Version | => Slicer 4.7.0 |
2017-06-11 23:38 | lassoan | Note Added: 0014771 | |
2018-03-02 11:02 | jcfr | Status | resolved => closed |