Curves filter

Signed-off-by: Mikhail Durnev <Mikhail_Durnev@mentor.com>