title: Detection of homogeneous area in term of connectivity in image
body: <p>I am looking for some <strong>measurements to do to distinct between</strong> these two binary images (<strong>texte and noise</strong>).</p>
  
  <p><img src="https://i.stack.imgur.com/lql4D.png" alt="enter image description here"></p>
  
  <p>Hough transform of the frequency domain don't tell me much (either in skeleton or in the original shape), as can be seen below !</p>
  
  <p><img src="https://i.stack.imgur.com/56t5h.png" alt="enter image description here"></p>
  
  <p>in the spatial domain, I have try to measure, if a given pixel participate to line or curve, or participate to a random shape, and then measures the percentage of all pixels participating and not participating to normal shape (lines and curves) to distinguish between these images, but I didn't succeed, in implementation.</p>
  
  <p>what do you think ?</p>
  
  <p>I use matlab for test.</p>
  
  <p>Thanks in advance</p>