Questions tagged [fo-dicom]

0

votes
1

answer
8

Views

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, though the saving is successful, when I try to open the...
Pona
2

votes
1

answer
197

Views

Manipulating and Converting PixelData of CT Image with fo-dicom in C#

For some tests I'm trying to manipulate the PixelData element of a CT image stored in dicom format and write it back in the file with Fellow Oak Dicom in C#. After some research I found out that the matrix I want to deal with is in the Buffer of PixelData stored in a byte-array. So I wrote following...
Booma
2

votes
1

answer
48

Views

Getting “DicomTag doesn't support values” when trying to obtain DicomDataset

After upgrading to fo-dicom 4.0, I started to get a DicomDataException: 'DicomTag doesn't support values' when trying to obtain a DicomDataset from a DICOMDIR file. Code is as follows: var dicomDirectory = await DicomDirectory.OpenAsync(dicomdirPath); foreach (var patientRecord in dicomDirectory.Roo...
Pona
1

votes
2

answer
325

Views

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 matters. I read on wikipedia that there are specific p...
TCulos
3

votes
3

answer
808

Views

Calculate window width and window center for a bitmap

I'm trying to implement a dicom viewer. For dicom file I can set window width and window center via fo-dicom framework. But sometimes I need set the parameters for a bitmap. I have found how to can do it, but it doesn't work right. private Bitmap setWinWidthAndCenter(Bitmap bmp) { int center = (int...
dremerDT
2

votes
1

answer
2.1k

Views

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
2

votes
2

answer
180

Views

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 Milliseconds, Because 33 Milliseconds is time between two fram...
Nilesh Wagh
3

votes
1

answer
457

Views

Storage Commitment with fo-dicom

I am trying to implement a storage commitment with FO-DICOM framework, but with no result. I am able to create the N-ACTION request. I am able to receive the N-ACTION response. But I don't know how to receive the EVENTREPORT. Anyone can help me and address me to the right way? private DicomStatus _r...
Ghini Antonio
2

votes
1

answer
294

Views

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 new dicom image by using DicomImage object from F...
komarek
1

votes
2

answer
231

Views

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 displays in a PictureBox: public partial class TestFoDico...
Alex Konnen
1

votes
1

answer
156

Views

How to load Dicom image from server (path contains https://)

How to load Dicom image from server (path contains https://) Am using fo-Diocm library. var image = new DicomImage(filePath); if filePath is from local directory its working fine. if filePath is from server (like https://example.com/filepath.dcm), its throwing 'Dicom.DicomFileException' saying that...
Shawn
2

votes
2

answer
898

Views

How to Insert/Update a Patient into a DICOM WorkList RIS?

I know how to find a patient in a DICOM RIS but how to insert/update a patient into it? I use fo-dicom and this is my code for find a Patient. How can I do to insert or update a Patient information? Thank you very mutch!!! public void FindFinished(DicomCFindRequest rq, DicomCFindResponse rp) { if (r...
Marcello Colucci
3

votes
2

answer
3k

Views

Modality work list - Which items are returned for C-FIND request of a sequence?

My question is a really basic question. Consider to query a modality work list to get some work items by a C-FIND query. Consider using a sequence (SQ) as Return Key attribute for the C-FIND query, for example: [0040,0100] (Scheduled Procedure Step) and universal matching. What should I expect in th...
Ghini Antonio
2

votes
0

answer
552

Views

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 Study), gets a response and spawns another request (Find Se...
William
6

votes
2

answer
3.8k

Views

Fellow Oak DICOM - changing image window level

I am not an experienced programmer, just need to add a DICOM viewer to my VS2010 project. I can display the image in Windows Forms, however can't figure out how to change the window center and width. Here is my script: DicomImage image = new DicomImage(_filename); int maxV = image.NumberOfFrames;...
hncl
2

votes
1

answer
262

Views

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 string value shown in VS debugging mode is "-35//35" and...
Booma