Add new templates to generate classes which inherit from OpenCVFilter

Change-Id: I2f730403022516a36a6d791c6c4612aca06d117b