Add scharr gradient filter.
Add const utilities.