1 // 2 // PRCustTraceEdges.h 3 // PRICE 4 // 5 // Created by Riccardo Mottola on Fri Mar 19 2004. 6 // Copyright (c) 2004-2011 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 #import <AppKit/AppKit.h> 12 #import "PRProgressAction.h" 13 #import "PRImage.h" 14 #import "PRMedian.h" 15 16 @interface PRCustTraceEdges : PRProgressAction 17 { 18 19 } 20 21 - (PRImage *)edgeImage :(PRImage *)srcImage :(int)filterType :(float)thresholdLevel :(BOOL)useZeroCross :(BOOL)enable1 :(enum medianForms)form1 :(int)size1 :(BOOL)separable1 :(BOOL)enable2 :(enum medianForms)form2 :(int)size2 :(BOOL)separable2 :(BOOL) enable3 :(enum medianForms)form3 :(int)size3 :(BOOL)separable3 :(PRCProgress *)prPanel; 22 23 @end 24