Questions tagged [evil-dicom]

Evil Dicom is a lightweight library written in C# enabling the inspection and manipulation of DICOM files. In its current implementation, it does not handle imaging or DIMSE networking.

git: https://github.com/rexcardan/Evil-DICOM home: http://evildicom.rexcardan.com/

Since recent changes in the last 6 months to the API, most discussion resources for Evil Dicom are now irrelevant.

21 questions
2
votes
1 answer

Which DICOM UIDs should be replaced while overwriting pixel data in DICOM?

I am trying to create a new DICOM file (instance) from an existing one, where I change the pixel data. I know that I need to change some of the UIDs while replacing pixel data. Currently I am generating SOPInstanceUID, MediaStorageSOPInstanceUID and…
Tina P
  • 61
  • 7
1
vote
1 answer

How to convert Dicom to BMP image in C#?

I am currently using the evil-dicom library for opening DICOM files in c#. I am able to access the dicom file with: var dcm = DICOMObject.Read('dicomfilename'); Then open up the pixel stream using dcm.PixelStream How can I save the pixelstream as…
evanr77
  • 43
  • 4
1
vote
1 answer

EvilDicom Image Corrupted

I'm trying to use the library to anonymize a dicom image. In some cases it works fine, but in other cases the final image is corrupted. I mean, the pixels of the image are wrong and also the FileMetaInformationGroupLength tag of final image has…
Celia MT
  • 13
  • 2
1
vote
1 answer

How to Display DICOM images using EvilDICOM in c#?

I want to use EvilDICOM library to work on some dicom images. Now I am trying to show an image in a PictureBox in C#. How can I do that?
user1483636
1
vote
1 answer

Handling a lossless jpeg Image in DICOM

I have a DICOM Image which has the image stored as the following JPEG Lossless, Nonhierarchical, First- Order Prediction (Processes 14 [Selection Value 1]): Default Transfer Syntax for Lossless JPEG Image Compression I can open the original DICOM…
James
  • 1,764
  • 5
  • 31
  • 49
1
vote
1 answer

EvilDicom problems in using VoxelGrid

I'm trying to implement this example. DicomFile df; VoxelGrid vt ; if (openFileDialog1.ShowDialog () == DialogResult.OK) { df = new DicomFile (openFileDialog1.FileName); vt = new VoxelGrid (df); pictureBox1.Image =…
banha126
  • 11
  • 3
1
vote
1 answer

Display VALUE parameter of DICOM image

I'm using the Evil Dicom dll. Currently for one of the tags, Counts Accumulated, I can extract and display the VR parameter, LENGTH parameter and TAG DESCRIPTION parameter. However, I haven't found a way to extract and display the VALUE parameter,…
Adolf
  • 23
  • 3
0
votes
0 answers

EvilDICOM Read color jpeg 8bit lossy image

I am new to DICOM and am working on Whole Slide Images saved in DICOM format. I was hoping someone could show me or point me to how I can extract an 8bit lossy jpeg image from a .dcm file using EvilDICOM. I have been using EvilDICOM and know how to…
jdogitt
  • 11
  • 2
0
votes
1 answer

Wrong output pixel colors (grayscale) using EvilDICOM

I'm using Evil-DICOM to construct a 2d image in unity (i.e texture2d). The output pixel values are wrong compared to what I got from other DICOM viewers. I'm new to DICOM development and couldn't figure out what I did wrong. I've been stuck on this…
SimonJ9
  • 17
  • 4
0
votes
1 answer

Evil Dicom hw to check if a tag exists

I am working with DICOM RT data sets and the Frame of reference UID is common across all files except the RT structure file where it is called referenced frame of reference. What I would like to do is to read each DICOM file and check if the file…
James
  • 73
  • 1
  • 12
0
votes
1 answer

Alter DICOM tags without saving

I'm using EvilDicom to grab DICOM data from my DB and transfer it out to a directory where it can be used another program. The secondary program checks in for new files periodically but I need to change a DICOM tag before it does. I could have a…
0
votes
1 answer

How to determine which transfer syntax to use for each DICOM image?

I'm very new to DICOM protocol, and I'm having a questions related to "Transfer Syntax" that needs to be chosen, before sending the images. I have a list of images that I want to send to a remote server. Images in that list can be in one of the…
delux
  • 1,694
  • 10
  • 33
  • 64
0
votes
1 answer

How to list DICOM studies from local server (local AETitle)?

I'm using DicomObjects Library for manipulations with DICOM files. I'm using just the base commands and so far this is my working code: var queryFind = new DicomObjects.DicomQuery { Node = "remoteIPaddress", Port =…
delux
  • 1,694
  • 10
  • 33
  • 64
0
votes
1 answer

Length of PixelStream in EvilDicom library

I can't reconcile the length of the PixelStream containing the image, with the parameters for this particular image. 0028,0002 (SamplesPerPixel): 1 0028,0004 (PhotometricInterpretation): MONOCHROME2 0028,0010 (Rows): 432 0028,0011 (Columns):…
James
  • 1,764
  • 5
  • 31
  • 49
0
votes
3 answers

Can not find Open method in Evil Dicom using latest version from github

I am trying to follow the tutorial here: http://www.rexcardan.com/2014/10/evil-dicom-basics/ and process my DICOM file to show the image. In the tutorial, the DICOMObject.Open() method is called to process the file path. My issue is that…
scapegoat17
  • 5,509
  • 14
  • 55
  • 90
1
2