BUG: removing unused argument variables causing out of index errors
Removed the "%m" macro token.

For displaying color images with ImageJ, I create a macro that tells ImageJ
to combine the components of a vector image into the channels of a color one.

Previously this macro could be accessed by the user in one of the command
environment variables, such as SITK_SHOW_COLOR_COMMAND, via the "%m" token.

This access is not needed and makes the code more confusing.  So I have
removed it.  Now the default values for commands that need a color macro have
the macro explicitly stated.  For example, SITK_SHOW_COLOR_COMMAND on
a Linux build is:

    static std::string ShowColorImageCommand = "%a -e "
        "\'open(\"%f\"); run(\"Make Composite\", \"display=Composite\"); \'";

Previously the second part of the string was simply "%m".

Change-Id: I18bc5d9ace701973324abdaf5b87a31a87c3c7af
ENH: R - import vector image buffers.

The C code has been modified to allow import of vector buffers. The
R method to use this enhancement looks like this, and will be
included once the R packaging is organised.

setMethod('as.array', "_p_itk__simple__Image",
          function(x, drop=TRUE) {
            sz <- c(x$GetNumberOfComponentsPerPixel(), x$GetSize())
            ans = .Call("R_swig_ImAsArray", x, FALSE, PACKAGE = "SimpleITK")
            dim(ans) <- sz
            if (drop)
              return(drop(ans))
            return(ans)

            }
          )

The only changes to the C side are including the number of components
in calculation of the buffer size, and including the vector types
in the switch statement.

Change-Id: I7a9fbf3b924740baa7150cbcf9c83db0416ce1de
Updating ITK version to ITK 4.2rc01
Merge branch 'SIMPLEITK-297_UpdateITKTowardsITK4.2' into SimpleITK-295_AddGradientFilter
Adding wrapping for GradientImageFilter
Updating datasubmodule for GradientImageFilter baseline
Merge branch 'UpdateDataSubmodule' into SIMPLEITK-295_AddGradientFilter
Compare what filters ITK and SimpleITK implement.

CompareITKandSITKFilters.py is a python script that compares what image filters
ITK (via WrapITK) and SimpleITK implement in python.

The script works by getting all the entries from the python modules and looking
for the ones ending in "ImageFilter" (and "ImageSource" for WrapITK).

The results are written to a CSV file.  The default name is "filters.csv".
This file can also be used as input to the script.

Added a ToDo boolean and CSVtoTable.py

Added a ToDo boolean flag for filters in ITK but not SimpleITK.

Created CSVtoTable.py, a script that takes an output file from
CompterITKandSimpleITKFilters.py and produces a HTML table.  By
default CSVtoTable.py reads in the file "filters.csv" and produces
the file "filters.html".

Checked in the filters.csv file.

Change-Id: I2f3536bd880d8adacf18d2075f0393c1adaf59a9
Added Doxygen support.

CSVtoTable.py now has a "-d" option to output a Doxygen header and tail.

Doxygen.cmake was modified to automatically run CSVtoTable.py when
building documentation.  "filters.csv" in the source tree is taken
as input, and the output is written to FilterCoverage.dox in
the build tree under SimpleITK-build/Documentation/Doxygen.

Change-Id: If089874d40be5a57c0c7c4b5a6e3303ba7d1858d
making python scripts executable
Need to create path to Documentation/Doxygen before file
Adding todos and comment to filter list
Fix Doxygen page name for filter coverage
Merge topic 'RVectorBuffers'

ef791cf ENH: R - import vector image buffers.
Merge topic 'SIMPLEITK-103_RemoveMacroToken'

b3e47fb Removed the "%m" macro token.
Merge topic 'SIMPLEITK-167-CompareITKandSITKfilters'

9a915cc Fix Doxygen page name for filter coverage
02a532b Adding todos and comment to filter list
f155121 Need to create path to Documentation/Doxygen before file
ac4da9b making python scripts executable
3cd7510 Added Doxygen support.
159216b Compare what filters ITK and SimpleITK implement.
Merge topic 'SIMPLEITK-246_NativeSugarForR'

913fc50 BUG: removing unused argument variables causing out of index errors
Merge topic 'SIMPLEITK-295_AddGradientFilter'

61e609e Merge branch 'UpdateDataSubmodule' into SIMPLEITK-295_AddGradientFilter
55bfbb4 Updating datasubmodule for GradientImageFilter baseline
1b30e86 Adding wrapping for GradientImageFilter
1c8ea7a Merge branch 'SIMPLEITK-297_UpdateITKTowardsITK4.2' into SimpleITK-295_AddGradientFilter
f7b01a9 Updating ITK version to ITK 4.2rc01