Image processing and recognition for biological images