Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/325.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/sorting/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用SourceAFIS库的C#中的二进制平滑指纹图像过滤器不起作用_C#_Image Processing_Filter_Fingerprint - Fatal编程技术网

使用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获得


请帮助

您找到解决方案了吗?