@ahojnnes : I know the masking already but I think it won't come handy since we need to perform the `border_keypoints_filtering` differently for all the scales https://github.com/scikit-image/scikit-image/pull/668/files#L3R218 . Please let me know if this can be improved.