At long last, here is the most-requested image processing technique for this site – a comprehensive collection of grayscale conversion techniques. To my knowledge, this is the only project on the Internet that presents 7+ unique grayscale conversion algorithms, including two written from scratch for this very project.
A software-based “diffuse filter” – random displacement of image pixels within a specified radius – was used in a number of SNES, Genesis, and DOS games to simulate an explosion effect. Today’s project provides the source code for generating a diffuse effect in real-time.
“Colorization” in image processing can refer to one of several things. One form of “colorization” is taking any image – including full-color ones – and applying a uniform color for dramatic or artistic effect. This is the type of colorization filter provided by software like Photoshop and GIMP, and it’s also the effect this project implements.
I wanted to title this article “a novel method for matrix randomization using polygons and custom differential post-processing blending”… but that was a bit long, even for me…
Basic emboss and engrave filters are two of the simplest image processing features to implement. Both operate on the same principle – for each pixel, subtract the RGB values of one or more neighboring pixels in a particular direction. This leads to an image where low-contrast areas are all black, while high-contrast areas (edges) are varying colors of brighter intensity. Most emboss/engrave filters add 127 to the RGB values so that uniformly contrasted areas are gray. I’ve added a “color” option to my implementation, so you can emboss/engrave an image to any hue. In the Bayonetta example above, the left side of the picture is embossed to something around #81a3fe…
Today’s very cool project demonstrates a proof of concept implementation for rendering the famed Mandelbrot set (or “Mandelbrot fractal”) using VB6. It’s a bit of a feat, since VB6 isn’t exactly optimized for recursion-heavy calculations…but you know me. I love making VB do things it was never meant to do! :)
Here you have it: the largest, most complex programming project now available on tannerhelland.com. Originally a final project for a university bioinformatics course, this artificial life simulator has now been completely retooled as a full-blown lesson in evolution and population genetics. As with most artificial life simulators, a set of simple artificial creatures compete for limited resources. Each creature has a strand of pseudo-DNA that determines three basic attributes: size, speed, and range (how far it can see)…
Today’s project is something new to this site – bioinformatics code! I feel a tad ridiculous that it’s taken me so many years to post code related to my field, but hey – better late than never. Read on to discover the awesomeness of Hidden Markov models, the Viterbi algorithm (also known as Viterbi paths), CpG islands, and how these all work together to help scientists locate genes.
I’m guessing you’ve seen this style of image before – a sort of pseudo-antique filter than can make any image look like it was taken with a very old camera. There are many ways to programmatically generate images like this, and in this article I’ve put together one that does more than just make the image look “brown.” This filter involves several steps (fading, multiplicative brightness, and gamma correction, among others) and results in a conversion that not only adds a sepia coloring, but also gives an image a histogram more in keeping with older photos.
Today’s article brings a collection of random image effects that can be quickly (and programmatically) generated. In an attempt to give the project some coherency, I’ve named each effect after something “nature-themed” so as to help distinguish them. As always, full source code and a sample .exe is provided…