I decided to jump into the project using OpenCV.
- Basic Structures, detailing image types.
- Misc Image Functions, including Threshold.
- Tutorial: Display Video from a Webcam.
- Image Filtering, including a Gaussian blur. cvSmooth().
- Array/Image Operations, includes add, multiply, copy, split, and merge.
I used about the same equation as I did in my test with netLogo. For reference, each cell ranges from 0 to 1.
A += A*B + A/3 + .1
B += B + A*B – B/3 – .1
This set of equations produces quite varied results depending on how the diffusion is set.