def _validate_image_datatype(self, img_array):
if img_array.dtype != np.uint8 and img_array.dtype != np.uint16:<EOL><INDENT>msg = ("<STR_LIT>"<EOL>"<STR_LIT>")<EOL>raise RuntimeError(msg)<EOL><DEDENT>
Only uint8 and uint16 images are currently supported.