Merge pull request #19 from rbeyer/master

Fixing the ISIS Verison detection.
Update .gitignore

There are some new tools lying around in the directories, they should
be ignored for check in.
Fix plateorthoproject to work 360 boundaries

Yeah .. whoops.
Fix overflow in subsampling for preprocessing

Thanks to David, he found that an image of 43345 x 52036 causes an
int32 overflow. I should have better thought that through. Anyways,
fixed now!.
Warning fixes from GCC4.6

These are warnings from unused variables.
Added FLANN as an optional dependency of VW_MATH

This should have been a buld failure on the other systems. However
Ubuntu 11.10 caught it.
Speed up disparity debug range calculation

I speed it up by simply not sampling the entire image. This is a
visualization debug tool so it doesn't need to be exhaustive.
Add normalization options to pinhole session
Make cam2map4stereo.py compatible with Python2.4

Python2.4 doesn't have check_call
Make MOC and CTX demos consistent in style

This is to make it easier to remember how to invoke map or nonmap
examples.
Fixed mutex problem and greatly speed up point2dem

Point2dem was accessing the texture pixel by pixel. This was causing
all threads to hit the same mutex. Now that's out of the way,
everything just runs ridiculously fast.

 LocalWords:  unstage
Fix memory issue in 106c512 for OrthoRasterizer

I accidentally was pulling a larger chunk of the image than I
need. Thus I was reading out of bounds.
Added lronac4staged.py

This is a tool to help with the number of commands required to process
a full frame of LRO-NAC.
Have cam2map4stereo.py.in store temporary data in a unique file

Instead of writing to camrange_temp.txt (or something like that which
can name clash with another process), write to something defined by
tempfile.NamedTemporaryFile. It's kinda the same as mkstemp.
Have automatic search recommend a 5 sigma region

Previously we were just growing the box entirely by the measures and
expanding then some. This made the automatic search very susceptible
to outliers. So instead this patch has the search set to 2.5 std
deviations in each direction. Hopefully the means no matching to
outliers.
Make map/map-PC compliant in the MOC example like it is in the CTX example.

I'm hoping to make calling map/map-PC.tif and nonmap/nonmap-PC.tif
common options for the MOC and CTX example. This way when I want to
run the tests, I don't have to keep looking at the Makefile.
rmax: update rmax tools to a more modern style

Thinks have changed a lot of the years. This is just a quick refresher
to keep things working.
disparity_debug: Support multi-plane images

OpenEXR mostly just write multiplane images. This modification allows
disparity debug to handle those. VW's convert does all the heavy
lifting, just previously disparity_debug wasn't allowing that to
happen.
Photometry: Bug fixes

Fixed a bug with image overlaps not being done correctly.
Make the weights decay to 0 both vertically and horizontally.
Use for initialization the exact minimum for fixed exposure, rather than an add hoc weighted average.
stereo_corr: style clean up, of approximate search range

Mostly this is to delay ip sorting until we actually need it.