View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003153 | Slicer4 | Core: Base Code | public | 2013-06-10 03:43 | 2014-03-06 04:58 |
Reporter | manhnguyen | Assigned To | jcfr | ||
Priority | normal | Severity | feature | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | Slicer 4.2.0 | ||||
Target Version | Slicer 4.4.0 | Fixed in Version | Slicer 4.3.0 | ||
Summary | 0003153: rotate bounding box | ||||
Description | Dear Slicer Developer, is there anyway to rotate the bounding box? Tat Manh Nguyen | ||||
Tags | No tags attached. | ||||
Hi Tat, Consider reading the following discussion [1]. Hth [1] http://slicer-users.65878.n3.nabble.com/quot-spin-the-3D-view-quot-rotation-speed-td3956405.html |
|
Dear jcfr, I'm sorry not to be clear, I'm using C++ and because the image scan from MRI has a bit different angle, and I recognize that the bounding box doesn't rotate with the slices. that's why I want to rotate the bounding box as same as the slices. (Note, in order to rotate as the data i got, I use the SetIJKToRASMatrix) |
|
Did you try to click on the "fit-to-data" button as illustrated in the screenshot ? If that work, you would have to trigger the same action from cpp. |
|
2013-06-11 06:00
|
|
2013-06-11 06:02
|
|
Dear jcfr, |
|
2013-06-11 06:34
|
|
Hi, Would it be possible to provide an annotated screenshot illustrating what you mean by "box doesn't warped completely around the image data" ? Thanks |
|
2013-07-31 22:52
|
|
Dear jcfr, As you can see in the explanation.png image, no matter what I try to do, it keep letting empty space there. What I want is the bounding box to fit with all three slices perfectly, which means the bounding box must be rotated and scaled to fit the box Sincerely, Tat Manh Nguyen |
|
Within Slicer, an axis aligned minimum bounding box [1], it seems what you would like is Arbitrarily oriented minimum bounding box [2] If this is the case, I suggest you close this issue and create a feature request that we would target for Slicer 4.4. The VTK class internally used (vtkBoundingBox) implement a 3D axis aligned bounding box [3], it means this class would have to be extended to propose an option allowing to do non-aligned bounding box. If you would like to contribute a patch to the VTK library, you could look at [4] for more details. In your case, you could probably try to apply a transform to your data to align them ? [1] http://en.wikipedia.org/wiki/Minimum_bounding_box#Axis-aligned_minimum_bounding_box [2] http://en.wikipedia.org/wiki/Minimum_bounding_box#Arbitrarily_oriented_minimum_bounding_box [3] http://www.vtk.org/doc/nightly/html/classvtkBoundingBox.html#details |
|
Thank you jcfr, I understand now, and i will close this issue. |
|
Closing resolved issues that have not been updated in more than 3 months |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2013-06-10 03:43 | manhnguyen | New Issue | |
2013-06-10 03:43 | manhnguyen | Status | new => assigned |
2013-06-10 03:43 | manhnguyen | Assigned To | => jcfr |
2013-06-10 07:24 | jcfr | Target Version | => Slicer 4.3.0 |
2013-06-10 07:29 | jcfr | Note Added: 0008731 | |
2013-06-10 07:29 | jcfr | Status | assigned => closed |
2013-06-10 07:29 | jcfr | Resolution | open => no change required |
2013-06-10 07:29 | jcfr | Fixed in Version | => Slicer 4.3.0 |
2013-06-11 02:37 | manhnguyen | Note Added: 0008738 | |
2013-06-11 02:37 | manhnguyen | Status | closed => feedback |
2013-06-11 02:37 | manhnguyen | Resolution | no change required => reopened |
2013-06-11 06:00 | jcfr | Note Added: 0008739 | |
2013-06-11 06:00 | jcfr | File Added: Screenshot-3.png | |
2013-06-11 06:02 | jcfr | File Added: Screenshot-4.png | |
2013-06-11 06:02 | jcfr | Note Edited: 0008739 | |
2013-06-11 06:23 | manhnguyen | Note Added: 0008740 | |
2013-06-11 06:34 | manhnguyen | File Added: Untitled.png | |
2013-07-31 20:07 | jcfr | Note Added: 0009315 | |
2013-07-31 20:07 | jcfr | Target Version | Slicer 4.3.0 => Slicer 4.4.0 |
2013-07-31 22:52 | manhnguyen | File Added: explanation.png | |
2013-07-31 22:55 | manhnguyen | Note Added: 0009325 | |
2013-08-01 07:53 | jcfr | Note Added: 0009330 | |
2013-08-01 07:53 | jcfr | Status | feedback => resolved |
2013-08-01 07:53 | jcfr | Resolution | reopened => fixed |
2013-08-01 07:57 | manhnguyen | Note Added: 0009332 | |
2014-03-06 04:56 | jcfr | Note Added: 0010822 | |
2014-03-06 04:58 | jcfr | Status | resolved => closed |