Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Histogram normalisation fails on RGB images #262

Closed
stian-johnsen opened this issue Oct 26, 2018 · 0 comments
Closed

Histogram normalisation fails on RGB images #262

stian-johnsen opened this issue Oct 26, 2018 · 0 comments

Comments

@stian-johnsen
Copy link
Collaborator

As of dev-branch commit a0eab6e:
The file reader correctly recognises the channels of an RGB image as distinct modalities. However, when enabling histogram normalisation via "normalisation = True" in the network section of the model configuration file, an exception is thrown because the histogram normalisation code incorrectly expects unimodal data.
Apologies, the exception stacktrace could not be attached, but to reproduce: load any RGB bitmap data set and set "normalisation = True" in the config file.

tomvars pushed a commit to tomvars/NiftyNet that referenced this issue Oct 27, 2018
        Additional arguments are added when calling `self.net`
        in classification, segmentation, regression applications
        to facilitate `keep_prob` network argument.
        Network's should be modified to have the
        `layer_op(a, b, c, **unused_kwargs)` signature
        to tolerate the irrelevant arguments.
tomvars pushed a commit to tomvars/NiftyNet that referenced this issue Oct 27, 2018
…h-option-for-stochastic' into 'dev'

Resolve "Make dropout default to deterministic inference with option for stochastic"

Closes NifTK#242 and NifTK#262

See merge request CMIC/NiftyNet!261
@wyli wyli closed this as completed in 4bd3ae8 May 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant