Double regularization control based on level set evolution for tablet packaging image segmentation