Still debugging image processing