ENH:  Accessing optimizer weights from the methods.

The v4 optimizers have a m_Weights variable which
permits applying prior knowledge to the update
parameters.  This allows, for example, the user
to limit a displacement field transform in a
specified (e.g. only in the x-y plane).  This
patch makes this functionality accessible to the
user from the registration methods.

Change-Id: Ie6fc1b571d12fc988091fe6f18b24b5ecd275d52
Merge topic 'OptimizerWeightsAccess'

00c2c36 ENH:  Accessing optimizer weights from the methods.
ENH: Move private constant and method to private header

Move the UpdateHeaderWithMinMaxMean method to the cxx file and move
the GenericUtilities header to the src directory as
itkMRCImageIOPrivate. The min_max_element method are kept private
this way. Additional style tweaks and header include reduction were
done.

Change-Id: I8ca007f87cac67b05e5554b656ff479c36a21255
ENH: Update doxygen.config for 1.8.5.

Change-Id: Ie980e91f8f13ea516b935f9383a6fa26d9c04bbf
Merge topic 'doxygen-bump'

c31f3cc ENH: Update doxygen.config for 1.8.5.
ENH: Adding BinShrinkImageFilter.

From Insight Journal submission:
http://hdl.handle.net/10380/3450

Change-Id: Id9bc32f5c7d267914d9a334faa4488e29baa51da
COMP: Allow single precision space definition

The spacing and physical space definitions for
ITK images is hardcoded as double precision.  This patch
allows for an advanced compiler option to be provided
that rebuilds the entire toolkit so that physical
space is represented by single precision floating
point numbers.

The primary reason for this is to test for performance
issues that arise due to implicit conversion between
double and float.

Change-Id: Ic65146abc390240765682b0f74df60e55061fd2c
Merge topic 'AddBinShrinkFilter'

1018ce6 ENH: Adding BinShrinkImageFilter.
COMP: Fix warnings and missing include

This patch addresses the following warning:
itkBinShrinkImageFilter.hxx:117:54: warning: declaration of
'OffsetValueType' shadows a global declaration

by removing the unused type.

And addresses compilation errors related to:
itkBinShrinkImageFilter.hxx(157): error C2039: 'multiplies' : is not a
member of 'std'

by including the functional header.

Additionally the initial accumulate is cast to size_t to ensure
correct implicit template parameters to accumulate.

Change-Id: I69c5b78b96c2801ce3ffc85c271158464a1a7476
BUG: Fix Valrgrind detected delete mismatch

This patch addresses the following Valgrind detected defect:
 ==10520== Mismatched free() / delete / delete []

Change-Id: Id831307cfb31d8bb39315f97d6df4620916fc1d7
ENH: improve coverage for SetShrinkFactor methods

Change-Id: I51f41d3ae2da54c3cdafed75090f3580ec04730d
Merge topic 'SinglePrecisionSpacingCapabilities'

bc929a9 COMP: Allow single precision space definition
Merge topic 'BinShrinkCoverage'

3e3bce4 ENH: improve coverage for SetShrinkFactor methods
Merge topic 'BinShrinkFixValgrind'

67c8324 BUG: Fix Valrgrind detected delete mismatch
Merge topic 'BinShrinkFixComps'

b5f0fa1 COMP: Fix warnings and missing include
STYLE: running uncrustify and manual fixups

Change-Id: I663acc21e8a09700300eb33ae8b7778e41b3e279
ENH: Moving MRCImageIO out of review

Removing line which registers ImageIOs for factories in side Review
module.

Change-Id: I2ccaf0602f00ce096299477960009babc2050ae5
Merge topic 'MRCImageIOOutReview'

c00935c ENH: Moving MRCImageIO out of review
134f8b2 STYLE: running uncrustify and manual fixups
6e491ae ENH: Move private constant and method to private header
COMP: FindDCMTK - Do not explicitly set DCMTK_DEFINITIONS

Following commit 04ee8cf1 fixing a packaging Debian bug,
the DCMTK_DEFINITIONS was set directly inside the FindDCMTK.cmake
module using "add_definitions".

When used outside of this project, setting automatically the definition
could have some unintended effects. For example, by globally adding
DCMTK_DEFINITIONS (and more specifically HAVE_CONFIG_H), it prevented from
compiling successfully program against the "tclap" library. Compile errors
like the following occurred:

// ------------------
In file included from <DIR>/SlicerExecutionModel/tclap/include/tclap/CmdLine.h:27:0,
                 from <DIR>/Slicer-build/Modules/CLI/CheckerBoardFilter/CheckerBoardFilterCLP.h:13,
                 from <SRC>/Modules/CLI/CheckerBoardFilter/CheckerBoardFilter.cxx:23:
<DIR>/SlicerExecutionModel/tclap/include/tclap/MultiSwitchArg.h:44:2: error: #error "Need a stringstream (sstream or strstream) to compile!"
 #error "Need a stringstream (sstream or strstream) to compile!"
  ^
<DIR>/SlicerExecutionModel/tclap/include/tclap/MultiSwitchArg.h:171:2: error: #error "Need a stringstream (sstream or strstream) to compile!"
 #error "Need a stringstream (sstream or strstream) to compile!"
  ^
In file included from <DIR>/SlicerExecutionModel/tclap/include/tclap/UnlabeledValueArg.h:30:0,
                 from <DIR>/SlicerExecutionModel/tclap/include/tclap/CmdLine.h:28,
                 from <DIR>/Slicer-build/Modules/CLI/CheckerBoardFilter/CheckerBoardFilterCLP.h:13,
                 from <SRC>/Modules/CLI/CheckerBoardFilter/CheckerBoardFilter.cxx:23:
<DIR>/SlicerExecutionModel/tclap/include/tclap/ValueArg.h:43:2: error: #error "Need a stringstream (sstream or strstream) to compile!"
 #error "Need a stringstream (sstream or strstream) to compile!"
  ^
<DIR>/SlicerExecutionModel/tclap/include/tclap/ValueArg.h:97:2: error: #error "Need a stringstream (sstream or strstream) to compile!"
 #error "Need a stringstream (sstream or strstream) to compile!"
  ^
// ------------------

Change-Id: I72357688765ce419541b4d893df870268da4b960
COMP: Associate ITKIODCMTK with DCMTK_DEFINITIONS

Following commits 04ee8cf and 361d2ea, DCMTK_DEFINITIONS was associated
with ITKIODCMTK target as a side effect of calling
"add_definitions(-D${DCMTK_DEFINITIONS})" in FindDCMTK.cmake.

Then, as explained in commit 0789e1d, the call to "add_definitions" has
been removed to prevent compile side effect in project building against ITK
and using the FindDCMTK.cmake provided by ITK.

This commit accounts for that change by explicitly associating the
DCMTK_DEFINITIONS with ITKIODCMTK target.

Change-Id: Ia21dd65eaa0aadaf2f2eafb034aea48b42d71a8c