Convolves each band of an image with the given kernel. Args: kernel: The kernel to convolve with. Returns: An ee.Image.
(self, kernel: _arg_types.Kernel)
| 1531 | return apifunction.ApiFunction.call_('Image.constant', value) |
| 1532 | |
| 1533 | def convolve(self, kernel: _arg_types.Kernel) -> Image: |
| 1534 | """Convolves each band of an image with the given kernel. |
| 1535 | |
| 1536 | Args: |
| 1537 | kernel: The kernel to convolve with. |
| 1538 | |
| 1539 | Returns: |
| 1540 | An ee.Image. |
| 1541 | """ |
| 1542 | |
| 1543 | return apifunction.ApiFunction.call_( |
| 1544 | self.name() + '.convolve', self, kernel |
| 1545 | ) |
| 1546 | |
| 1547 | # NOTE: Image.copyProperties overrides Element.copyProperties. |
| 1548 | # NOTE: source is marked as optional in the API, but is required for users. |