Stay organized with collections
Save and categorize content based on your preferences.
Updates an image's mask at all positions where the existing mask is not zero using the value of the image as the new mask value. The output image retains the metadata and footprint of the input image.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 UTC."],[[["The `selfMask()` method updates an image's mask using its own pixel values, where existing mask values of zero remain masked."],["This effectively masks out areas where the image has a value of zero, making those pixels invalid."],["The output image retains the original metadata and footprint."],["`selfMask()` is commonly used with Boolean masks to isolate areas of interest based on specific pixel values."]]],[]]