View Issue Details

IDProjectCategoryView StatusLast Update
0002670Slicer4Core: Base Codepublic2014-03-06 05:59
Reporteralmar Assigned Toalexy  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product VersionSlicer 4.1.1 
Target VersionSlicer 4.3.0Fixed in VersionSlicer 4.3.0 
Summary0002670: Applying a transform to a ROI
Description

When applying a transform to a ROI results in the ROI deforming.

TagsNo tags attached.

Relationships

related to 0001636 assignedalexy "Harden transform" on ROI is incorrect when tfm has rotation 
parent of 0002705 closedchrysteljuan harden transform of ROI leads to crash 

Activities

pieper

pieper

2012-10-29 08:26

administrator   ~0006847

Can you provide more information? I don't see a problem when putting an ROI under a transform and doing rotation and translation.

Attach a screenshot if you can.

almar

almar

2012-10-30 04:12

reporter   ~0006895

  1. Apply a ROI
  2. ROI transform
    3.Result: https://dl.dropbox.com/u/18746515/slicer.png
  3. Harden: it transforms to what it should be.

Previously, when I applied a transform to a VOI it was correct without the hardening. After hardening it transformed wrongly.

pieper

pieper

2012-10-30 04:24

administrator   ~0006896

I get a 404 error when clicking on the dropbox link -- can you upload the file as part of this bug report instead?

What is the nature of the transform you apply? Does it have skews or scales, or just rotation and translations?

2012-10-30 04:27

 

slicer.png (218,098 bytes)
slicer.png (218,098 bytes)
almar

almar

2012-10-30 04:28

reporter   ~0006897

Done (bad internet connection, sorry).
Rotation and translations.

2012-10-30 04:54

 

pieper

pieper

2012-10-30 04:55

administrator   ~0006899

Interesting - I got a crash during the harden step (see issue 0002705). Does that happen for you?

Regarding the screen shot, are you sure the transform is bad? Can you make the slice planes and ROI visible in the 3D view (you might need to center the view - use the button in the title bar of the 3D view).

In the attached image I rotated the ROI and the cross sections are not squares but the ROI is still valid.

almar

almar

2012-10-30 05:46

reporter   ~0006902

If I am not mistaken, I have had crashes with ROI transforms (therefor I am using crop volume --> transform at the moment).

I think you are right about the ROI. When I submitted the bug, my ROI got lengthened without any reason when applying a VOI (ofcourse not an scale transform). I will try the 3D view at home ASAP.

alexy

alexy

2012-12-18 05:31

developer   ~0007518

If you put an ROI under a transform and apply rotation, the ROI is displayed in the rotated coordinate system, in 2D views it is displayed as line representing intersection of ROI box with slice planes. When you harden the transform the ROI looses it's rotational components and only uses translations. This is a current limitation of ROI widget, the box is always parallel to local RAS axis.

Does this explanation make sense?

alexy

alexy

2013-08-02 09:26

developer   ~0009363

The ROI transform hardening issue is reported elsewhere:
http://www.na-mic.org/Bug/view.php?id=1636
The "defomration" of ROI in 2D slice view is a correct behavior. So I am closing this issue

Issue History

Date Modified Username Field Change
2012-10-23 07:17 almar New Issue
2012-10-23 07:17 almar Status new => assigned
2012-10-23 07:17 almar Assigned To => pieper
2012-10-29 08:26 pieper Note Added: 0006847
2012-10-29 08:26 pieper Status assigned => feedback
2012-10-30 04:12 almar Note Added: 0006895
2012-10-30 04:24 pieper Note Added: 0006896
2012-10-30 04:27 almar File Added: slicer.png
2012-10-30 04:28 almar Note Added: 0006897
2012-10-30 04:49 pieper Relationship added parent of 0002705
2012-10-30 04:54 pieper File Added: Screen Shot 2012-10-30 at 8.54.11 AM.png
2012-10-30 04:55 pieper Note Added: 0006899
2012-10-30 05:46 almar Note Added: 0006902
2012-10-30 10:20 pieper Status feedback => assigned
2012-10-30 10:20 pieper Assigned To pieper => alexy
2012-12-08 10:21 jcfr Target Version => Slicer 4.3.0
2012-12-18 05:31 alexy Note Added: 0007518
2012-12-18 05:41 alexy Status assigned => feedback
2012-12-18 05:43 alexy Relationship added related to 0001636
2013-08-02 09:26 alexy Note Added: 0009363
2013-08-02 09:26 alexy Status feedback => closed
2013-08-02 09:26 alexy Resolution open => no change required
2014-03-06 05:59 jcfr Fixed in Version => Slicer 4.3.0