MantisBT - VTK | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0001128 | VTK | (No Category) | public | 2004-09-02 12:38 | 2016-08-12 09:54 |
Reporter | minnus | ||||
Assigned To | Charles Law | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Project | |||||
Type | |||||
Summary | 0001128: vtkImageResample produces incorrect extents | ||||
Description | input is a 128x128x64 image (extents 0-127,0-127,0-63), if I do the folowing: resample->SetAxisMagnificationFactor(0, 4); resample->SetAxisMagnificationFactor(1, 4); resample->Update(); resample->UpdateWholeExtent(); resample->GetOutput()->Update(); int dims[3]; resample->GetOutput()->GetDimensions(dims); resample->GetOutput()->Print( cout ); cout<<"Dims: "<<dims[0]<<", "<<dims[1]<<endl; dims[0] and dims[1] contain "509" and the Print shows extents of 0-508 for the x and y direction. Expected results are dims of 512 and extents 0-511 the problem appears to be in the "wholeMax" calculation of the ExecuteInformation function. Thanks. Martins | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) | ||
2016-08-12 09:54 | Kitware Robot | Note Added: 0036749 | |||
2016-08-12 09:54 | Kitware Robot | Status | expired => closed | ||
2016-08-12 09:54 | Kitware Robot | Resolution | open => moved |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|