View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0002945 | VTK | (No Category) | public | 2006-03-07 18:44 | 2016-08-12 09:54 | ||||
Reporter | Frank Gao | ||||||||
Assigned To | Will Schroeder | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0002945: DICOMImage reader has inappropriate buffer size | ||||||||
Description | I modified the MFC SDI example to show a single DICOM file. When the window size is small (h<512), and the DICOM file is 512*512, it blows up at the following code in vtkDICOMImageReader: for (int i=0; i < this->AppHelper->GetHeight(); ++i) { memcpy(b, iData, rowLength); b += rowLength; iData -= rowLength; } This code is to reverse the image data so that it is compatible with VTK. The essential reason of the problem seems to be that the following code allocates buffer (*b) size by the size of displaying window. Line #280 void* buffer = data->GetScalarPointer(); | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Type | |||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0036841) Kitware Robot (administrator) 2016-08-12 09:54 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page. |
Notes |
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: 0036841 | |
2016-08-12 09:54 | Kitware Robot | Status | expired => closed |
2016-08-12 09:54 | Kitware Robot | Resolution | open => moved |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |