Repository navigation
Conversation
update docs and gallery to use rescale_to_*
now there is no rescaling of the data range for any of these functions remove preserve_range option from non_local_means (always preserve range)
remove rescale_as_float internal to difference_of_guassians update use of gaussian in gallery examples fix use of gaussian in binary_blobs fix use of gaussian in skimage.feature fix use of gaussian in active_contour_model
remove rescale_as_float from all edge filters
…o this internally
…cale_input utilities keep default of normalization in a number of places where output is dependent on scale specifically: corner_fast, structure_tensor, ORB, CENSURE
required applying normalization within the visualization code
this function is insensitive to absolute scale
|
Hey, there hasn't been any activity on this pull request for more than 180 days. For now, we have marked it as "dormant" until there is some new activity. You are welcome to reach out to people by mentioning them here or on our forum if you need more feedback! Otherwise, we would be thankful for a short update, for example if you would like to continue or if you are okay with someone else doing so. In any case, thank you for your contributions so far! |
|
We have changed the base branch for this PR from the Summary - what this means for your PRYou can continue to work on your PR, now based on Once we've merged your PR into the In addition - our automated script detected that your branch had merge conflicts with the pre-Megamove branch. Please make sure to merge in the Read on for the Megamove rationale, and more detailed instructions. DetailsRationaleWe've changed the base branch to make it easier and smoother to continue to work on your PR, while we work through a rather large change in the directory structure of the repository - a change that we have called Megamove. See the Megamove explanation issue for more detail. Changing the base branch means you do not see merge conflicts related to the Megamove change, and can continue to work with the repository in its original state, without worrying about porting those changes across to the new post-Megamove structure. As you'll see in the linked issue, you can continue to work on your PR as before, and you can continue to use the Github GUI to "Update branch" - this updates from the new To emphasize again, do not try and merge the scikit-image When we've approved your PR, we'll merge into the Any questions, please reply here. |
Description
NOTE: the first commit here is #6318, so this will be easier to review after that one is merged
A subset of functions have a
preserve_rangekeyword argument that controls whether or not images with integer dtypes get rescaled to a normalized range ([0, 1] for unsigned, [-1, 1] for signed). We have discussed removing this keyword forskimage2and defaulting to not rescaling inputs except where necessary (see #5281 (comment), #5439). Another older discussion about defaulting to preserve_range=True: #1616 (comment)In addition this PR removes internal rescaling via
rescale_to_floatin many places where it currently exists. This includes all ofskimage.filters,skimage.restorationandskimage.transforms. However, there are a number of remaining cases still to address in follow-up PRs (primarily some of the cases inskimage.feature,skimage.color,skimage.exposureandskimage.segmentationas discussed in #3373 (comment)).Checklist
./doc/examples(new features only)./benchmarks, if your changes aren't covered by anexisting benchmark
For reviewers
later.
__init__.py.doc/release/release_dev.rst.example, to backport to v0.19.x after merging, add the following in a PR
comment:
@meeseeksdev backport to v0.19.xrun-benchmarklabel. To rerun, the labelcan be removed and then added again. The benchmark output can be checked in
the "Actions" tab.