Do it in the Buffer: Introduction to Dithering

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
Posted in General Imaging, Image Processing | Tagged , | Leave a comment

Security Camera Motion Detector: Developer App Series

This post is part of our 2017 Developer App Series, which showcases apps created by our Support Agents over the course of eight weeks. These apps are intended to be larger, more thoughtful apps with highly practical purposes in mind, as opposed to a basic “how to” for a feature.

App Description

This project from Mohamed will utilize the LEADTOOLS Multimedia DVR SDK alongside the Motion detector filter to capture a stream from a security or IP camera. When motion is detected in the camera, a convert control will save the previous 1 minute and the next 1 minute to a file for security purposes.

Features Used

Instructions for Running the App

  1. Download the source code for this app from here
  2. Extract the contents to the C:\LEADTOOLS 19\Examples\Multimedia\ltmm\Dotnet\CS directory.
  3. Build csproj file with Visual Studio and run
Posted in Multimedia Imaging | Tagged , , , , , , | Leave a comment

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

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
Posted in General Imaging, Image Processing | Tagged | Leave a comment

Simple Java Image Viewer: Developer App Series

This post is part of our 2017 Developer App Series, which showcases apps created by our Support Agents over the course of eight weeks. These apps are intended to be larger, more thoughtful apps with highly practical purposes in mind, as opposed to a basic “how to” for a feature.

App Description

This project from Nick Villalobos will utilize the LEADTOOLS Imaging and Document SDK to show a simple Java Image Viewer in addition to recognizing barcodes or performing OCR on the image.

Features Used

Instructions for Running the App

  1. Download the source code for this app from here
  2. Extract the contents to any directory.
  3. Run Eclipse and go to File > Import
  4. Choose ‘Existing Projects into Workspace’
  5. Pass the root directory created in step 2
  6. Set your license and key in ImageViewer.java lines 94 & 95
  7. Run as Java Application
Posted in General Imaging | Tagged , , , , , | Leave a comment

Microsoft Build Conference 2017: LEADTOOLS Recap

Our members of the LEADTOOLS team who had the privilege of attending the Microsoft Build Conference and exhibiting as Visual Studio Partners are just getting adjusted back to Eastern Standard Time over here in Charlotte. For any of you who were in Seattle for the event, you know how energizing and memorable it was to be surrounded by like-minded developers and share in all the buzz of what’s new and upcoming for Microsoft.

As always, the show was sold out so we thought we’d put together a fun little recap of our time there for those of you who weren’t able to make it.

Continue reading
Posted in News | Tagged , | Leave a comment

QR Code Logo Generator: Developer App Series

This post is part of our 2017 Developer App Series, which showcases apps created by our Support Agents over the course of eight weeks. These apps are intended to be larger, more thoughtful apps with highly practical purposes in mind, as opposed to a basic “how to” for a feature.

App Description

This project from Faris will allow the user to generate a readable QR Code using the LEADTOOLS Barcode SDK alongside the LEADTOOLS Annotations SDK to add a picture or logo inside the barcode while still keeping the barcode readable.

Features Used

Instructions for Running the App

  1. Download the source code for this app from here
  2. Extract the contents to the C:\LEADTOOLS 19\Examples\DotNet\CS directory.
  3. Build csproj file with Visual Studio and run
Posted in Barcode | Tagged , , , , , , | Leave a comment

Auto MasterForms Generator: Developer App Series

This post is part of our 2017 Developer App Series, which showcases apps created by our Support Agents over the course of eight weeks. These apps are intended to be larger, more thoughtful apps with highly practical purposes in mind, as opposed to a basic “how to” for a feature.

App Description

This project from Roberto will use the LEADTOOLS Image Processing Segmentation command and Auto Zoning capabilities to take in an image/file/document and automatically create a master template for use in forms recognition. The template will be created based on the AutoZone results and will also give the user the ability to “blank” out the master form by filling in the auto-zoned areas with white in order to help increase the recognition results, since using a blank form is desired.

Features Used

Instructions for Running the App

  1. Download the source code for this app from here
  2. Extract the contents to the C:\LEADTOOLS 19\Examples\DotNet\CS directory.
  3. Open the SLN file (not the csproj) in AutoMasterFormCreator
  4. Make sure both projects are loaded from the solution (AutoMasterFormCreator & AutoMasterFormsEditor)
  5. Run the project
Posted in Forms Recognition and Processing | Tagged , , , , , , | Leave a comment