I want to down sample image, but i don't want to use gaussian kernel. Is there any opencv function for that purpose?
UPDATE:i have an image with size m by n. i want result image with size m/2 by n/2, such that:
result[i,j]=(
a*input[i*2,j*2]+
b*input[i*2+1,j*2]+
c*input[i*2,j*2+1]+
d*input[i*2+1,j*2+1]
)/e
how can i do that efficiently with opencv?