Questions tagged [fo-dicom]

The Fellow Oak DICOM library provides extensive coverage of the DICOM standard to applications using the .NET Framework and .Net Core.

Fellow Oak DICOM (fo-dicom) is a .NET library that provides extensive coverage of the DICOM standard used for the storage and transfer of medical images.

96 questions
1
vote
1 answer

resizing PixelData of DicomData using EmguCV(C#)

i have issue with cv2.resize as you see in the example below. it seems that i use the api in the wrong way, or i missed some declarations. According to the API, the are InputArray, OutPutArray, which I didn't really understand how to use those. I…
Anasse
  • 21
  • 3
1
vote
1 answer

Window width and Center and Hounsfield units

I am currently adjusting the brightness and contrast of a grayscale image using fo-dicom. Loading the image: _dicomFile = DicomFile.Open(GetImageFileName()); _dicomImage = new DicomImage(_dicomFile.Dataset); WindowLevel =…
SoothingMusic
  • 107
  • 1
  • 13
1
vote
0 answers

fo-dicom how to set the default logging level

With the latest version of fo-dicom, how do you change the logging level to be > [DEBUG]? Do you need to include the Dicom.Log from fo-dicom.Desktop? I've tried that and setting the LogManager to null as per instructions:…
Andy Le
  • 11
  • 3
1
vote
1 answer

With Fo-Dicom, how do you make a case-insensitive MWL CFindRequest?

I can make these great worklist queries like this one... //Worklist MWL PATIENTID query var cf = DicomCFindRequest.CreateWorklistQuery(); cf.Dataset.AddOrUpdate(DicomTag.PatientID, szPatientIDsearch); cf.OnResponseReceived = (DicomCFindRequest rq,…
Robert Koernke
  • 436
  • 3
  • 18
1
vote
1 answer

Unable to save DICOM from PACS using fodicom

I'm working with the QueryRetrieve SCU project in the FoDicom sample solution... FoDicom Samples The code never hits the SaveImage method. I'm querying www.dicomserver.co.uk for sample images...I'm new to this and at a loss. What am I missing? …
Mike Murphy
  • 1,287
  • 1
  • 12
  • 23
1
vote
1 answer

The number of frames tag appears in the dataset but is not in the DICOMDIR C#

I add dicom files using the AddFile(dicomFile,name) method but the number of frames tag does not appear. var sourcePath = Path.Combine(tempDirectory, "DICOM", $"PATIENT{i + 1}", $"STUDY{j + 1}", $"SERIES{k + 1}", $"SUBSERIES{l + 1}"); var…
1
vote
1 answer

fo-Dicom - How do I extract image frames from the DicomFile

I need to extract all image frames from a DICOM SC using fo-DICOM. I have a test app that extracts and displays the images, which works fine. However, I need to save the individual images to a database, and am running into problems. I have the…
Tim
  • 2,731
  • 9
  • 35
  • 72
1
vote
1 answer

How do I set the AE Title on a server I'm creating?

I'm making a very simple STORE server, that isn't intended to do anything DICOM-like other than echo and take in data. I'm inheriting from DicomCEchoProvider and letting the parent class do most of the work for me: the only methods that so far have…
1
vote
1 answer

Using Grayscale Softcopy Presentation State with fo-dicom

I would like to add markings to a DICOM image (for example, drawings or textual comments) using Grayscale Softcopy Presentation State IOD. I have created a DICOM image object like this: Bitmap bitmap = new Bitmap(path); bitmap =…
Liidia
  • 55
  • 8
1
vote
2 answers

Not able to access JsonDicomConverter in .net core project

I am trying to extract data from Dicom files in JSON format using fo-Dicom but currently suffering from this error: The type or namespace name 'JsonDicomConverter' could not be found (are you missing a using directive or an assembly reference?) I…
cooldude
  • 63
  • 10
1
vote
1 answer

How to Modify Dicom Tags Using fo-dicom

I am creating a console application that will modify dicom tags. I will load up a single dicom file and update the PatientID tag. I can not seem to to get anything to modify. I am able to read tags, but updating/adding does not seem to work for me.…
1
vote
1 answer

Decoding dataset with transfer syntax: JPEG 2000 Image Compression is not supported

I know this problem already handled below link Render JPEG 2000 Image Compression Dicom with Fo-Dicom However, to change building x86 or x64 from Any CPU, didn't work to my problem. it seems exactly same problem at above link, because my troubling…
1
vote
1 answer

How to setup certificate for Client in Fellow-Oak Dicom?

Deak folks, I'm trying to setup a Dicom Client using the Fellow Oak Dicom library. I succesfully do all the queries, using the DicomClient class, as indicated in their github page https://github.com/fo-dicom/fo-dicom . However, how can I specify a…
1
vote
1 answer

DICOMDir file getting corrupted after save with fo-dicom

I'm experiencing an issue with adding a file to a DICOMDir. Based on this example I've successfully created and saved to disk an image from a series. Then, I tried adding that file to the DICOMDIR, so that the Dir references the new file, and,…
Pona
  • 167
  • 1
  • 17
1
vote
1 answer

How to create a DICOMDIR properly with fo-dicom?

I've been trying to find a way to use fo-dicom to create a DICOMDIR file, and have it reference several files that contain image series, but so far I can't. I've successfully read DICOMDIRs, series and even rendered images. From that, I was able to…
Pona
  • 167
  • 1
  • 17