Having trouble scaling with nearest neighbor using scikit-image