// It loads images slightly faster then PIL.
// Only use scikit-image if installed version is 0.13.0 or newer
from niftynet.utilities.util_import import require_module
SKIO = require_module("skimage.io", (0, 13, 0))
USE_SKIMAGE = True
tf.logging.info("+++ Using SKIMAGE as Image Loading backend")
except (ImportError, AssertionError):
tf.logging.info("+++ Using PIL as Image Loading backend")