On 9 August 2012 15:46, <a.bicycl...@gmail.com> wrote:
>
> Hi Andy,
>
> I'm new here. I hope this is the right way to find this info. I apologize if 
> it's not or you prefer not to be contacted directly this way.

It's better to use the list (see CC), then the conversation is public,
so others can benefit.

> I was looking for some info on Windows support of the dicom package. I found 
> the following related threads: 
> http://octave.1599824.n4.nabble.com/Dicom-files-td3620357.html, 
> http://octave.1599824.n4.nabble.com/dicom-support-td2122699.html.

You missed the really good news, which is here
http://sourceforge.net/mailarchive/message.php?msg_id=29403428

> Unfortunately, I'm pretty new to Octave and couldn't make perfect sense of 
> them. I think in the second thread you mention working on dicominfo with some 
> success (the only function I actually need from the dicom package). Did you 
> figure out how to support that function for Octave? Can you point me to a 
> place that explains how I can use that function?

http://octave.sourceforge.net/dicom/function/dicominfo.html

I think Matlab is similar

http://www.mathworks.co.uk/help/toolbox/images/ref/dicominfo.html

The structure that you get back can be heavily nested.

rp=dicominfo('.\new\RP.1.2.246.352.71.5.194670609.279985.20120522152124.dcm');
printf("%30s: %s\n","name",rp.PatientName);
printf("%30s: %.1f\n","Gantry angle of first
beam",rp.BeamSequence.Item_1.ControlPointSequence.Item_1.GantryAngle);

> I currently run Octave 3.2.4, but can DL a different version if that would 
> help.

Use the MSVC build of 3.6.2 and get the dicom package for it.

http://sourceforge.net/projects/octave/files/Octave%20Windows%20binaries/Octave%203.6.2%20for%20Windows%20Microsoft%20Visual%20Studio/

octave-3.6.2-vs2010-setup.exe
octave-3.6.2-dicom-0.1.1-vs2010-setup.exe

after octave starts you will need to do

pkg load dicom
addpath('C:\Program Files\Octave-3.6.2\share\octave\packages\dicom-0.1.1')

The second line tells it where to find the dicom dictionary (assuming
you go with the default path).

--
/* andy buckle */

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to