Skip to content

Commit cf86981

Browse files
authored
fix: HistogramNormalized doc (#8543)
### Description The docstring for `min` parameter for `HistogramNormalized` wrongly shows the default value to be 255 when the correct default value is 0. ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [ ] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [ ] New tests added to cover the changes. - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [ ] In-line docstrings updated. - [x] Documentation updated, tested `make html` command in the `docs/` folder. Signed-off-by: Gautham Krishnan <[email protected]>
1 parent cafc1fe commit cf86981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monai/transforms/intensity/dictionary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1836,7 +1836,7 @@ class HistogramNormalized(MapTransform):
18361836
See also: :py:class:`monai.transforms.compose.MapTransform`
18371837
num_bins: number of the bins to use in histogram, default to `256`. for more details:
18381838
https://numpy.org/doc/stable/reference/generated/numpy.histogram.html.
1839-
min: the min value to normalize input image, default to `255`.
1839+
min: the min value to normalize input image, default to `0`.
18401840
max: the max value to normalize input image, default to `255`.
18411841
mask: if provided, must be ndarray of bools or 0s and 1s, and same shape as `image`.
18421842
only points at which `mask==True` are used for the equalization.

0 commit comments

Comments
 (0)