1.R[k]["size"]= len(masked_pixels / 4)
Why there division by 4? It's seems no influence for the len function.
2.skimage.feature.local_binary_pattern(img[:, :, colour_channel], 8, 1.0)
hist = numpy.concatenate([hist] + [numpy.histogram(fd, BINS, (0.0, 1.0))[0]])
The output range of LBP feature is (0.0, 255.0), then why the histogram range is (0.0, 1.0), that means
leave off the pixel > 1? or maybe a bug?
1.
R[k]["size"]= len(masked_pixels / 4)Why there division by 4? It's seems no influence for the
lenfunction.2.
skimage.feature.local_binary_pattern(img[:, :, colour_channel], 8, 1.0)hist = numpy.concatenate([hist] + [numpy.histogram(fd, BINS, (0.0, 1.0))[0]])The output range of LBP feature is (0.0, 255.0), then why the histogram range is (0.0, 1.0), that means
leave off the pixel > 1? or maybe a bug?