mathematical image analysis