-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git HEAD bug: register can't display mask file after it has been edited by Display #20
Comments
Also present in earlier versions. |
@gdevenyi I have investigated this a little - with the mask file I am using, here's what happens. The original mask has the real range 0-1, but when Display saves a label image it sets the real range to the total number of labels possible in that image, so the range is changed to 0-255. What I see is that if I then load the mask file in register, it is possible to see the mask but only if I turn the uppermost intensity down to something close to one. Arguably, Display should save labels using only the true range, so that a 0-1 image would be saved as a 0-1 image. |
Ah - this has been annoying for a few decades :-) People create a binary
mask in Display, load it in register, and think something has eaten their
labels.
I'd definitely say that Display should save with a correct real range (as
all other MINC tools do, no)?
…-- A
On Tue, Feb 21, 2017 at 8:53 PM, Robert D Vincent ***@***.***> wrote:
@gdevenyi <https://github.com/gdevenyi> I have investigated this a little
- with the mask file I am using, here's what happens. The original mask has
the real range 0-1, but when Display saves a label image it sets the real
range to the total number of labels possible in that image, so the range is
changed to 0-255. What I see is that if I then load the mask file in
register, it is possible to see the mask but only if I turn the uppermost
intensity down to something close to one.
Arguably, Display should save labels using only the true range, so that a
0-1 image would be saved as a 0-1 image.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#20 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA_r-JuwK_vfzTlo7Ah7ECP6Cfpa3sKmks5re5UBgaJpZM4MCF9h>
.
|
Yes, I agree that this should be fixed. I'm looking into it. |
@zijdenbos @gdevenyi See develop branch of Display, which should now resolve this issue. |
Before:
Can see mask and file, standard register operation
Steps to reproduce
Register shows a black space where the mask should be, no adjustment of intensity can make it show.
The text was updated successfully, but these errors were encountered: