Image classification and recognition from sub-cell to tissue scale