A java based tool to count diatoms from digital pictures based on openCV library