def enhance_pixel(self, iea: str, pixel: tuple[(int, int)]) -> str:
    surround = [self[n] for n in self.neighbors(pixel)]
    idx = self.pixel2idx(''.join(surround))
    return iea[idx]
def enhance_pixel(self, iea: str, pixel: tuple[(int, int)]) -> str:
    surround = [self[n] for n in self.neighbors(pixel)]
    idx = self.pixel2idx(.join(surround))
    return iea[idx]