# Contact: Matt McCormick <matt.mccormick@kitware.com>
itk_fetch_module(BridgeNumPy
  "This module contains wrapper code to convert ITK Image's to
  NumPy array's and back.  For example:

    import itk
    ImageType = itk.Image[itk.F, 2]
    image = ImageType.New()
    array = itk.PyBuffer[ImageType].GetArrayFromImage(image)
    image = itk.PyBuffer[ImageType].GetImageFromArray(array)

  See http://insight-journal.org/browse/publication/85
      https://hdl.handle.net/1926/188"
  GIT_REPOSITORY ${git_protocol}://github.com/InsightSoftwareConsortium/ITKBridgeNumPy.git
  GIT_TAG 6218266e76d00439bbad32d1d3acec069442aeab
  )

# Contact: Matt McCormick <matt.mccormick@kitware.com>
itk_fetch_module(BridgeNumPy
  "This module contains wrapper code to convert ITK Image's to
  NumPy array's and back.  For example:

    import itk
    ImageType = itk.Image[itk.F, 2]
    image = ImageType.New()
    array = itk.PyBuffer[ImageType].GetArrayFromImage(image)
    image = itk.PyBuffer[ImageType].GetImageFromArray(array)

  See http://insight-journal.org/browse/publication/85
      https://hdl.handle.net/1926/188"
  GIT_REPOSITORY ${git_protocol}://github.com/InsightSoftwareConsortium/ITKBridgeNumPy.git
  GIT_TAG 9b5b17a462e88478f3ea780b805b6a3a5e10dee5
  )

Address memory leak, remove NumPy build dep in BridgeNumPy
BUG: Address memory leak, remove NumPy build dep in BridgeNumPy

This addresses a memory leak, reported on the mailing list, and remove the
build dependency on NumPy as well as other improvements.

git shortlog --no-merges 6218266e7..9b5b17a462e8

  HYUN JAE KANG (5):
        ENH: Update the module of ITKBridgeNumPy
        ENH : Add itemset function to itkndarray class
        BUG. Fixed inappropriate argument number of _GetArrayFromImage
        STYLE: Removed debug messages.
        ENH: Update itkPyBuffer.py

  Matt McCormick (13):
        ENH: Build the module externally
        ENH: Add CTestConfig.cmake
        ENH: Add Docker testing
        ENH: Add CircleCI configuration
        STYLE: Fix KWStyle test
        BUG: Address memory leak in GetImageFromArray
        BUG: Address CPython API exception raising
        BUG: Fix itkPyBufferTest name
        BUG: Do not add tests with ITK < 4.11
        BUG: Update testing ITK version to in development 4.11
        ENH: Add Docker image caching in CircleCI
        ENH: Use local Debian mirror to improve package download reliability
        DOC: Update README

Change-Id: I1700fa0d95e418c3d2f86e9c676df9c924402dba
