Returns 1 if both values are non-zero; otherwise 0. Returns 1 if and only if both values are non-zero for each matched pair of bands in image1 and image2. If either image1 or image2 has only 1 band, then it is used against all the bands in the other image. If the images have the sa
(self, image2: _arg_types.Image)
| 748 | ) |
| 749 | |
| 750 | def And(self, image2: _arg_types.Image) -> Image: |
| 751 | """Returns 1 if both values are non-zero; otherwise 0. |
| 752 | |
| 753 | Returns 1 if and only if both values are non-zero for each matched pair of |
| 754 | bands in image1 and image2. |
| 755 | |
| 756 | If either image1 or image2 has only 1 band, then it is used against all the |
| 757 | bands in the other image. If the images have the same number of bands, but |
| 758 | not the same names, they're used pairwise in the natural order. The output |
| 759 | bands are named for the longer of the two inputs, or if they're equal in |
| 760 | length, in image1's order. The type of the output pixels is boolean. |
| 761 | |
| 762 | Args: |
| 763 | image2: The image from which the right operand bands are taken. |
| 764 | |
| 765 | Returns: |
| 766 | An ee.Image. |
| 767 | """ |
| 768 | |
| 769 | return apifunction.ApiFunction.call_(self.name() + '.and', self, image2) |
| 770 | |
| 771 | def arrayAccum( |
| 772 | self, |