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
2
votes
2 answers

fo-DICOM: How to specify the local outgoing port in DicomClient?

There is way for TcpClient to assign local outgoing port as described here. Is it possible to have the same functionality for fo-DICOM DicomClient? This is necessary because the server is listening for a connection from a specific client port only.
vitm
  • 473
  • 1
  • 3
  • 12
2
votes
1 answer

Is there a built in way to reject certain SOP Classes on a fo-DICOM server?

I want to run a fo-DICOM server that returns the DicomStatus SOPClassNotSupported if for instance I try doing a CStoreRequest on it with the SOP class for Encapsulated PDF documents. Can I define the SOP classes to reject beforehand instead of…
Human654684
  • 115
  • 1
  • 4
2
votes
1 answer

fo-dicom JPEG Image Compression from MemoryStream

I am looking to load a dicom image and save it to a jpeg, as seen in the below code from fo-dicom documentation: var image = new DicomImage(@"test.dcm"); image.RenderImage().AsBitmap().Save(@"test.jpg"); However, I am opening the dicom file…
evanr77
  • 43
  • 4
2
votes
1 answer

Creating Dicom file out of video

I'm new to DICOM and to fo-dicom library. I'm trying to create a DICOM file out of an OCT eye scan video. First I'm extracting of the frames of the video and then create a DICOM file using fo-dicom. public static void CreateDicomFromVideo(string…
Eli Co
  • 23
  • 4
2
votes
2 answers

WorklistQuery ( C-FIND) returns C-Find response [2]: Optional Keys Not Supported

C-Find (Request Worklist) for a specific PACS returns "Optional Keys Not Supported" and returns no data. I have also tried with empty string "" instead of null for patient id, existing patientid and so one with the same result. The request works for…
Hans
  • 269
  • 4
  • 14
2
votes
1 answer

C# System.Drawing.Image.get_Width() throws exception on WinForms form is maximized

I writing Windows Forms Application application which should show image on the PictureBox control. To retrieve this image from DICOMDIR file I use fo-dicom library (driven by this guide): .... private void MainForm_Load(object sender, EventArgs…
V. Panchenko
  • 774
  • 1
  • 10
  • 32
2
votes
2 answers

FO-DICOM: Resizing a window with a rendered bitmap in a C# Windows Forms application results in crash

I have recently started to evaluate fo-dicom as a possible DICOM library for a future project, so I am quite new with it. I built a basic C# Windows Forms application that only reads a DICOM file, converts it into a System.Drawing.Bitmap and…
Alex Konnen
  • 717
  • 6
  • 20
2
votes
1 answer

How to get the full string element of a dicom item with fo-dicom?

I'm trying to get a string of a radiation therapy plan in a dicom file with fo-dicom. Doesn't seem to be that hard for you, but I'm stucking because I cannot find the right command. I was filtering the plan e.g. for the Leaf/Jaw Positions. The…
Booma
  • 261
  • 6
  • 19
2
votes
1 answer

How to read nested/child DICOM tags from sequences using fo-dicom?

For my project, I'm trying to read a radiation therapy plan (RT Plan) out of a DICOM file with fo-dicom 3.0.2 and C# in VS2015 (.Net 4.5.2). Thanks to a DICOM Editor, I know the values stored in the different DicomTags, but I cant get access to all…
Booma
  • 261
  • 6
  • 19
2
votes
2 answers

fo-dicom - How can I download dcm images from PACS and save them?

I'm trying to download dcm image from PACS server, but this is generating an empty dcm file. Following is the code: public void VisoresPacsController(string ipAddress, string aeTitle, string accessId, int port) { /* this.ipAddress =…
2
votes
1 answer

Xamarin with Fellow-oak DICOM doesn't not create DicomNative.dll in bin folder

I have created on Windows 8.1 Xamarin Project (Shared Project, Xamarin.Android & Xamarin.iOS ) which is simple dicom image viewer. We are using Fellow-oak Dicom installed via nuget-packages. In Shared Project there is method responsible for loading…
jakubm
  • 412
  • 4
  • 11
2
votes
2 answers

How to play 1080p HD DICOM video @30fps

I have tried Leadtool SDK to play 1080p DICOM video @30fps, But I have problem to read images from DICOM file, it taking long time to get Image from DICOM file. If we have to achieve 30fps frame rate, then Image should be read within 33…
Nilesh Wagh
  • 940
  • 1
  • 12
  • 26
2
votes
2 answers

Set listen port for file communication

I am extremely new to network communication and need to understand listening ports better. I have to create an application that listens for incoming DICOM associations. However I am unsure about which port I should listen on or if it really even…
TCulos
  • 183
  • 3
  • 13
2
votes
0 answers

Tasks and fo-dicom

EDIT: Problem has shifted to ending before all events are finished. I'm having a problem figuring out Tasks with fo-dicom library. The request is sendasync but the response is inside of a event delegate. My sample code sends a request (Find…
William
  • 1,375
  • 12
  • 27
2
votes
1 answer

Fo-Dicom, how I get all tags values?

Does anyone knows how to get all tags values using Fo-Dicom? I'm trying to display all tags in a window at once but I can't find a method to traverse through every tag! Thanks,
Matimont
  • 739
  • 3
  • 14
  • 33