使用SourceAFIS库的C#中的二进制平滑指纹图像过滤器不起作用
我正在开发指纹分析软件,我想做库中的二进制平滑过滤器 原始图像 需要的结果 但我并没有从下面的代码中得到相同的结果使用SourceAFIS库的C#中的二进制平滑指纹图像过滤器不起作用,c#,image-processing,filter,fingerprint,C#,Image Processing,Filter,Fingerprint,我正在开发指纹分析软件,我想做库中的二进制平滑过滤器 原始图像 需要的结果 但我并没有从下面的代码中得到相同的结果 DpiAdjuster.Adjust(this, 500, delegate() { byte[,] image = ImageInverter.GetInverted(fp1.Image);
DpiAdjuster.Adjust(this, 500, delegate()
{
byte[,] image = ImageInverter.GetInverted(fp1.Image);
BlockMap blocks = new BlockMap(new SourceAFIS.General.Size(image.GetLength(1), image.GetLength(0)), BlockSize);
short[, ,] histogram = Histogram.Analyze(blocks, image);
short[, ,] smoothHistogram = Histogram.SmoothAroundCorners(blocks, histogram);
BinaryMap mask = Mask.ComputeMask(blocks, histogram);
float[,] equalized = Equalizer.Equalize(blocks, image, smoothHistogram, mask);
byte[,] orientation = Orientation.Detect(equalized, mask, blocks);
float[,] smoothed = RidgeSmoother.Smooth(equalized, orientation, mask, blocks);
float[,] orthogonal = OrthogonalSmoother.Smooth(smoothed, orientation, mask, blocks);
BinaryMap binary = Binarizer.Binarize(smoothed, orthogonal, mask, blocks);
binary=BinarySmoother.Filter(binary);
}
但是我得到了这个输出
Outupt获得
请帮助您找到解决方案了吗?