I'm experimenting with the OpenCV programming library as part of the Computational Photography course I'm taking at Coursera. I don't know if I'll be able to finish the course due to my other obligations, but I just thought I would share my first little test program so that my students might benefit.
This program reads in a picture file, then simply strips off the red, green, and blue channels and saves the files.
I've written the program so it can easily be adapted for other picture files. Simply replace "flower" with the base part of your filename in the img_base_name variable and enter the path to your picture file in the img_path variable. Note that the OpenCV and the numpy libraries must be installed and that you need to be using Python 2.x.
Here's my program:
# imports import cv2 # the computer vision library, from http://opencv.org/ import numpy as np # wasn't needed but is always imported in examples # make it easy to modify the program to use…
Basically, anyone that owns a V-Strom sends me their location (city is okay, postal/zip code is better) and I plot it on a map. To assure everyone's privacy, I have a strict policy where I state that I will never release any personal information that has been disclosed to me to anyone.
The problem is, some V-Strom owners want to be able to use the map to hook up with other V-Strom owners. (Actually, this isn't a problem, this is great!)
So, here's my solution. If you are willing to share your personal information (anything you want: name, address, phone #, email address, anything...), then add a comment to this blog entry, with the number that you are on the map.
Thank you to everyone for the kind feedback for this project, and I hope the blog part of this proj…