NPP Morphological operations

Hi, I don’t understand the difference beteween erode/dilate and grayerode/graydilate functions.
What is, for example, the difference between nppiErodeBorder_8u_C1R and nppiGrayErodeBorder_8u_C1R?
thank you very much

from here:

Erosion computes the output pixel as the minimum pixel value of the pixels under the mask.

Pixels who’s corresponding mask values are zero do not participate in the minimum search. For gray scale erosion the mask contains signed mask values which are added to the corresponding source image sample value before determining the minimum value after clamping.

If any portion of the mask overlaps the source image boundary the requested border type operation is applied to all mask pixels which fall outside of the source image.

Currently only the NPP_BORDER_REPLICATE border type operation is supported.

Dear Robert,
thank you very much. I couldn’t find this in the documentation

Ciro