A nonparametric, entropy-minimizing MRI tissue classification algorithm implementation using ITK