CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2014

    Matlab/Octave code/technique for making thin lines from thicker lines

    I want to convert thick bold lines, curves e.g., letters and digits to their thinner possible form. These digits, curves are saved as images in thick black lines with white background.
    The image is attached.Name:  Photo0308.jpg
Views: 224
Size:  21.7 KB


  2. #2
    Join Date
    Apr 2000
    Belgium (Europe)

    Re: Matlab/Octave code/technique for making thin lines from thicker lines

    You're not really saying what kind of result you want, and/or how near to the ideal you want things to be.

    Do you want an outer outline ? an inner outline ? An average ? A weighted curve ? Something else ?
    are there guarantees/input about the size and slant of the used pen tip ? Do you know what they are ? Is it the Original "gesture path" you want to try to recreate ?
    or do you just care about "recognizing" the input and converting it to tekst (OCR ?). I'm sort of assuming this because the thin and thick B in the provided image are not "the same", they're both B's, but they're written differently.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.