コード例 #1
0
        public static Bitmap HistorgramGridedFilter(Bitmap bitmap, int size)
        {
            Bitmap      b    = (Bitmap)bitmap.Clone();
            GridedImage grid = new GridedImage(b, size);


            return(grid.GaborFilter());
        }
コード例 #2
0
        public MinutiaeDetector(Bitmap orginalBitmap, int sectionLen, int startingPointsDistance, GridedImage localDirectionMap, int dlugoscSkoku)
        {
            this.sectionLen             = sectionLen;
            this.startingPointsDistance = startingPointsDistance;
            this.orginalBitmap          = orginalBitmap;
            this.alreadyPassedInverted  = (Bitmap)orginalBitmap.Clone();
            this.alreadyPassed          = (Bitmap)orginalBitmap.Clone();


            this.training           = (Bitmap)orginalBitmap.Clone();
            this.minutiasMatched    = (Bitmap)orginalBitmap.Clone();
            this.localDirectionMap  = localDirectionMap;
            this.dlugoscSkoku       = dlugoscSkoku;
            this.startingSectionLen = 5;
        }
コード例 #3
0
 public void startRecognition(Bitmap b)
 {
     mapaKierunkow = new GridedImage(b, squareLen);
 }