[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-26(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."]]],["The `selfMask()` method updates an image's mask. It uses the image's pixel values as the new mask, keeping only areas where the existing mask is non-zero. Areas where the image value is zero are removed, becoming invalid. The output image retains the input's metadata and footprint. The example demonstrates creating a land/water mask and then applying `selfMask()` to remove areas with a value of zero, representing water.\n"]]