CVXB: Image segmentation with artifacts and bias

Region-based image segmentation model with artifacts (outliers) detection and bias correction.
Updated 28 Jan 2015

View License

Region-based image segmentation has essentially been solved by the Chan-Vese (CV) model. However, this model fails when images are affected by artifacts (outliers) and illumination bias that outweigh the actual image contrast. Here, we implement a model for segmenting such images. In a single energy functional, we introduce 1) a dynamic artifact class preventing intensity outliers from skewing the segmentation, and 2), in Retinex-fashion, we decompose the image into a piecewise-constant structural part and a smooth bias part. The CV-segmentation terms then only act on the structure, and only in regions not identified as artifacts. The segmentation is parameterized using a phase-field, and efficiently minimized using threshold dynamics.
For a complete description of the theory and algorithm, see our paper "Image Segmentation with Dynamic Artifacts Detection and Bias Correction" by D. Zosso, J. An, J. Stevick, N. Takaki, M. Weiss, L. S. Slaughter, H. H. Cao, P. S. Weiss and A. L. Bertozzi, submitted to AIMS Inverse Problems and Imaging. Preprint available at:

Cite As

Dominique Zosso (2024). CVXB: Image segmentation with artifacts and bias (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Fixed splash image; removed spurious code in CVXBdemo.m