diff --git a/bob/bio/vein/extractor/MaximumCurvature.py b/bob/bio/vein/extractor/MaximumCurvature.py index e7627167b0e0eee40263907eb72f6bef3539e7a9..662b44bd10ba99cbcacae0dfaa1dd5d4e917dc56 100644 --- a/bob/bio/vein/extractor/MaximumCurvature.py +++ b/bob/bio/vein/extractor/MaximumCurvature.py @@ -36,8 +36,9 @@ class MaximumCurvature (Extractor): """Computes and returns the Maximum Curvature features for the given input fingervein image""" - if image.dtype != numpy.uint8: - image = bob.core.convert(image,numpy.uint8,(0,255),(0,1)) + # Convert image to uint8 - NOT NECESSARY AFTER MODIFICATION TO FingerCrop, which rescales intensities of histogram equalized preprocessed images to range (0, 255) + #if image.dtype != numpy.uint8: + # image = bob.core.convert(image,numpy.uint8,(0,255),(0,1)) #No es necesario pasarlo a uint8, en matlab lo dejan en float64. Comprobar si varian los resultados en vera database y ajustar. finger_mask = numpy.zeros(mask.shape)