Haven't had a chance to look at this in a while.
On Wed, Dec 12, 2007 at 6:57 PM, John Fouhy <[EMAIL PROTECTED]> wrote:
> On 13/12/2007, Bryan Fodness <[EMAIL PROTECTED]> wrote:
> > I am new to doing anything like this. I have looked at
> > http://www.leadtools.com/SDK/Medical/DICOM/ltdc1.htm an
Bryan Fodness wrote:
> I am trying to parse a DICOMRT file, which is a radiation therapy DICOM
> file.
This might be helpful - I haven't tried it, but it seems to be designed
for this sort of thing:
http://construct.wikispaces.com/
Also googling 'python dicom' gets quite a few hits.
Kent
Bryan Fodness wrote:
> I am trying to parse a DICOMRT file, which is a radiation therapy
> DICOM file.
I'm a little late to the party, but you may want to take a look at this:
http://mypage.iu.edu/~mmiller3/python/#dycom
>
> First, I get different outputs from the two methods below.
>
> f
Just downloaded it and have not had a chance to check it out.
Thanks,
Bryan
On Dec 12, 2007 6:18 PM, Eric Brunson <[EMAIL PROTECTED]> wrote:
> Bryan Fodness wrote:
> > I am trying to parse a DICOMRT file, which is a radiation therapy
> > DICOM file.
>
> I'm a little late to the party, but you ma
Thanks for the immediate response!
On Dec 12, 2007 5:57 PM, John Fouhy <[EMAIL PROTECTED]> wrote:
> On 13/12/2007, Bryan Fodness <[EMAIL PROTECTED]> wrote:
> > I am new to doing anything like this. I have looked at
> > http://www.leadtools.com/SDK/Medical/DICOM/ltdc1.htm and am
> > not sure how
On 13/12/2007, Bryan Fodness <[EMAIL PROTECTED]> wrote:
> I am new to doing anything like this. I have looked at
> http://www.leadtools.com/SDK/Medical/DICOM/ltdc1.htm and am
> not sure how to proceed.
I haven't much experience here, but this is how I'd proceed, I think:
1. Start by reading the
"Bryan Fodness" <[EMAIL PROTECTED]> wrote
> First, I get different outputs from the two methods below.
>
> for line in file('file.dcm', 'rb'):
> print line
This prints each line in turn.
> inp = open('file.dcm', 'rb')
> print inp.readlines()
This prints a list of lines
> Second, I have nev
Bryan Fodness wrote:
> I am trying to parse a DICOMRT file, which is a radiation therapy
> DICOM file.
>
> First, I get different outputs from the two methods below.
>
> for line in file('file.dcm', 'rb'):
> print line
>
> inp = open('file.dcm', 'rb')
> print inp.readlines()
I agree.
I am trying to parse a DICOMRT file, which is a radiation therapy DICOM
file.
First, I get different outputs from the two methods below.
for line in file('file.dcm', 'rb'):
print line
inp = open('file.dcm', 'rb')
print inp.readlines()
Second, I have never tried to parse a binary file. I co