fo-dicom | Fellow Oak DICOM for NET, NET Core, Universal Windows, Android, iOS, Mono and Unity
kandi X-RAY | fo-dicom Summary
kandi X-RAY | fo-dicom Summary
Fellow Oak DICOM for .NET, .NET Core, Universal Windows, Android, iOS, Mono and Unity
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of fo-dicom
fo-dicom Key Features
fo-dicom Examples and Code Snippets
Community Discussions
Trending Discussions on fo-dicom
QUESTION
Am not experienced in C
stacks, but am trying to build this DICOM project, it seems it's depending on a 'no-longer' existing project, so I tried to compile mdcm instead to generate the DLLs.
the generated dlls produce DICOM
and Nlog
, NLog didn't seem to work with the target project, missing classes etc ... when I installed Nlog version 1.0
using Nuget package manager
the missing classes issues got solved but now I get the below error message.
what are possible solution to this ?
...ANSWER
Answered 2022-Feb-25 at 14:13It means a dependency references a version of a package that is greater than the one you have installed into your app but your app reference will "win" since it is a direct reference, hence the error.
To fix it, you should install/upgrade to version 2 of NLog directly into your app although there might be build/runtime issues with that depending on the changes made in v2.
QUESTION
I have a folder with files, but not all of them are DICOM files and I need to recognize which one is a DICOM.
My first decision was to create foreach loop where I am checking Extension:
...ANSWER
Answered 2021-Oct-13 at 09:52You can just skip the first 128 bytes of the file and read the next 4 bytes and compare them with the ASCII codes for "DICM", for example:
QUESTION
I add dicom files using the AddFile(dicomFile,name) method but the number of frames tag does not appear.
...ANSWER
Answered 2021-Oct-11 at 14:23When building a DICOMDIR with fo-dicom by iterative calling AddFile
for each file, then you will get a DICOMDIR with all the required DicomTags. But of course there are a lot of tags that are optional and you can add them yourself.
The method AddFile
returns an instance of type DicomDirectoryEntry
, which gives you a reference to the patient record entry, the study record entry, the series record entry and the instance record entry. There you can add as many additional optional data that you wish. In your case it would look like
QUESTION
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.
...ANSWER
Answered 2021-Jun-11 at 07:19It's very easy to do. A WorklistQuery is a Dataset, that contains some DicomTags that are queried. Some of those DicomTags may contain values, then the Worklist Server has to use those values as filters.
So basically a WorklistQuery is a normal DicomDataset, that you can extend and manipulate. The helper-methods DicomCFindRequest.CreateWorklistQuery()
is a helper-method that creates common used datasets. But you can then update/change this DicomDataset before sending to the server.
QUESTION
I am using fo-Dicom to access image streams. I have unit tests that call a method to load test DICOM files. To automate the process in the build pipeline, I switched from using the image path to loading a resource. I now load my test DICOM file like so:
...ANSWER
Answered 2021-May-19 at 15:48The solution was to fully read the stream when opening the DICOM file.
QUESTION
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 following code so far:
...ANSWER
Answered 2021-Mar-30 at 15:56In case someone else runs into this problem, the issue was the original code was in .NET Framework, but the new code was in .NET Core. In Core, the ImageManager does not use the WindowsImageManager by default, so you need to set it manually.
QUESTION
I'm developing a web application using .Net Core and leveraging Azure services (Virtual Machine Windows Server 2016, Database PostgreSQL and Azure Key Vault). Below is my .csproj file:
...ANSWER
Answered 2021-Mar-17 at 15:03I solved the problem by installing the Azure CLI and logging in as described here: https://docs.microsoft.com/cli/azure/install-azure-cli-windows?tabs=azure-cli
QUESTION
I am developing a Modality Worklist client using fo-dicom library.
Following thing are not clear to me related to [Referenced SOP Instance UID (0008,1155)
].
- What is Referenced SOP Instance UID?
- Is Referenced SOP Instance UID same for entire series?
- I have seen 2 Referenced SOP Class UIDs in some sample images; Why?
Scenario 1:
I'm trying to retrieve Modality work list to create some image series for a requested study. I have to create a captured image sequence to send the "Completed" notification to the MPPS server. The fo-dicom sample for modality work list includes Referenced SOP Class/Instance UID when creating the completed image sequence to send "Competed" notification to MPPS. My question is what is this Referenced SOP Class/Instance UID?
Scenario 2:
In addition to that, I found some sample DICOM file series and each image contents Referenced SOP Class/Instance UID twice and same to a series.
Are these Referenced SOP Class/Instance UID same or different?
Below is a sample DICOM file contents Referenced SOP Class/Instance UID two times:
...ANSWER
Answered 2020-Mar-24 at 11:24First of all:
- The Referenced SOP Class/Instance UID are always items of a sequence, and the sequence defines the meaning of the reference.
- The Referenced Image Sequence does not refer to Modality Worklist, it refers to images and other objects only.
The sequence is intended to accommodate other objects which are relevant for the interpretation of a given image. In DICOM: "A Sequence that references other images significantly related to this image."
These may be:
other images which are related to the current image (e.g. the ID of the other plane in a Bi-Plane acquisition)
other images on which the calculation of the current image is based
the second image in case the current image is part of a stereo pair
Any particular meaning of the reference may be constrained or enforced by the particular type of image you are creating. This information can be obtained by following the references in the IOD (Information Object Definition as defined in DICOM Part 3).
For most images, the referenced image sequence is an optional (Type 3) or "may-be empty" (Type 2) attribute which means that if there is no significant relation to other images, it may be omitted.
QUESTION
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 having to explicitly reject it in the OnCStoreRequest()
method?
What I have so far:
...ANSWER
Answered 2020-Feb-04 at 06:38You can control this behavior on ASSOCIATION level. Validate the Abstract Syntax proposed before sending ASSOCIATE_ACCEPT.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install fo-dicom
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page