Thursday, May 17, 2012
Google Custom Search

ClearCanvas Highlights

Download our Open Source software
Watch some Videos
Get the Source
Check out our Licensing
Join our  Forums
Some Research: OICR IPP-Trials

Our Community

Membership Membership:
Latest New User Latest: JBauza
New Today New Today: 19
New Yesterday New Yesterday: 33
User Count Overall: 22559

People Online People Online:
Visitors Visitors: 8
Members Members: 1
Total Total: 9

Online Now Online Now:
01: JBauza

ClearCanvas Community Forums

How to I use ClearCanvas.Dicom Toolkit to convert BMP image to Dicom.
Last Post 2009-12-16 10:13 AM by stewart. 22 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Page 2 of 2 << < 12
Author Messages
stewart
Senior Member
Senior Member
Posts:2128

--
2008-10-29 09:30 PM  

Hi all, for those of you who have downloaded my 'Import from Bitmap' utility, you may have noticed that although it imports into the workstation just fine, you can't send it anywhere.  This is because it has no value for Sop Class Uid!  Why did I omit such an important tag you may be asking yourself?  The answer to that question is that I made a 'cut and paste' error ... while reorganizing code, I cut and didn't re- paste.  There is also one other important tag that seems to have been missed, along with some less serious type 2 tags that should be present (but empty) in order to be fully compliant.

Anyway, if you have been using the utility and want to fix the images you've imported, here's what you need to do:
1. Open the study from the Dicom Explorer.
2. Select an image and click Tools > Utilities > Locate On Disk.
3. Locate this folder through the My Computer tab.
4. Right-click the folder and choose Dump Files.
5. Add the Sop Class Uid tag (0008, 0016) and enter the value '1.2.840.10008.5.1.4.1.1.7' (Secondary Capture Image Storage).  Apply to all images.
6. Add the Planar Configuration tag (0028, 0006) and enter the value 0.  Apply to all images.

If you want to be strictly compliant, enter the following tags with empty values.
1. Referring Physician's Name (0008, 0090).
2. Study Id (0020, 0010).
3. Patient Orientation (0020, 0020).

Anyway, sorry for the blunder.  Hope it doesn't cause anyone any major problems.

Also, I've updated the plugin(s) in the plugin repository, so you can just download it and drop it into your Workstation 1.2 plugins folder on top of the existing ones.  Make sure to stop the ShredHostService first, though or you won't be able to copy over the existing files.

-Stewart

Real-time support available to Clinical Edition and Team Edition customers
maensari
Basic Member
Basic Member
Posts:16

--
2009-12-16 04:18 AM  

hi, i tried your cod and i creates DICOM (.dcm) file but after creating this file i can not open in clear canvas or in any other dicom viewer, getting error and it saying me that some thing missing.

actually i need to know just only that how can i create a DICOM file with one image that's it . using vb.net or c#.

stewart
Senior Member
Senior Member
Posts:2128

--
2009-12-16 10:13 AM  
Hi, can you post the CC Workstation logs? The code from the Import from Bitmap plugin definitely works, so I'm just curious about the error you're seeing.

Thanks,
Stewart
Real-time support available to Clinical Edition and Team Edition customers
You are not authorized to post a reply.
Page 2 of 2 << < 12


Active Forums 4.1
Copyright 2012 ClearCanvas Inc.