MCPcopy
hub / github.com/google/earthengine-api / convolve

Method convolve

python/ee/image.py:1533–1545  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.

Callers 2

test_convolveMethod · 0.80

Calls 2

nameMethod · 0.95
call_Method · 0.80

Tested by 1

test_convolveMethod · 0.64