Computer-aided image processing