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

CFind fails on Study level - SOP Class not supported or No accepted presentation context found for abstract syntax

The application tries to do a CFind on patient level, get the studies, for a study, get the series and in the end, the images. The code is working when querying two different PACS implementation but fails on a third on study level. The part of the…
Hans
  • 269
  • 4
  • 14
6
votes
2 answers

.NET CORE ALINK : warning AL1073: Referenced assembly 'mscorlib.dll' targets a different processor

I am using VS2019 and .NET CORE 2.2 I am getting the warning AL1073 ALINK warning AL1073: Referenced assembly 'mscorlib.dll' targets a different processor I know this is close to the question as: ALINK : warning AL1073: Referenced assembly…
shelbypereira
  • 2,097
  • 3
  • 27
  • 50
6
votes
2 answers

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…
hncl
  • 2,295
  • 7
  • 63
  • 129
5
votes
2 answers

How to determine if single frame DICOM is actually slice of MRI?

I'm writing an application to count medical records. The application will count pages and divide it by 20 to determine the number of films needed to print the records for the client. I have a closet case where when MRI's are scanned shots…
bumble_bee_tuna
  • 3,533
  • 7
  • 43
  • 83
4
votes
2 answers

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)…
Ghini Antonio
  • 2,992
  • 2
  • 25
  • 48
3
votes
2 answers

How can I remove or update a private tag using fo-DICOM?

I have a lot of DICOM data sets that have a private tag in them that contain information that I do not want to keep in the header. The value for this tag changes for each dataset, so I do not know the value. Here is an example of the PRIVATE CREATOR…
franklinCat
  • 103
  • 7
3
votes
1 answer

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…
Pona
  • 167
  • 1
  • 17
3
votes
1 answer

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…
Booma
  • 261
  • 6
  • 19
3
votes
1 answer

Creating Dicom Sequences with fo-dicom

After extracting information out of a radiation therapy plan stored as a DICOM-File, my issue is now a different one. I know, that I can add or update items in an existing plan with…
Booma
  • 261
  • 6
  • 19
3
votes
1 answer

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…
Ghini Antonio
  • 2,992
  • 2
  • 25
  • 48
3
votes
2 answers

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…
3
votes
3 answers

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…
dremerDT
  • 96
  • 3
  • 11
2
votes
1 answer

Fo-dicom: How to add "empty, if unknown" integer string type 2 attribute

There is a tag which is of type 2 ("required, empty if unknown"), with value representation Integer String which I would like to leave empty. I have tried creating the attribute like so: var attribute = new DicomIntegerString(DicomTag.SeriesNumber,…
Ynv
  • 1,824
  • 3
  • 20
  • 29
2
votes
1 answer

Can I query the MWL (Modality Worklist) by accession number in FO-DICOM?

How can I query the MWL using FO-DICOM by accession number? When I call the CreateWorklistQuery method accession number is not one of the parameters i can use.
Mike Murphy
  • 1,287
  • 1
  • 12
  • 23
2
votes
1 answer

fo-dicom C-Move Query does not call CStoreRequestCallback

var client = new DicomClient(); var pcs = DicomPresentationContext.GetScpRolePresentationContextsFromStorageUids( DicomStorageCategory.Image, DicomTransferSyntax.ExplicitVRLittleEndian, …
TsunamiCoder
  • 120
  • 1
  • 12
1
2 3 4 5 6 7