AlizaMedicalImaging / AlizaMS

DICOM Viewer
GNU General Public License v3.0
249 stars 42 forks source link

Persistence while playing 4D movies - Feature Requests #15

Open crcrewso opened 2 years ago

crcrewso commented 2 years ago
  1. It would be a huge quality of life improvement if, as you're watching a 4D movie play, that a ruler set up on one static phase stuck around as the movie played
  2. An extension of this would be to allow for boxes instead of rulers, that would measure both the x and y measurements, again persistent as the movie plays
  3. Allow Crosshair persistence and scrolling when playing 4D movies
  4. This isn't persistence but 4D related. The sort order of the linked image series in the upper right hand index area doesn't sort them by phase order. for 4D datasets could this be fixed?
issakomi commented 2 years ago

Thank you for the suggestions. 1-2. I have to admit that measurement is basic, probably I shall do it more advanced and consider your suggestions.

  1. Not sure about this point. Scrolling works, cross-hair (MPR view) has limitation (during 3D+t animation), slices can be changed with scrollbars.
  2. There is an attempt to sort by Acquisition Time, if possible. It is a little bit difficult, the 4th dimension may be not only time, whatever else, diffusion, contrast, etc. It is applicable to sequential or interleaved classic series, enhanced should work (dimension organization). If you could provide sample data-set I'll try to look what could be done. Kind Regards.
crcrewso commented 2 years ago

4D scan of Quasar Phantom

I hope this dataset works as a starting example.

issakomi commented 2 years ago

Thank you,

issakomi commented 2 years ago

I don't see an issue with sorting. After 'play' button on 3D animation panel was pressed -- there is an attempt to sort by acquisition time if possible, if not -- there are other attempts to sort. It may work or not. In particular case sorting by acquisition time works well. The order of images on the right side doesn't matter. See video:

https://youtu.be/4sy4DqP8BSE

I have checked it again and printed the order of animation.

issakomi commented 2 years ago

The order is:

Acq. date Acq. time Phase
2021.09.15 16:24:23.241000 20%
2021.09.15 16:24:23.641000 30%
2021.09.15 16:24:24.041000 40%
2021.09.15 16:24:24.441000 50%
2021.09.15 16:24:24.841000 60%
2021.09.15 16:24:25.241000 70%
2021.09.15 16:24:25.641000 80%
2021.09.15 16:24:26.041000 90%
2021.09.15 16:24:26.441000 0%
2021.09.15 16:24:26.841000 10%

I don't see any tag to sort by phase %, it is mentioned in series description and image comment, maybe somewhere in private Siemens CSA binary data, but i can not rely on this. Maybe i don't see some attribute, let me know if you see one.

About sorting in the right side widget -- I will not change it, there is sorting by image id, how images are loaded or deleted is not known and doesn't matter.

issakomi commented 2 years ago

In fact every slice in series has own acquisition date/time, i take the first slice after IPP/IOP sorting, it is not necessary the earliest, but it is consistent, AFAIK. I shall check later, maybe there is some improvement possible, e.g. to take the earliest one, i don't think it can change the order, but i shall look at it.