Difference between revisions of "Support:Detailed tutorial on bug report"
(Failure to read in PET data that is 2-byte integer) |
|||
Line 24: | Line 24: | ||
== Submit bug report == | == Submit bug report == | ||
− | + | Bug reported by Landon Locke Email: Landon25@virginia.edu | |
− | + | OS: Microsoft Windows XP Version 5.1 (Build 2600: Service Pack 2) | |
− | |||
− | |||
− | |||
− | + | MATLAB: MATLAB Version 7.7.0.471 (R2008b) | |
− | |||
− | |||
− | |||
− | + | COMKAT: R3.2 | |
− | |||
− | |||
− | |||
− | + | Bug description: | |
+ | When I try to load in a PET image data set that is 4-byte integer using readASPIRo, the code works fine. If the PET data was reconstructed as 2-byte integer, then the code fails and the following error is display in Matlab: | ||
+ | |||
+ | ??? Error using ==> reshape | ||
+ | To RESHAPE the number of elements must not change. | ||
+ | |||
+ | Error in ==> readASIPro>readSegsFrames at 622 | ||
+ | fileData = reshape(fileData, [sz(1:3)] ); | ||
+ | |||
+ | Error in ==> readASIPro>getPixelData at 508 | ||
+ | [data, segidx, subheader_out] = readSegsFrames(fid, sz, 'int16', | ||
+ | frame, segment, delta, outputformat, subheader); | ||
+ | |||
+ | Error in ==> readASIPro at 391 | ||
+ | [data, si, sh_out] = getPixelData(fs_data, mh.data_type, sz, frame, | ||
+ | segment, [], outputformat, sh); | ||
+ | |||
+ | Our PET data is 69 frames (23 frames for each of the three gates). For some reason, the FileData variable does not contain any data (0x0) once frame 36 is reached, but is fine up to this point. I have no idea what is wrong with frame 36. | ||
+ | |||
+ | |||
+ | Attachment(optional): | ||
+ | |||
+ | Additional contact information (optional): |
Revision as of 21:45, 30 June 2009
This is the tutorial for submitting bug reports.
Upload attachment
If you do not wish to include attachments, please proceed to the next step.
Please note that we only allow attachments in the zip format. Please compress your files before submission. Also yo have to log in to upload files.
First, click on the 'Upload file' link.
Specify which file you wish to upload:
Click 'Upload file'. Wait for the following page to show:
Copy the link location to your clipboard. You will need it later.
Submit bug report
Bug reported by Landon Locke Email: Landon25@virginia.edu
OS: Microsoft Windows XP Version 5.1 (Build 2600: Service Pack 2)
MATLAB: MATLAB Version 7.7.0.471 (R2008b)
COMKAT: R3.2
Bug description: When I try to load in a PET image data set that is 4-byte integer using readASPIRo, the code works fine. If the PET data was reconstructed as 2-byte integer, then the code fails and the following error is display in Matlab:
??? Error using ==> reshape To RESHAPE the number of elements must not change.
Error in ==> readASIPro>readSegsFrames at 622
fileData = reshape(fileData, [sz(1:3)] );
Error in ==> readASIPro>getPixelData at 508
[data, segidx, subheader_out] = readSegsFrames(fid, sz, 'int16', frame, segment, delta, outputformat, subheader);
Error in ==> readASIPro at 391
[data, si, sh_out] = getPixelData(fs_data, mh.data_type, sz, frame, segment, [], outputformat, sh);
Our PET data is 69 frames (23 frames for each of the three gates). For some reason, the FileData variable does not contain any data (0x0) once frame 36 is reached, but is fine up to this point. I have no idea what is wrong with frame 36.
Attachment(optional):
Additional contact information (optional):