fix(core): Assertion failed in ExDicomSegmentation
Description
Remove assertion when slice index field doesn't exists in a data::Image.
getSliceIndex
returns a std::optional that needs to be tested to know if field is present or not.
Closes #854 (closed)
How to test it?
- launch tests
- Test ExDicomSegmentation to see if it resolves the crash
- Test other application that displays image and moves slices.