COMP: Add include directory for ITK_USE_SYSTEM_HDF5.

Required for H5Cpp.h on Windows/MinGW.

Change-Id: I263da09cf66fd2c0b5f1ddf8f9893fcd23739d98
BUG: Denoising 3D patch weights incorrect

Fixes 3D and greater patch weight computations to be correct.  Also,
only resample the patch weights based on relative anisotropy.  Thus
images with spacing 1,1,1 or 0.5,0.5,0.5 should have the same patch
weights.  While an image with spacing 1,1,0.5 would have more weights
in the z direction so that the weights cover the same physical space
in all 3 directions.  Finally, if the center weight is not 1,
normalize it so that it will be 1.

Change-Id: Ib5cf04a32269ede3eade4ae780e85dfe15fcd4cc
Merge topic 'SystemHDF5'

2a776cc COMP: Add include directory for ITK_USE_SYSTEM_HDF5.
COMP: itkLabelImageGaussianInterpolateImageFunctionTest signed unsigned.

comparison warnings.

Change-Id: Iaf779610af7ee37658bd75acd0954ffc14b75277
BUG: Prevent modulus by zero is Modulus functor

If interger division by zero or modulus by zero is performed then the
C++ behavior is undefined and frequently results in program
termination. This should be avoided. The maximum integer values is
choosen when this condition occours.

Change-Id: If7b98363df3bc5acc193f8b66d4d77d4ae069dc3
Merge topic 'LabelImageGaussianWarnings'

4a3787e COMP: itkLabelImageGaussianInterpolateImageFunctionTest signed unsigned.
COMP: Ignore libtool FFTW warnings with quote.

Change-Id: Iee45f0b85053a05b716fa8cbc7f0885b943fa14c
BUG: Enable the rehash method to re-register internal factories.

Previous, the internal factories of ITK were not being re-registered
after the rehash method. The fist is all factories registered with
the RegisterFactoryInternal method are stored in a list, and
registered when the defaults use to be registered.

Additionally, an IOPlugin test has been added to the examples because
the examples have ITK's factories loaded in the conventional way
applications with load then ie with static initialization. This will
provide a better real world usage test of the object factory
registration.

Also fix a bug in itkEventMacro symbol export that was discovered by
this patch.

Change-Id: I9a85e5b28c5af2bd4aae10bf9c1261086e89e3dd
Merge topic 'FixModulusByZero'

c604f33 BUG: Prevent modulus by zero is Modulus functor
COMP: Fix HDF5IO with ITK_USE_64BITS_IDS on Windows.

Fixes:

Change-Id: I89742f26b7de5f3bb8a861e198c233a059a2c5ae
588: itkHDF5ImageIOTest
588: Exception Object caught:
588:
588: itk::ExceptionObject (0000000000BAE658)
588: Location: "unknown"
588: File: ..\..\..\..\..\ITK\Modules\IO\HDF5\src\itkHDF5ImageIO.cxx
588: Line: 77
588: Description: itk::ERROR: Type not handled in HDF5 File: unsigned __int64
COMP: Fix Doxygen warnings.

Change-Id: Ib80a8546454a1a6d519188396900baedf7caf71b
Merge topic 'DenoisingPatchWeightsBug'

887e952 BUG: Denoising 3D patch weights incorrect
Merge topic 'FixObjectFactoryRehash'

ae0721c BUG: Enable the rehash method to re-register internal factories.
Merge topic 'DoxygenWarnings'

a6c5087 COMP: Fix Doxygen warnings.
Merge topic 'FFTWarnings'

ced2a2f COMP: Ignore libtool FFTW warnings with quote.
Merge topic 'HDF5Win64BitIDs'

35c7c93 COMP: Fix HDF5IO with ITK_USE_64BITS_IDS on Windows.
Merge remote-tracking branch 'upstream/master'

Change-Id: I6ff5745ad95b7cc9fd9daa90f33193f5f68c0da2
COMP: Revert recent change to iterator that fails to compile

The gerrit patch http://review.source.kitware.com/#/c/8921/1 purported
to correct doxygen warnings. However, removing some using statements
from itkConstShapedNeighborhoodIterator.h introduced compilation
errors. This patch reverts those changes.

Change-Id: Ia7644b08df458408b4e878a01d27ee6938fe157b
Merge topic 'BrokenIterator'

3e0756c COMP: Revert recent change to iterator that fails to compile
BUG: Incorrect syntax for Intel optimize pragma

Modules/Core/Common/include/itkCompensatedSummation.hxx(32):
warning #250: on or off expected #pragma optimize(, off)

The incorrect syntax had on and off in quotes.

Change-Id: I353ff42c56deb79a1e370d2189e35c3712b9d9f5