Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (5)
MFC-based small alarm
no vote
MFC-based small alarm For reference only
stdying
2016-08-23
0
1
Matlab7.x image processing functions
3.0
Matlab 7. X image processing
stdying
2016-08-23
0
1
MATLAB DWT realization of two-dimensional Wavelet
no vote
MATLAB DWT realization of two-dimensional Wavelet transform
stdying
2016-08-23
1
1
QT FTP client
no vote
QT FTP client  
stdying
2016-08-23
0
1
MATLAB image segmentation program
4.5
The basic idea of iterative threshold selection of Matlab's & nbsp; image segmentation program iterative method is: first, according to the gray distribution of the object in the image, select an approximate threshold as the initial threshold, a better method is to take the average gray value of the image as the initial threshold; then through the iterative process of image segmentation and threshold modification, obtain the best threshold [5]. The iterative threshold selection process can be described as follows. (1) Select an initial threshold t. (2) The threshold T is used to segment the given image into two groups, which are recorded as R1 and R2. (3) The mean values of R1 and R2 were calculated & nbsp; U1 and U2. (4) Select a new threshold T, and T = (U1 + U2) / 2 (2-4) (5) repeat steps (2) ~ (4) until the average values of R1 and R2 U1 and U2 do not change. Firstly, according to the initial switch function, the input image is divided into foreground and background one by one. After the first scan, the average value of the two integrators is used to determine a threshold. With this threshold control switch, the input image is divided into foreground and background again, and used as a new switch function. This method is repeated until the switch function does not change, then the foreground and background are the final segmentation results. The image segmentation effect of the iterative threshold is good. The main areas of foreground and background can be distinguished by iterative threshold, but there is no good differentiation in the details of the image. For some specific images, the change of small data will cause great changes in the segmentation effect. The data of the two are only slightly changed, but the segmentation effect is very different. For the image with obvious histogram bimodal and deep valley, the iterative method can quickly obtain satisfactory results, but for the image with no obvious histogram bimodal or the ratio difference between the object and background, the threshold selected by the iterative method is not as good as other methods.
stdying
2016-08-23
6
1
No more~