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
0
votes
1 answer

Error connecting PACS server Dicom.Network.DicomAssociationRejectedException: "[reason: CallingAENotRecognized]'

I'm very new to deal with DICOM, I was trying to get some patient related dicom file(s) from a public remote server: https://www.dicomserver.co.uk. using fo-dicom and it works fine, but when I switched to private server it shows me the error below…
Moataz Amer
  • 109
  • 2
  • 11
0
votes
1 answer

Not able to see Dicom Image on OHIF viewer

I am trying to integrate my own local server with OHIF viewer and it's sending a response to OHIF viewer till instances but it doesn't display images on Viewer and gives an error Error Occurred invalid response: no multipart mime type header I am…
cooldude
  • 63
  • 10
0
votes
1 answer

OHIF viewer not displaying DICOM images from my .net core server

I am currently working on a DICOM based web application, I have created my backend server using .net core and want to integrate my server with OHIF viewer. I read all the documentation of OHIF viewer and configured my default.js file and changed the…
cooldude
  • 63
  • 10
0
votes
2 answers

Data parsing and sending from DICOM image in .net core

I am currently working on a complete DICOM Web application based on .net core + Postgresql and OHIF viewer ( to render DICOM images). I've built a database with tables as Patient, Study, etc. and the attributes I am storing as PatientName,…
cooldude
  • 63
  • 10
0
votes
1 answer

How to dump a single dicom tag specified my user input

I am setting up a DICOM reader that I will be using to process CT scanner configurations. I am writing the application so that I can easily view DICOM either by dumping all tags or I would like to specify which tag I would like to look at. It is a…
0
votes
1 answer

Fo-dicom code compiling but not executing

I am trying following code to convert a dicom file to jpeg: using System; using System.IO; using System.Drawing; using Dicom.Imaging; class RnReadDicom{ public static void Main(string[] args){ string fileName = "33141578.dcm"; …
rnso
  • 23,686
  • 25
  • 112
  • 234
0
votes
0 answers

How to configure log4net appender for fo-dicom?

What's the problem? I cannot figure out how to set a proper file appender for logging fo-dicom request/response data. I want to log all debug-level data into text file, handled by standard RollingFileAppender configured at log4net.config file, but I…
baka1408
  • 433
  • 4
  • 21
0
votes
0 answers

When I use fo-dicom to update a DICOM tag the C# form changes size

I have a problem with fo-dicom in C# form. When I use fo-dicom to update a DICOM tag the form changes size and everything gets smaller. The problem appear when I use dataset.Add I created an example with only a simple form with a button, this is all…
dpoli
  • 1
  • 1
0
votes
1 answer

Fo-dicom How I can Call My Output.dcm file In Main

Im New In Fo-Dicom , Im Trying To Call My output.dcm file in Dicom Dump , Im Trying to add private tags using fo-dicom string filename = "output.dcm"; DicomDataset ds = new DicomDataset(); //Main dataset …
0
votes
1 answer

get uncompressed raw-pixel data in fo-dicom 1.x

I am in the process of developing a DICOM solution that needs to target .Net 4.0 and get access to the raw pixel data for annotation. As such, I am using the end-of-the-road tag to compile my program. I am working with a US Echo image from Philip…
user618886
  • 325
  • 6
  • 16
0
votes
1 answer

c# Lambda expression to VB.Net

I want to convert cfind.OnResponseReceived = (DicomCFindRequest rq, DicomCFindResponse rp) => { Console.WriteLine("Study UID: {0}", rp.Dataset.Get(DicomTag.StudyInstanceUID)); }; to VB.Net but, neither AddHandler…
klados
  • 706
  • 11
  • 33
0
votes
1 answer

(fo-dicom) How can I modify and save a DICOM file to a new directory?

I want to modify the header of a DICOM and set two tags. This works but then when I want to save it in a new file I get this Exception: NullReferenceException: Object reference not set to an instance of an…
timetosmile
  • 73
  • 1
  • 11
0
votes
1 answer

How can i add multiple rows in DICOM dataset?

How can i add multiple rows in DICOM dataset? Without using another DICOM dataset like List? dt = dac.ExecuteDataSet(dbCommand).Tables[0]; if (dt.Rows.Count > 0) { foreach (DataRow dr in dt.Rows) { DicomDataset _dataset = new…
0
votes
1 answer

fo-dicom, Get DicomTag RegionLocationMinX0 and PhysicalDeltaX

I used the following to retrieve the values of some dicom tags using fo-dicom: ulong imageMin_x = file.Dataset.Get< ulong >(DicomTag.RegionLocationMinX0); double delta_x = file.Dataset.Get< double >(DicomTag.PhysicalDeltaX); The values are both 0.…
Tom
  • 11
  • 2
0
votes
1 answer

Fellow Oak Dicom (fo-dicom) DicomDateRange not working properly

I'm struggling to make C-Find work with some Dicom servers when using the DicomDateRange parameter in C#. Basically I managed to make it work with the (freely available) Conquest Server using the code shown below, but I got no results when…