openmv/usr/tests
Kwabena W. Agyeman fb8b357c24 Dilate and errode working.
The old code did not actually implement the errode anhd dilate kernels
correctly. However, it migh have been a little faster because it avoided
the boundary problem.

In the future we can optimize all the kernel code to have different loops
for doing the edges of image versus the center. But, for now, this is
good enough. QVGA color tracking with kernels will be slow, but, the
speed can be improved with QQVGA resolution. Using a 3x3 kernel is
plenty fast. Larger ones are slower.

I also added the ability for you to set the threshold for erode and
dialte. This lets you make the kenrel a little bit smarter so that it
won't errode or dilate a pixel unless the threshold is met. Meaning,
you'll be able to use erode to erode an image down to 1 pixel wide
lines.
2016-02-28 16:27:49 -05:00
..
test_binary_1.py Fixed bug in centroid and added tests. 2016-02-20 16:04:59 -05:00
test_binary_2.py Fixed bug in centroid and added tests. 2016-02-20 16:04:59 -05:00
test_drawing_1.py Draw keypoints now accepts lists. 2016-02-20 16:04:59 -05:00
test_drawing_2.py Fixed up drawing code and scripts along with drawing code. 2016-02-19 22:55:50 -05:00
test_erode_and_dilate.py Dilate and errode working. 2016-02-28 16:27:49 -05:00
test_save.py Fixed save image. 2016-02-26 22:00:04 -05:00