Skip to content
Snippets Groups Projects

Add numpy-inspired functions

Merged Nicolas Narçon requested to merge new_functions into master

2 functions added:

  • all() : For only one image, this function checks that all bands of the image are True (i.e. !=0) and outputs a singleband boolean raster For several images, this function checks that all images are True (i.e. !=0) and outputs a boolean raster, with as many bands as the inputs
  • any() : For only one image, this function checks that at least one band of the image is True (i.e. !=0) and outputs a singleband boolean raster For several images, this function checks that at least one of the images is True (i.e. !=0) and outputs a boolean raster, with as many bands as the inputs

Merge request reports

Checking pipeline status.

Approval is optional

Merged by Nicolas NarçonNicolas Narçon 3 years ago (Jan 25, 2022 4:31pm UTC)

Merge details

  • Changes merged into master with 8a7dbf5f.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading