Filter Image Without Copying Its Data
=====================================

.. index::
   single: InPlaceImageFilter

Synopsis
--------

Filter an image without copying its data.


Results
-------

.. figure:: cthead1.png
  :scale: 50%
  :alt: Input image

  Input image

.. figure:: OutputBaseline.png
  :scale: 50%
  :alt: Output image

  Output image


Code
----

C++
...

.. literalinclude:: Code.cxx
   :lines: 18-

Python
......

.. literalinclude:: Code.py
   :language: python
   :lines: 1, 18-


Classes demonstrated
--------------------

.. breathelink:: itk::InPlaceImageFilter

Filter Image Without Copying Its Data
=====================================

.. index::
   single: InPlaceImageFilter

Synopsis
--------

Filter an image without copying its data.


Results
-------

Output::

  3


Code
----

C++
...

.. literalinclude:: Code.cxx
   :lines: 18-


Classes demonstrated
--------------------

.. breathelink:: itk::InPlaceImageFilter

Remove invalid FilterImageWithoutCopying input / output
DOC: Remove invalid FilterImageWithoutCopying input / output

There is no input or output image files in this example.

This prevented the PDF output from being generated.
