Nonconvex Models And Algorithms For Sparse Regularization In Deep Learning And Image Segmentation