public Bitmap GetImageWithMatchedMinutias() { getSectionPointsBitmap(orginalBitmap); this.alreadyPassedInverted = (Bitmap)alreadyPassed.Clone(); this.alreadyPassed = (Bitmap)orginalBitmap.Clone(); this.orginalBitmap = ImageSupporter.ReverseBitmap(orginalBitmap); ImageWindow iw = new ImageWindow(ImageSupporter.Bitmap2BitmapImage(training)); iw.Show(); this.training = (Bitmap)orginalBitmap.Clone(); this.inverted = true; getSectionPointsBitmap(orginalBitmap); this.orginalBitmap = ImageSupporter.ReverseBitmap(orginalBitmap); getMinutionsMap();//tutaj jest sprawdzanie i usuwanie niewłaściwych minucji this.inverted = false; return(MatchMunities()); }