Rank: 98199 based on 0 downloads (last 30 days) and 0 file submitted
photo

Yannick

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Yannick View all
Updated File Comments Rating
06 Feb 2012 Rotate Tick Label ROTATETICKLABEL rotates tick labels. Author: Andrew Bliss

You may want to add the parameters

,'Parent',h

to the end of the 'text' commands in order not to rely on the value of gca.

15 Aug 2011 DICOM gantry tilt correction Checks for gantry tilt in DICOM fileset and modifies the images Author: Phil Lewis

Does not work for negative angles, neither for non-uniformly sliced data.

04 Aug 2011 Draw Bounding Box This function draws bounding boxes around blobs in a binary image. Author: Shadab Khan

Handy submission, but not very well documented and a little inaccurate. For example, should the inner or the outer boundary of the blobs be drawn? Also, the outline is off by one on the top and left edges:

A = [0 0 0 0 0 0; 0 0 1 1 0 0; 0 1 1 1 1 0; 0 0 1 1 0 0; 0 0 0 0 0 0]
B = drawboundingbox(A)

A =

0 0 0 0 0 0
0 0 1 1 0 0
0 1 1 1 1 0
0 0 1 1 0 0
0 0 0 0 0 0

>> B = drawboundingbox(A)

B =

1 1 1 1 1 0
1 0 1 1 1 0
1 1 1 1 1 0
1 1 1 1 1 0
0 0 0 0 0 0

This can be fixed by replacing some floor by ceil (4 times, 2 in the lower loop limits, 2 in the loop body) and by changing lines 18 and 20 to this:

g(y1 + stats(k).BoundingBox(4) - 1, i) = 1;
g(j, x1 + stats(k).BoundingBox(3) - 1) = 1;

21 Jul 2011 DICOMDIR Parser Automatically generates a parse tree from a DICOMDIR file, for easy non-interactive processing. Author: Jadrian Miles

Nonetheless, most DICOMDIR files are indeed sorted in left-most-child-right-sibling order. I added checks to parseDicomDir.m to find out when this is NOT the case, so the script throws an error is the assumed order is not present. Contact me if you would like to have these changes.

21 Jul 2011 DICOMDIR Parser Automatically generates a parse tree from a DICOMDIR file, for easy non-interactive processing. Author: Jadrian Miles

If I am not mistaken, this submission heavily relies on internal ordering of the DICOMDIR records. However, as pointed out here [1], the ordering is not mandatory, so that this submission would handle unordered DICOMDIR files incorrectly.

[1] http://groups.google.com/group/comp.protocols.dicom/browse_thread/thread/ce215f6efd2bc9c2

Contact us