title: what's the common way for segmenting a text from an image using matlab?
body: <p>I have searched about this field and I found some papers that present new methods to extracting texts from images, but I have a grayscale image consists of a simple background and some texts.so I need a method that everyone works with it.
  please provide details on how this can be done.</p>