# Revision history [back]

### How to use Gabor Filter using Opencv Java API

i want to use Gabor filter usin gopencv with java API. i referred to the docs, and it is as follows:

getGaborKernel

 public static Mat getGaborKernel(Size ksize,
double sigma,
double theta,
double lambd,
double gamma,
double psi,
int ktype)


my problem is that i do not know how to specify the parameters, for an exampel, the Size, should it be the size of the image or what?

please provided brief explanation concerning how to use the parameters.