developer
2023-05-20 e12c7b4c22df631ebdcd16b2f98fbef8f738f92f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#import "GPUImageFilterGroup.h"
 
@class GPUImageErosionFilter;
@class GPUImageDilationFilter;
 
// A filter that first performs an erosion on the red channel of an image, followed by a dilation of the same radius. 
// This helps to filter out smaller bright elements.
 
@interface GPUImageOpeningFilter : GPUImageFilterGroup
{
    GPUImageErosionFilter *erosionFilter;
    GPUImageDilationFilter *dilationFilter;
}
 
@property(readwrite, nonatomic) CGFloat verticalTexelSpacing, horizontalTexelSpacing;
 
- (id)initWithRadius:(NSUInteger)radius;
 
@end