private List<Minutia> GetMinutiasFrom(PictureBox box) { var image = box.Image; Bitmap bmp = (Bitmap) box.Image; var bytes = ImageHelper.LoadImage<int>((Bitmap)box.Image); CUDAFingerprinting.Common.OrientationField.PixelwiseOrientationField field = new CUDAFingerprinting.Common.OrientationField.PixelwiseOrientationField(bytes, 16); return CUDAFingerprinting.FeatureExtraction.Minutiae.MinutiaDetector.GetMinutias(bytes, field); }
private List <Minutia> GetMinutiasFrom(PictureBox box) { var image = box.Image; Bitmap bmp = (Bitmap)box.Image; var bytes = ImageHelper.LoadImage <int>((Bitmap)box.Image); CUDAFingerprinting.Common.OrientationField.PixelwiseOrientationField field = new CUDAFingerprinting.Common.OrientationField.PixelwiseOrientationField(bytes, 16); return(CUDAFingerprinting.FeatureExtraction.Minutiae.MinutiaDetector.GetMinutias(bytes, field)); }