thresholding the minimum cross-entropy
                    Version 1.0.0.0 (1.62 KB) by  
                  Fatma Gargouri
                
                
                  Choose "the best threshold" using the method of minimum cross entropy.
                
                  
              The method of minimum cross entropy chooses "the best threshold" which loses less information during the thresholding.
The principle is to calculate the disance D between two distributions P and Q.
D(P,Q)=sum pi log(pi/qi)
Cite As
Fatma Gargouri (2025). thresholding the minimum cross-entropy (https://in.mathworks.com/matlabcentral/fileexchange/35157-thresholding-the-minimum-cross-entropy), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
              Created with
              R2010b
            
            
              Compatible with any release
            
          Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Image Segmentation > Image Thresholding >
      Find more on Image Thresholding in Help Center and MATLAB Answers
    
  Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |