Weasis icon indicating copy to clipboard operation
Weasis copied to clipboard

Dicomizer InstanceNumber

Open mafi85 opened this issue 2 years ago • 6 comments

Describe the bug When I import a multiple jpg or tif series the dicomizer doesn't create a valid instance number that the PACS can view it in a correct way.

To Reproduce

  1. Go to dicomizer and load 3 jpg images into one series.
  2. Click on publish
  3. Check the DICOM Header at the PACS or SCP

Expected behavior From my point of view the dicomizer should count the images into a series with an instance number. If I activate the instance number dicomtag into the cfg file, its visible but there is no number in there.

Desktop (please complete the following information):

  • OS: Windows 10
  • Weasis Version 4.0.2

Screenshots Bildschirm­foto 2022-11-30 um 19 39 09

mafi85 avatar Nov 30 '22 18:11 mafi85

This field is not created because I don't see how to fill it automatically.

Instance Number is not a mandatory field. In Weasis, you can change the sorting (for example by Acquisition Time)

nroduit avatar Dec 01 '22 08:12 nroduit

InstanceNumber could be the instance of any imported image which comes by dragndrop. So if its an internal counting 1 - x its should work.

But you are right its possible to change the sorting to content time and its fine. Is it possible to set it as default for my modality type?

mafi85 avatar Dec 01 '22 11:12 mafi85

do you think there is any way to integrate an instance number count for the dicomizer?

mafi85 avatar Dec 07 '22 07:12 mafi85

Without a clear specification, I won't add this because it will probably cause more problems than it solves.

nroduit avatar Dec 07 '22 07:12 nroduit

The dicom instance number Tag | (0020,0013) identify the image in a series. If you archive a series with the dicomizer you need this instance number to sort the images into the Weasis Viewer and all other dicom Viewers. I know that you can change the sorting by content time but actually not as default. Additionally this feature is not available for all dicomviewers into the field.

If you check an MR or CT Series you will also find this number into any image to take care of the correct sorting.

Into the dicomizer, you can do this by import number for this actual series. First Image (DragNDrop) into the Series Number 1 second Number 2 and so on.

Im wondering that this was not reported up to now, because if you maybe dicomize 3 or 4 US JPG Images it will be archived unsorted into one series. If you review this images, Image 1 is 2 and so on.

-- | -- Required, Empty if Unknown (2) InstanceNumber 1 Integer String (IS) 1241

A number that identifies this image.

Note

This Attribute was named Image Number in earlier versions of this Standard.

Tag (0020,0013) Type Required, Empty if Unknown (2) Keyword InstanceNumber Value Multiplicity 1 [Value Representation](http://dicom.nema.org/medical/dicom/current/output/chtml/part05/sect_6.2.html) Integer String (IS) Example Values 1 2 41 A number that identifies this image.

Note

This Attribute was named Image Number in earlier versions of this Standard.

mafi85 avatar Dec 07 '22 08:12 mafi85

For CT and MR we have a volume and we assign a number from the first to the last slide. It is deterministic and there is only one possible result.

For the dicomizer there is nothing deterministic and the proposal in relation to the import sequence does not seem to be very suitable because this order is not visible by the user and cannot be modified. The images are sorted by their file name. Moreover, it is possible to delete and move the images of a series.

I think that a tool is needed at the level of the series to generate these numbers according to a criterion (date, file name...).

Unfortunately, I can't respond to all requests. Currently, some major features with a high priority must be implemented and the resources on this project are very limited. We need contributors for this kind of feature.

nroduit avatar Dec 08 '22 07:12 nroduit