1 //
2 //  PRGrayscaleFilter.h
3 //  PRICE
4 //
5 //  Created by Riccardo Mottola on Mon Dec 23 2002.
6 //  Copyright (c) 2002-2008 Carduus. All rights reserved.
7 //
8 // This application is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
9 // This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
10 
11 
12 #import <AppKit/AppKit.h>
13 #import "PRFilter.h"
14 
15 #define METHOD_AVERAGE   1
16 #define METHOD_LUMINANCE 2
17 
18 @interface PRGrayscaleFilter : PRFilter
19 {
20 
21 }
22 - (PRImage *)filterImage:(PRImage *)srcImage :(int)method;
23 
24 @end
25