Difference between revisions of "Support:Detailed tutorial on bug report"

From COMKAT wiki
Jump to navigation Jump to search
(Failure to read in PET data that is 2-byte integer)
Line 24: Line 24:
 
== Submit bug report ==
 
== Submit bug report ==
  
To submit a bug report, on the page [[Support:Bugs and solutions]] first copy the text within blue dashed lines.
+
Bug reported by Landon Locke Email: Landon25@virginia.edu
  
{| border="1" cellspacing="0"
+
OS: Microsoft Windows XP Version 5.1 (Build 2600: Service Pack 2)
|[[Image:Bug_screen_1.JPG]]
 
|}
 
<br>Then click 'Edit' near the bottom.
 
  
{| border="1" cellspacing="0"
+
MATLAB: MATLAB Version 7.7.0.471 (R2008b)
|[[Image:Bug screen 2.JPG]]
 
|}
 
<br>Scroll down in the edit box and find '==  New bugs waiting for response =='. Paste the copied text there. Modify it.
 
  
{| border="1" cellspacing="0"
+
COMKAT: R3.2
|[[Image:Bug screen 4.JPG]]
 
|}
 
<br>If there is any attachment, paste the link location to your attachment in the '[[ ]]'.
 
  
Click 'Save page' and you are all set!
+
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 22: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.

Upload file screen 1.JPG


Specify which file you wish to upload:

Upload file screen 2.JPG


Click 'Upload file'. Wait for the following page to show:

Upload file screen 3.JPG


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):