FNNDSC / ami

AMI Medical Imaging (AMI) JS ToolKit
https://fnndsc.github.io/ami/#viewers_upload
MIT License
716 stars 213 forks source link

Help with WW and WC auto adjust #284

Open MuriloSchaefer opened 6 years ago

MuriloSchaefer commented 6 years ago

Hi,

I'm developing a tool for a local hospital, and when I use any of their study (anonymized sample: removed) the WW and WC starts with 204 and 127, respectively. But the volume doesn't appear (figure 1). I only render when I change the WW to a value between (0, 1] and WC with value 1 (figure 2).

(figure 1) image

(figure 2) image

I want to know if there is a way to solve this, or at least why this happen.

ps1 : Other studies from internet works properly, only the studies from this hospitals has this issue

ps2 : The hospital put all the info about the study in the data of the image (this broke the volume adding this white columns)

Thanks, Murilo Schaefer

MuriloSchaefer commented 6 years ago

I realised there is no way to anonymize this study whereas the hospital put the info inside the image. So I don't know how to send or anonymize it

NicolasRannou commented 6 years ago

@MuriloSchaefer does it work well if you look at it there: https://fnndsc.github.io/ami/#viewers_upload ?

NicolasRannou commented 6 years ago

Also can you check the min/max, window width, window center, slope and intercept from the stack object?

MuriloSchaefer commented 6 years ago

About your first question, yes it loads normal in this page https://fnndsc.github.io/ami/#viewers_upload

About the infos:

NicolasRannou commented 6 years ago

which version of AMI are you using? (npm, latest dev?)

MuriloSchaefer commented 6 years ago

I'm using the npm version (0.0.22 I believe)

NicolasRannou commented 6 years ago

That may be the problem, could you test the latest build from Github - dev branch?

MuriloSchaefer commented 6 years ago

Yes, I'll try this afternoon

MuriloSchaefer commented 6 years ago

Hi Nicolas,

I've tried with the latest build from dev branch, but nothing changed, still having this same issue.

Thanks, Schaefer

NicolasRannou commented 6 years ago

Is it a 1 channel or multi-channel (rgb) dataset?

RGB window level is not supported yet :/ https://github.com/FNNDSC/ami/issues/276

MuriloSchaefer commented 6 years ago

Hm, so this is the problem, it is an RGB channel.

Thanks, man.