Image processing and analysis tools