gives the morphological erosion of img with respect to a range-r square.
gives the morphological erosion of list with respect to a range-r square.
gives the morphological erosion of mem with respect to a range-r square.
Details and Options
- The CUDALink application must be loaded using Needs["CUDALink`"].
- CUDAErosion works with binary, grayscale, and other images.
- CUDAErosion works with CUDAMemory and lists.
- CUDAErosion[image,r] is equivalent to Erosion[image,r].
- If multiple image channels are present, CUDADilation operates on each of them separately.
- The following options can be given:
"Device" Automatic device used for CUDA computation Padding "Fixed" value used on boundary "OutputMemory" None CUDAMemory where output is stored
Basic Examples (6)
Using CUDAMemory, one can speed up computation by reducing the amount of memory operations. This loads memory onto the CPU:
Wolfram Research (2010), CUDAErosion, Wolfram Language function, https://reference.wolfram.com/language/CUDALink/ref/CUDAErosion.html.
Wolfram Language. 2010. "CUDAErosion." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/CUDALink/ref/CUDAErosion.html.
Wolfram Language. (2010). CUDAErosion. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/CUDALink/ref/CUDAErosion.html