void CollectMinutiae(FingerprintSkeleton skeleton, FingerprintMinutiaType type) { foreach (SkeletonMinutia skeletonMinutia in skeleton.Minutiae) { if (skeletonMinutia.IsConsidered && skeletonMinutia.Ridges.Count == 1) { FingerprintMinutia templateMinutia = new FingerprintMinutia(); templateMinutia.Type = type; templateMinutia.Position = skeletonMinutia.Position; templateMinutia.Direction = skeletonMinutia.Ridges[0].ComputeDirection(); Minutiae.Add(templateMinutia); } } }
private void CollectMinutiae(FingerprintSkeleton skeleton, FingerprintMinutiaType type) { foreach (var skeletonMinutia in skeleton.Minutiae) { if (skeletonMinutia.IsConsidered && skeletonMinutia.Ridges.Count == 1) { var templateMinutia = new FingerprintMinutia { Type = type, Position = skeletonMinutia.Position, Direction = skeletonMinutia.Ridges[0].ComputeDirection() }; Minutiae.Add(templateMinutia); } } }