Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7524599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T03:06:58+00:00 2026-05-30T03:06:58+00:00

Im trying to extract (not recognize!) characters from a black & white image, so

  • 0

Im trying to extract (not recognize!) characters from a black & white image,
so if the image is 123,
i get an array of 3 images,

its a duplicate question, i know, but i couldnt find what i want, i also tried looking through codeproject but couldnt find a working example

http://www.codeproject.com/Articles/143059/Neural-Network-for-Recognition-of-Handwritten-Digi

source code not complete

your help is much appreciated 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T03:07:00+00:00Added an answer on May 30, 2026 at 3:07 am

    As Kenny has already mentioned, “connected component labeling” describes a family of algorithms that identify connected pixels. Connected components also go by the name of “connected regions” or “blobs”, and also by the related concept of “contours.” Any such algorithm should be able to find not only a shape of connected foreground pixels, but also the presence of “holes” inside the shape consisting of pixels of the background color.

    http://en.wikipedia.org/wiki/Connected-component_labeling

    This algorithm is used for several engineering fields that rely on image processing, including computer vision, machine vision, and medical imaging. If you’re going to spend any amount of time in image processing, you should become very comfortable with this algorithm and implement at least once on your own.

    The OpenCV library has a findContours() function that can be used to find contours, contours within contours, etc.
    http://opencv.willowgarage.com/wiki/

    If you’d like to see a region-labeling algorithm at work, look for references to “cell counting” using the application ImageJ. Counting biological cells is an important and oft-cited application of region labeling for medical imaging.

    http://rsbweb.nih.gov/ij/

    Consider getting a textbook on the subject rather than learning piecemeal online. Studying connected components (a.k.a. blobs) inevitably leads to consideration of binarization (a.k.a. thresholding), which takes a grayscale or color image and generates a black and white image from it. If you’re working with images from a camera, then lighting becomes critical, and that takes time and tinkering to learn.

    There are a host of other preprocessing steps that may be necessary to clean up the image. The need for preprocessing depends on your application.

    Here’s a textbook that is often recommended, and that gives good coverage of standard image processing techniques:

    Digital Image Processing by Gonzalez and Woods, 3rd edition
    http://www.imageprocessingplace.com/

    Go to addall.com to find cheap copies. International editions are cheaper.

    If the characters (or other shapes) in the image are of a consistent size and shape–for example, an “A” is always 40 pixels tall and 25 pixels and machine printed in the same font–then you might use a “normalized cross-correlation” or template-matching technique to identify the presence of one or more matching shapes. This technique can work as a very crude sort of OCR, but has severe limitations.

    http://en.wikipedia.org/wiki/Template_matching

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to extract not just the browser and its version number but also
I'm trying to extract the minimum from a binary heap but it's not working.
I'm trying to extract about 72000 SInt32s from the iPhone, but not sure what
I am trying to extract the palette from a 5-6-5 (16bit) bitmap image that
I am trying to extract text from body downloaded via ajax. I can not
I am trying to extract all the images from a pdf using itextsharp but
I am trying to extract the images from the given web page. I have
I am trying to extract album art image from mp3 URLs. I am basically
I am trying to extract values from a string, I have tried to get
I'm trying to extract lines from certain files that do not begin with #

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.