Classification of urinary stones based on edge detection using semi-automatic threshold