Wrong behavior in mergeSeries
- Dominant language
- JavaScript
- Stars
- 745
- Forks
- 212
- PR merge metrics
- No merged PRs in 30d
Description
### Description
I have a CT series with 67 frames.
First frame in series

is in axial projection and shows how slices was made by machine (each ~horizontal line on this picture equal to one frame in series).
All other frames are in coronal projection.
Size of info frame is smaller then all other frames, so: packTo8Bits() crushes with:
> TypeError: Cannot read property 'pixelData' of undefined
#### Files
[broken series - info frame.zip](https://github.com/FNNDSC/ami/files/1902829/broken.series.-.info.frame.zip)
[broken series - normal frame.zip](https://github.com/FNNDSC/ami/files/1902830/broken.series.-.normal.frame.zip)
#### Expected Results
These frames shouldn't be merged into one stack, because their frame.rows and frame.columns are different. DICOM tag (0008,0008) ImageType is also different.
### Versions
- AMI: v0.0.23dev
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.