Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Graph program Special Effects
Title: Image-segmentation-code Download
 Description: Cutpicture (form) do the histogram statistics: The first step: read into the picture, and the color image into gray image using the formula. The second step: the picture into blocks and each block of the histogram statistics with region growing method, using breadth-first search is complete, a subroutine is int flood_fill (). The return value is the number of points. Determine whether the same area condition is gray front search the average is greater than a given threshold (i.e. threshold, input is decided by the user). Step third: each color proportion of arbitrary two pieces of area of the histogram of the absolute value of the difference between the sum, if less than the threshold (i.e. threshold2, input is decided by the user) is the merger of the two block area. Regional absolute value summation subroutine for void Statistics (), is used to merge the block subroutine for the void combine (int obj1, int obj2). The fourth step: the total output block number more than 1/10, the
 Downloaders recently: [More information of uploader 吴魏]
 To Search:
File list (Check if you may need any files):
 

Image segmentation code.txt
    

CodeBus www.codebus.net