title: Count black spots in an image - iPhone - Objective C
body: <p>I need to count the number of black spots in an image(Not the percentage of black spots but the count). Can anyone suggest a step wise procedure that is used in image manipulation to count the spots.</p>
  
  <p>Objective : Count black spots in an image </p>
  
  <p>What I've done till now : 
  1. Converted image to grayscale
  2. Read the pixels for their intensity values
  3. I have set a threshold to find darker areas</p>
  
  <p>Other implementations:
  1. Gaussian blur
  2. Histogram equalisations</p>
  
  <p>What i have browsed : 
  Flood fill algorithms, Water shed algorithms</p>
  
  <p>Thanks a lot.. </p>