Do it in the Buffer: Comparison of RasterImage Image Data Access Methods in .NET

Posted on 2020-08-25 13:40:11 by Gabriel Smith

There are several ways to access the data in a RasterImage. If you need to get the RGB values of each pixel, then the GetPixel() and GetRow() methods are the simplest methods to use.

Few Pixels

If you need to get just one pixel, then GetPixel() is the easiest. GetPixel() works with image data of any bits per pixel and returns a RasterColor that includes the alpha channel information for 32 and 64 bit images. The sample below uses GetPixel()to fill the buffer with the entire image (not recommended—more on that below).

Continue Reading...

Connect the Digital Dots: Text Detection on LCD Displays Using LEADTOOLS Image Processing SDK

Posted on 2020-01-29 10:18:40 by Nick Villalobos

Digital number recognition from LCD displays can be a challenge when it comes to recognizing seven-segment or dot-matrix displays. This is because the lines in the numbers do not actually connect when forming the number. When performing OCR on images that contain these fonts, you will need to do some image processing to increase the accuracy. This can easily be done with two functions from the LEADTOOLS Image Processing SDK that is included with LEADTOOLS Recognition and Document Imaging products.

Continue Reading...

Do it in the Buffer: Introduction to Dithering

Posted on 2019-12-19 12:27:07 by Nick Villalobos

I recently became intrigued by some art work I saw online. It is a bunch of Rubik's cubes set up to reproduce a picture.

The artists are essentially reducing the image's colors down to a palette of six colors with dithering. By dithering the picture, it appears to look like the subject from a distance because the colors mix and merge to resemble the original colors. But the closer you get to the piece, the more it appears to be a bunch of randomly ordered colored squares. It sparked the artist in me, so I decided to use LEADTOOLS to help me come up with my own Rubik's Cubism-like art.

Continue Reading...

Resize an Entire Folder of Images

Posted on 2019-06-24 by Zac Ferrasi

This morning I was given a folder of more than 100 screenshots of our various demos. I needed these to update our website. Unfortunately, most of them were too large for the page and needed to be resized. I quickly created a .NET Core console app to fix the image sizes for me. I was able to write the code, resize the images, and then blog about it before 10:00am. Code is below. Enjoy!

Continue Reading...

Categories:

Image Processing

Tags:

Imaging

Detect and Redact MICR and CMC7 Font to Hide Check Information

Posted on 2019-06-13 by Gabriel Smith

Very few individuals like their personal information shared and I guarantee no one likes private information from documents being shared either. Images of financial documents, such as checks, are sent across large companies every day. In a world where anything can be uploaded to the internet and stolen in seconds, you can never be too careful with protecting personal information.

Continue Reading...

Categories:

Image Processing

LEADTOOLS Blog

LEADTOOLS Powered by Apryse,the Market Leading PDF SDK,All Rights Reserved