ENH: Re-enable LoadPrivateTags option in GDCMImageIO

This feature was fixed by dc66c6c21c6058248b86022e4ac6dafc52233290,
but then removed by f00506be172c9d89314695788770e264f782a6d3. Reading
private tags should be fully supported by GDCM 2.x, so the option
should be made available.

The LoadPrivateTagsDefault option is not being restored, as it adds
unnecessary complexity and global state. Users wishing to change the
LoadPrivateTags or any other option can simply instantiate their own
GDCMImageIO object and pass it to ImageFileReader::SetImageIO().

Change-Id: Iedd1486d83f955e249511800fbdc13c2cf4af0a8
DOC: Fix misspelling in MorphologyImageFilter

Change-Id: I34d3099dcd123e070210fbe58265d1fdbe2dbdc1
COMP: Fix all valid cppcheck warnings in "Module/Core" directory

The cppcheck is run inside the ITK/Module/Core directory and all the
valid cppcheck issues from four different categories are fixed. These
four categories are: performance, style, warning and error.

Some warnings are related to the intentionally created issues that are
provided in test files. Such warnings are an example of what I call
invalid warnings.

The titles of major fixed issues are listed below:

- prefix ++/-- operators are preferred for non-primitive types.
- emptiness of variables are checked in an efficient way.
e.g isntead of using
      if(Foo.size()==0)
    the
      if(Foo.empty())
    is used.
    or instead of using if(Foo.size()>0) the if(!Foo.empty()) is used.

- if possible, variables are passed by reference.
- initialization to assignment is preferred.
- if possible, the scope of variables are reduced.
- unused variables are removed.
- memory leaks are fixed.
- now a copy of the caught exception are thrown instead of rethrowing the
original exception.
- a default constructor is added to classes that did not have any constructor.
- some member variables were not initialized inside the constructors.

- Also, one special case is reported individually:
The if statement in line 264 of
"Modules/Core/Transform/test/itkCenteredEuler3DTransformTest.cxx" file
was false always. I replaced the && statement with ||
statement. This test is still passing after this change.

Finally I should mention that all the ITK tests are passed after the
above changes.

Change-Id: I4915f4a0c72aee910f05d06075c94efb82be7470
COMP: GPUPDEDeformableRegistrationFilter.cl fails to "compile".

The failure happens on Mac OS 10.8 with Intel OpenCL.
It is due to a non OpenCL conformant signature for the GPUPDEDeformableRegistrationFilter.cl
function, cf. http://software.intel.com/en-us/forums/topic/280040
Merge branch 'master' into ModuleCore_cppcheck

Conflicts:
	Modules/Filtering/ImageFeature/test/itkHoughTransform2DCirclesImageTest.cxx
	Modules/Filtering/ImageFeature/test/itkHoughTransform2DLinesImageTest.cxx

Change-Id: Ic7d0129656b0db5f117e94b9fe0b8d0dc7a55e74
Merge topic 'GetImageOffsetNonOpenCLConformant'

2c217a7 COMP: GPUPDEDeformableRegistrationFilter.cl fails to "compile".
Merge topic 'morphology-doc-spell'

74db21b DOC: Fix misspelling in MorphologyImageFilter
Merge topic 'ModuleCore_cppcheck'

dc36f28 Merge branch 'master' into ModuleCore_cppcheck
e56190c COMP: Fix all valid cppcheck warnings in "Module/Core" directory
Merge topic 'gdcm-private'

b2f5221 ENH: Re-enable LoadPrivateTags option in GDCMImageIO
PERF: improve performance of couple of methods of itk::QuadEdgeMesh

Change-Id: I40187974100967a54646075d55d85b4e46cb71f4
ENH: Creating templateless region splitter classes

The end goal of this topic is to consolidate code, enabling re-use,
and modularization to facilitate customization and experimentation
with different splitting algorithms for multi-threading, streaming and
IO.

Creating a new virtual ImageRegionSplitterBase class which does not
have a class template. This enables the same splitter to be used for
the multi-threading, the streaming image filter, and the IO
classes. Additionally, it allows for a global default splitter to use
used and shared.

The current default algorithm of splitting along the slowest dimension
is not implemented in the ImageRegionSplittingSlowDimension class.

There are some novel to ITK design patterns used here which should be
considered.

1) Using a templatedless class with templated function which
dispatches to a function which takes the dimension and arrays. This
allow for compiled functions to be reused.

2) Multiple inheritance is used, to add common static members which
access common data between all implemented instances of the class. That
is it can provide common data and methods for all instantiations
across template instantiations.

Add GetModified IVAR accessors to ImageRegion class.

Change-Id: Ia73a69a32cf5f543540809a466223f9456a9af06
ENH: Adding image region splitter for separable filtering

The recursive separable image filter splits along the dimension which
is the fastest non-active direction. This has been extracted into a
ImageRegionsSplitter class.

Adding wrapping support for new splitters.

Change-Id: Ice0fb13ac5641c0e85b74f4ce70aa83a84d71052
DOC: Fix misspelling in ObjectMorphologyImageFilter

Change-Id: Idc4220aa6b2ddfab6604d3f0842589ab441bdded
STYLE: Remove unnecessary function call in GDCMImageIO

Change-Id: I3f88df3caf545a6b0b2d73f100a16a75fa1ad100
STYLE: Remove calls to deprecated functionality from DICOM Examples / Tests

Change-Id: Id5fd2393bfaf5eedb95975d8df11e2324d5d1513
DOC: Modify JointHistogramMutualInformationImageToImageMetricv4 comments.

Author: dr.tim.allman@gmail.com
Corrected comment.

Change-Id: I9115ce0a3784319db2cc417a5537f9112490ab12
DOC: Modify JointHistogramMutualInformationImageToImageMetricv4 comments.

Author: dr.tim.allman@gmail.com
Incorrect class name in doxygen comment.

Change-Id: Iabc5a51acaadd9c3a1d8468e654c0c6a15666667
Merge topic 'EditDoxygen_JointHistogramMutualInformationImageToImageMetricv4_1363190160'

d407201 DOC: Modify JointHistogramMutualInformationImageToImageMetricv4 comments.
Merge topic 'EditDoxygen_JointHistogramMutualInformationImageToImageMetricv4_1363189266'

551d338 DOC: Modify JointHistogramMutualInformationImageToImageMetricv4 comments.
Merge topic 'Perf_QEMesh'

a36107a PERF: improve performance of couple of methods of itk::QuadEdgeMesh