FNNDSC / FNNDSC/ami

[bug] Shifted segmentation and image

Open
#369 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
745
Forks
212
PR merge metrics
No merged PRs in 30d

Description

### Description
The aim is to **display a brain segmentation overlapped on a T1 MRI image** (both Nifti) using AMI.
The problem is that the **brain segmentation appears shifted from the T1**.
However, when I load these images with Papaya web viewer, FreeView or MRView, everything is properly registered.

#### Live Demo
You can find a minimal live example here (a modified version of the example _viewers_labelmap_):
https://codesandbox.io/s/mqx57mwzlp

#### Steps to Reproduce
Please load the example with Google Chrome, I think its not working with Mozilla Firefox.
Just wait for the images to be loaded and displayed.

#### Expected Results
Image properly registered, loaded with the Papaya web viewer.
![papaya_viewer](https://user-images.githubusercontent.com/47025409/51738053-7dd3fb00-208e-11e9-87a3-fc0d41d1615a.png)

#### Actual Results
Image badly registered, loaded with AMI.js (code example given just above)
![amijs_viewer](https://user-images.githubusercontent.com/47025409/51738094-947a5200-208e-11e9-836d-20c9305fec84.png)

### Browsers Affected
- [ ] All
- [X] Chrome
- [X] Firefox
- [ ] Edge
- [ ] Safari 9
- [ ] Safari 8
- [ ] IE 11

### Versions
- AMI: v0.22.0
- THREEJS: v0.92.23

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.