New algorithm to help process biological images