FNNDSC / FNNDSC/med2image

Co-ordinates are mismatch, when i convert from .nii to jpeg

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
205
Forks
57
PR merge metrics
No merged PRs in 30d

Description

Hi. I have file in .nii format which consist of 706 images (0-705). from this file i want to convert image number 115 from to jpeg. i tried using `med2image -i ABD_LYMPH_002_mask.nii -o input.jpg -s 115` which successfully converts into jpeg format. But actually in this 115 image there are two nodules and i know there locations. I see and verify them using `MITK`. I unable to save image in jpeg using MITK so i tried `med2image`. But when i check nodules in converted jpeg image. nodules are in wrong coordinates. I am sending you .nii file (in zip fromat please unzip it, because attachment not supported in .nii format)
[ABD_LYMPH_002_mask.nii.zip](https://github.com/FNNDSC/med2image/files/1508775/ABD_LYMPH_002_mask.nii.zip)

![input-slice115](https://user-images.githubusercontent.com/30615882/33303910-d67725a8-d42b-11e7-8168-653a11131589.jpg)
![screenshot from 2017-11-28 10-03-05](https://user-images.githubusercontent.com/30615882/33303968-20ab2a0c-d42c-11e7-8f95-687bfe858ed7.png)
![screenshot from 2017-11-28 10-02-17](https://user-images.githubusercontent.com/30615882/33303969-20d6fd62-d42c-11e7-9b00-8f66323a5905.png)

and nodule locations are (183,193) and (323,186). and also sending you snapshot from MITK and of converted image using med2image. Checking co-ordinate of noudules in jpeg file i got nodule in location (185,317) and (325,322) which is wrong. Please see the issue. in attachment after ABD_LYMPH_002_mask.nii.zip there is jpeg image and other two images i got from MITK

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.