ENH: Improved writing speed for TIFF images

Previously, in itkTIFFImageIO.cxx rowsperstrip was set to a default
value so that it would be calculated using the STRIP_SIZE_DEFAULT
defined to be 8 kB in tiffiop.h. However, this a very conservative
small number, and it leads to very small strips resulting in many io
operations, which can be slow when written over networks that require
encryption/decryption of each packet (such as sshfs). Conversely, if
the value is too high, a lot of extra memory is required to store the
strips before they are written out. Experiments writing TIFF images to
drives mapped by sshfs showed that a good tradeoff is achieved when
the STRIP_SIZE_DEFAULT is increased to 1 MB. Rather than change that
value in the third party libtiff library, we instead compute the
rowsperstrip in itkTIFFImageIO.cxx to lead to this same value.

This results in an increase in memory usage but no increase in writing
time when writing locally and significant writing time improvement
when writing over sshfs.  For example, writing a 2048x2048 uint16
image with 8 kB per strip leads to 2 rows per strip and takes about
120 seconds writing over sshfs. Using 1 MB per strip leads to 256 rows
per strip, which takes only 4 seconds to write over sshfs.

This has no effect on accuracy, only writing time.  All of the tests
still pass.

Change-Id: Id3a99fbcbcd430e6436dbf262aab2fc70b82937a
PERF: fix cppcheck issues in itk::ImageRegion

[Modules/Core/Common/include/itkImageRegion.h:184]: (performance) Variable 'same' is reassigned a value before the old one has been used.
[Modules/Core/Common/include/itkImageRegion.h:195]: (performance) Variable 'same' is reassigned a value before the old one has been used.

Change-Id: Ib03a09a37e92216d8a7ed05891eb2a5bd578858d
STYLE: fix cppcheck style warning

[Modules/Core/Common/include/itkNeighborhoodOperator.hxx:45]: (style) The scope of the variable 'swap_with' can be reduced.

Change-Id: I98f8ab8dde19b8107c3d08ad91c1d2b855fe529a
STYLE: fix cppcheck errors

[Modules/Core/Common/include/itkAnnulusOperator.hxx:107]: (style) The scope of the variable 'inInner' can be reduced.
[Modules/Core/Common/include/itkAnnulusOperator.hxx:107]: (style) The scope of the variable 'inOuter' can be reduced.

Change-Id: Ie604468f2d33a200c86b1bfc1b4a730b4525c6a3
Merge topic 'TIFFRowsPerStrip'

730faa1 ENH: Improved writing speed for TIFF images
Merge topic 'cppcheckAnnulus'

e80466f STYLE: fix cppcheck errors
10f2d49 STYLE: fix cppcheck style warning
24ee0c7 PERF: fix cppcheck issues in itk::ImageRegion