VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



A Heuristic Graphic Filter

by G Choquette (4 Submissions)
Category: Graphics
Compatability: Visual Basic 5.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (13 Votes)

What the heck is a heuristic graphic filter? In this case, heuristic means a technique in which a computer works along empirical methods, using rules of thumb, to find solutions or answers. The application described here is to have the computer “recognize“ a parameter from a graphic image.
It is a simple task for most people to identify a red line on a chart. But this task is not so easy for a computer. The reason is “red” is not always = RGB(255, 0, 0). When the red line is drawn by a pen and optically scanned, red turns out to be various shades red, pink, purple, and orange. The trick here is to “train” the computer as to what you would call the red line. In this specific example, we do this by deconstructing the selected color into its red, green, and blue components. Various statistical calculations are performed on that data and saved as a template that represents a range of colors defined as “red”. Once the color(s) are defined, graphical filtering and manipulation can be performed to add, subtract, or just identify the selected color.

Assumes
Note that this application requires a reference to MS ADO 2.6. It works best at screen resolutions greater than 1028 X 1024. API Calls tested on Win 2000.

Rate A Heuristic Graphic Filter

Download A Heuristic Graphic Filter

Download A Heuristic Graphic Filter (754 KB)

A Heuristic Graphic Filter Comments

No comments have been posted about A Heuristic Graphic Filter. Why not be the first to post a comment about A Heuristic Graphic Filter.

Post your comment

Subject:
Message:
0/1000 characters