MATLAB image segmentation program


  Matlab     Matlab   

Add to my favorites
Download Source Codes:   图像分割.rar (332.80 kB)  

    Sponsored links


MATLAB image segmentation program

Iterative methods

Iterative-threshold of the basic idea is : First of all, according to the distribution of objects in an image to grayscale, select an approximate threshold as the initial threshold, a better approach is to image gray value as the initial threshold; and then by dividing the image and modify the iteration process of threshold values recognized the best threshold [5] 。 Iterative-threshold selection process can be described as follows.

(1) Select an initial threshold T 。

(2) Using threshold values T Split into two sets of image given image, remember to R 1 ,R 2 。

(3) calculate R 1 and R 2 's average values  u1 and  u2 。

(4) Select the new threshold value T , and

T= ( u 1+ u 2 ) /2 (2-4 )

(5) Repeat (2)~(4) until R 1 and R 2 's average values  u 1 and u 2 no longer changes.

When implemented, first under the initial switching function will enter the figure images one by one into the foreground and background, after the end of the first pass on the scanned images, the average values of the two integrals to determine a threshold. The threshold control switch will once again enter into the foreground and background, and do a new switch function. Repeated iterations until the switching function is not changed, get the foreground and background is the final segment results. Iterative thresholding of images derived from to good effect. Thresholds based on iteration can distinguish between the foreground and background of the main area of the image, but don't have very good images of subtle distinction. For certain images, micro-data changes will cause great changes in Iris, both of data is only slightly changed, but Iris has extreme contrast. Histogram peaks visible, bottom deep image, iterative methods can quickly get satisfactory results, but not obvious for the histogram peaks, or differences in image and background, and iterative method to the selected threshold than other methods.




    Sponsored links

Project Files

NameSizeDate
 cameraman.jpg41.54 kB16-07-01 23:24
 <chepai>0.00 B30% 06-05-12
 chepai.bmp121.30 kB06-05-12 21:46
 rice.bmp177.83 kB06-05-12 21:40
 rice.jpg146.33 kB27-07-01 22:52
 segment1.asv136.00 B06-05-12 21:51
 segment1.m131.00 B15-05-12 08:27
 segment2.m674.00 B15-05-12 08:27
 segment3.m296.00 B15-05-12 08:28
 segment4.m318.00 B15-05-12 08:29
 图像分割.docx12.64 kB15-05-12 08:38
 <图像分割>0.00 B15-05-12 08:39
...

Related Items


    Sponsored links
  1. Matlab7.x image processing functions(GDI-Bitmap - Matlab) - Matlab7.x image processing ch2_1_1: histogram (§ 2.1.3) c ...
  2. sinusoidal wave image generation via Matlab image processing(Matlab - Matlab) - sinusoidal wave image generation via Matlab image processing ...
  3. Advanced ImageViewer(GUI,C# - C#) - Advanced Image viewer With WPF with some controls as (rotate ...
  4. ImageProcessing(Java Develop - Java) - Source Code Image Processing with Java ...
  5. Black and white images Huffman coding(Graph - C++) - Huffman coding to image, and then using Huffman coding the c ...
  6. Three dimensional reconstruction based on image pair(Graph - C++) - Three dimensional reconstruction of image based on, dense ma ...
  7. Image compression using DWT transform(Matlab - Matlab) - Compression using Wavelet transform. ...
  8. An image median filtering Matlab code(Matlab - Matlab) - An image median filtering Matlab code ...
  9. IMAGE detection - tracking Kman filter - data base(File - C) - this is data base for image processing purpose using Kaman f ...
  10. MATLAB image segmentation program(Matlab - Matlab) - MATLAB image segmentation program Iterative methods ...
  11. Image processing documents(Algorithm - PPT) - combining image details documentation ...
  12. Normalized image programs of MATLAB and c language codes(Graph - Matlab) - Image normalization program, widely used in the field of ima ...
  13. Compress Image fast algorithm(Windows - C++) - How to compress your image in little storage cloud.   ...
  14. VTK arbitrary two-dimensional image trimming(Graph - Visual C++) - VTK arbitrary two-dimensional image trimming program, very n ...
  15. Dual-tree complex wavelet image fusion MATLAB source code(Matlab小波分析 - Matlab) - Use of dual-tree complex Wavelet transform for image fusion ...
  16. JavaScript image switching effects(web - JavaScript) - A special bright picture transition effects, you can use pic ...
  17. Display Image(Other - C++) - display image  ...
  18. Image segmentation(Matlab - Matlab) - image segmentation code in matlab ...
  19. Image processing for Hand gesture Recognition(File - Matlab) - Image processing for Hand gesture Recognition ...
  20. PCA method MATLAB source code(Matlab - Matlab) - .........Select Image.................... .........New Reco ...