diff --git a/bob/bio/vein/extractor/RepeatedLineTracking.py b/bob/bio/vein/extractor/RepeatedLineTracking.py index 84074aff73c3760795626b6e516f00aff9a1fcef..a335221a0d722306e036cb30e689aa40aa0ad684 100644 --- a/bob/bio/vein/extractor/RepeatedLineTracking.py +++ b/bob/bio/vein/extractor/RepeatedLineTracking.py @@ -55,9 +55,9 @@ class RepeatedLineTracking (Extractor): # Sets the random seed before starting to process numpy.random.seed(self.seed) - #Convert image to uint8 - if finger_image.dtype != numpy.uint8: - finger_image = bob.core.convert(finger_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 finger_image.dtype != numpy.uint8: + # finger_image = bob.core.convert(finger_image,numpy.uint8,(0,255),(0,1)) finger_mask = numpy.zeros(mask.shape) finger_mask[mask == True] = 1