Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
7489831
DOC: Adding license
dzenanz Jul 15, 2016
c1bab93
ENH: Initial import (copy from ITK-SNAP)
dzenanz Jul 15, 2016
3361879
COMP: Adding ITK build infrastructure
dzenanz Jul 15, 2016
98f51e8
ENH: Adding test images
dzenanz Jul 19, 2016
a70cc9b
ENH: Adding tests
dzenanz Jul 19, 2016
5b716bf
COMP: builds
dzenanz Jul 19, 2016
d201941
ENH: Adding 2D test and putting iterator tests first
dzenanz Jul 19, 2016
324b41e
BUG: Fixing and enabling itkImageRegionIteratorTest
dzenanz Jul 19, 2016
06ab6f0
ENH: Putting the class into itk namespace
dzenanz Jul 19, 2016
0f219b1
DOC: Passing KWStyle test and InDoxygenGroup tests
dzenanz Jul 19, 2016
da11fa5
STYLE: File renames (adding itk prefix)
dzenanz Jul 19, 2016
9a41670
ENH: Only #include <itkRLEImage.h> is needed in user code
dzenanz Jul 19, 2016
c98e22c
DOC: Adding Apache 2.0 license
dzenanz Jul 19, 2016
3a7f1f5
ENH: Renaming internal variables to comply with m_Name pattern
dzenanz Jul 19, 2016
c574a2a
STYLE: KWStyle: variable declaration alignment
dzenanz Jul 19, 2016
ba0c27c
STYLE: Minor constructor style modification
dzenanz Jul 25, 2016
18edc9f
STYLE: Applied clang-format
dzenanz Jul 25, 2016
d709508
ENH: Uncrustifying
dzenanz Jul 26, 2016
27d4daf
ENH: Merge pull request #3 from dzenanz/master
thewtex Jul 27, 2016
07a636c
ENH: Specialization for different in/out pixel/counter types and
dzenanz Jul 27, 2016
e7fe58f
ENH: Merge pull request #4 from dzenanz/master
dzenanz Jul 28, 2016
b3a9dc1
ENH: Adding RLEImage specific tests
dzenanz Jul 29, 2016
e1e26d5
ENH: Merge pull request #5 from dzenanz/master
thewtex Jul 29, 2016
1e08e91
COMP: Trying to resolve build failures in the main repository
dzenanz Jul 29, 2016
ed6bc09
ENH: Merge pull request #6 from dzenanz/master
dzenanz Jul 29, 2016
9a1f7cd
ENH: Manual update before using uncrustify
dzenanz Aug 15, 2016
cce7f6b
ENH: Aggressive uncrustify with manual corrections
dzenanz Aug 16, 2016
cd9b3a0
ENH: Merge pull request #7 from dzenanz/master
thewtex Aug 16, 2016
9108464
BUG: Fixing the linking errors for tests when default modules are not…
dzenanz Aug 22, 2016
f0e029a
ENH: Merge pull request #10 from dzenanz/master
thewtex Aug 22, 2016
7c3fc70
COMP: Addressing compiler warnings
dzenanz Aug 22, 2016
6ca1dd6
ENH: Merge pull request #11 from dzenanz/master
dzenanz Aug 22, 2016
c4b7376
COMP: More warning avoidance
dzenanz Aug 23, 2016
9cda9bb
ENH: Merge pull request #12 from dzenanz/master
thewtex Aug 23, 2016
badda11
ENH: Clearing itk:: prefix
dzenanz Sep 1, 2016
abd139a
ENH: Merge pull request #15 from dzenanz/master
thewtex Sep 1, 2016
bba7aac
ENH: A short example to display compression ratio
dzenanz Sep 2, 2016
14310b7
ENH: Merge pull request #16 from dzenanz/master
thewtex Sep 4, 2016
d3f21d5
ENH: Using testing macros' TRY_EXPECT
dzenanz Jan 3, 2017
4e26384
ENH: Rename tests to all contain the name of the remote module
fbudin69500 Jan 3, 2017
425177a
STYLE: Merge pull request #18 from fbudin69500/rename_tests
dzenanz Jan 3, 2017
753f545
BUG: Fixing warning: 'typename' occurs outside of a template
dzenanz Jan 3, 2017
c6ae30f
ENH: Merge pull request #17 from dzenanz/master
Jan 3, 2017
d861de6
ENH: testing long long
dzenanz Nov 1, 2017
6148660
ENH: Merge pull request #20 from dzenanz/master
dzenanz Nov 1, 2017
77fb098
COMP: fixing copy-pasted duplicate names
dzenanz Nov 1, 2017
d2a7279
ENH: Merge pull request #21 from dzenanz/master
dzenanz Nov 1, 2017
065099b
ENH: Require cmake minimum version to be 3.9.5.
Jan 19, 2018
8dab862
COMP: Merge pull request #22 from jhlegarreta/ChangeRequiredCMakeMini…
dzenanz Jan 19, 2018
a3efd98
ENH: ITKv5 override consistency
hjmjohnson Dec 17, 2017
58944ef
COMP: Use C++11 override directly
hjmjohnson Dec 17, 2017
936be81
COMP: Use C++11 nullptr directly
hjmjohnson Dec 17, 2017
59bc797
COMP: Use nullptr instead of 0 or NULL
hjmjohnson Dec 17, 2017
51ce191
COMP: Use C++ headers over C header
hjmjohnson Jan 14, 2018
d5ed962
BUG: Prevent unintended propagation of region from input image
dzenanz Feb 7, 2018
96ebc68
ENH: Merge pull request #24 from dzenanz/master
thewtex Feb 7, 2018
71854c3
STYLE: Replace itkStaticConstMacro with static constexpr
hjmjohnson Feb 13, 2018
28b7ff4
STYLE: Prefer C++11 type alias over typedef
hjmjohnson Feb 13, 2018
ac9bbd0
STYLE: Prefer constexpr for const numeric literals
hjmjohnson Feb 13, 2018
0ee907e
COMP: Move ITK_DISALLOW_COPY_AND_ASSIGN calls to public section.
Apr 14, 2018
c9b5566
COMP: Set the minimum required CMake version to 3.10.2.
May 5, 2018
22fef66
COMP: Merge pull request #27 from jhlegarreta/UpdateCMakeMinimumRequi…
dzenanz May 5, 2018
3aee2f1
STYLE: aligning header comments, removing comments from implementatio…
dzenanz May 15, 2018
33c5d34
ENH: adding a small test image to aid debugging, updating Dockerfile
dzenanz May 15, 2018
92b63a7
ENH: using the new multi-threading mechanism
dzenanz May 15, 2018
44eb911
ENH: simplifying code by using Region::Slice()
dzenanz May 16, 2018
07763fe
ENH: Merge pull request #28 from dzenanz/master
dzenanz May 16, 2018
a505004
BUG: Fix test errors steming from the new multi-threading mechanism.
May 21, 2018
20d9d0a
ENH: Merge pull request #29 from jhlegarreta/FixPoolMultiThreaderErrors
thewtex May 26, 2018
35986e0
ENH: Prefer boolean macro call to initialize dynamic multi-threading …
May 28, 2018
dcfa3a8
ENH: Merge pull request #30 from jhlegarreta/PreferBooleanMacroCallTo…
dzenanz May 28, 2018
bdad1a6
ENH: Replacing MD5 hashes by SHA512 hashes in test data
dzenanz Oct 15, 2018
9f1ffea
ENH: Merge pull request #31 from dzenanz/master
dzenanz Oct 17, 2018
f4ef4d6
DOC: Improve the `itk-module.cmake` documentation,
jhlegarreta Nov 11, 2018
c6ec36e
COMP: Merge pull request #34 from jhlegarreta/ImproveITKModuleCMakeDoc
dzenanz Nov 12, 2018
adc83f4
ENH: Improve CI.
jhlegarreta Nov 10, 2018
c2b186d
ENH: Merge pull request #33 from jhlegarreta/ImproveCI
dzenanz Nov 13, 2018
5ac25ab
ENH: run memory-intensive tests serially
dzenanz Apr 12, 2019
e21ba8b
ENH: Change to enum to new enum class definitions
mseng10 Aug 20, 2019
95e0a91
STYLE: Add ITK prefix to testing macros
jhlegarreta Jun 15, 2019
cde619f
STYLE: remove void keyword used instead of formal parameters
dzenanz Dec 11, 2019
cc3aff7
COMP: follow rename of ImageIOFactory FileModeType into FileModeEnum
dzenanz Dec 14, 2019
aeb7cdd
ENH: run the big tests only if the test machine has 16GB or more
dzenanz Dec 16, 2019
f69811d
ENH: update enums to match recent changes in ITK
dzenanz Feb 17, 2020
2ee4419
ENH: Add .gitattributes to allow running ITK clang-formatting scripts
hjmjohnson Feb 19, 2020
06a140b
STYLE: Prefer = delete to explicitly trivial implementations
hjmjohnson Feb 17, 2020
befeef1
STYLE: Prefer = default to explicitly trivial implementations
hjmjohnson Feb 17, 2020
21f4e9f
STYLE: Use default member initialization
hjmjohnson Feb 17, 2020
7d147d4
DOC: Update copyright assignment to NumFOCUS
hjmjohnson Feb 19, 2020
fefb87a
COMP: Use and move ITK_DISALLOW_COPY_AND_ASSIGN call to public section
jhlegarreta Feb 20, 2020
be31ff3
BUG: Fix 'test not run' error thrown when built as ITK remote.
mseng10 Apr 14, 2020
c12733c
STYLE: Rename ITK_DISALLOW_COPY_AND_ASSIGN to ITK_DISALLOW_COPY_AND_MOVE
mseng10 Oct 14, 2020
9c02225
BUG: CleanUp did not compile
dzenanz Jan 25, 2021
4fba5af
COMP: fix wrapping of RLEImage
dzenanz Jan 25, 2021
a51e8b7
ENH: proper wrapping of ROI filter for RLEImage
dzenanz Jan 25, 2021
9912e78
ENH: add testing of Python instantiation of ROI filter for RLEImage
dzenanz Jan 25, 2021
e4923e7
COMP: fix Linux compile error
dzenanz Jan 26, 2021
334aedd
ENH: Merge pull request #52 from KitwareMedical/fixWrapping
thewtex Jan 26, 2021
4e401df
COMP: Remove inclusion of .hxx files as headers
hjmjohnson Dec 17, 2021
0b01169
COMP: Fix assertion condition. It failed to compile in Debug mode.
dzenanz Feb 16, 2022
1015fe3
ENH: Bump ITK and change http to https
tbirdso May 31, 2022
3aded4c
STYLE: Use trailing return type instead of typename + dependent type
dzenanz Apr 26, 2023
c258328
ENH: Bump to ITKv5.4rc02.
aylward Dec 17, 2023
d3e538f
COMP: Uninitialized in GetNumberOfComponentsPerPixel
thewtex Apr 1, 2024
e54d6d4
COMP: Add compiler deduction guides RLEImage ImageScanlineConstIterator
thewtex Apr 1, 2024
f98d680
BUG: Fix Python test expression
thewtex Jun 19, 2024
94ff8ac
ENH: Merge pull request #64 from thewtex/itk-5.4.0
thewtex Jun 22, 2024
be3b584
COMP: Fix clang compile error in MCI TestWithRLEImage.cxx
dzenanz Jan 6, 2025
51b346e
COMP: Use modern macro for name of class
hjmjohnson Jan 25, 2025
34bb812
STYLE: ITK_FUTURE_LEGACY_REMOVE itkTypeMacro and itkTypeMacroNoParent
hjmjohnson Jan 25, 2025
42daf32
ENH: Merge pull request #69 from hjmjohnson/fix-legacy-remove
dzenanz Jan 27, 2025
f051764
ENH: Convert ExternalData .sha512 tags to .cid (IPFS content IDs)
hjmjohnson Apr 29, 2026
d687055
ENH: Ingest ITKRLEImage into Modules/Filtering
hjmjohnson May 4, 2026
e068d5a
STYLE: Apply gersemi 0.19.3 to RLEImage wrapping test CMakeLists
hjmjohnson May 4, 2026
1f03dba
DOC: Add RLEImage module README pointing at archived upstream
hjmjohnson May 4, 2026
6ad310b
COMP: Remove RLEImage remote-fetch cmake (now in-tree)
hjmjohnson May 4, 2026
d02473a
ENH: Enable Module_RLEImage in configure-ci pixi task
hjmjohnson May 4, 2026
ea07180
BUG: Add CTAD deduction guides for RLEImage iterator specializations
hjmjohnson May 4, 2026
71008a1
BUG: Make RLEImage GetBuffer() const return ConstPointer
hjmjohnson May 5, 2026
d3978e1
COMP: Drop stray itkRLEImageIteratorWithIndexTest argument
hjmjohnson May 5, 2026
1447f3a
COMP: Drop dead cmake_minimum_required + standalone wrapper from RLEI…
hjmjohnson May 5, 2026
5f48a03
ENH: Test that pins MultiLabelMeshPipeline friend on RLE iterators
hjmjohnson May 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Modules/Filtering/RLEImage/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
project(RLEImage)

if(POLICY CMP0135)
cmake_policy(SET CMP0135 NEW)
endif()

itk_module_impl()
201 changes: 201 additions & 0 deletions Modules/Filtering/RLEImage/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
https://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright {yyyy} {name of copyright owner}

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
30 changes: 30 additions & 0 deletions Modules/Filtering/RLEImage/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# RLEImage

In-tree ITK module providing a run-length-encoded image type for
memory-efficient storage of large label volumes (segmentation masks).
The flagship class `itk::RLEImage<TPixel, VImageDimension, CounterType>`
is a drop-in replacement for `itk::Image` in many label-image
workflows, with iterators and filters that operate directly on the
encoded representation.

## Origin

Ingested from the standalone remote module
[**KitwareMedical/ITKRLEImage**](https://github.com/KitwareMedical/ITKRLEImage)
on 2026-05-04 via the v4 ingestion pipeline. The upstream repository
will be archived read-only after this PR merges; it remains
reachable at the URL above for historical reference.

## Companion module

`itk::MorphologicalContourInterpolation` (in
`Modules/Filtering/MorphologicalContourInterpolation/`) has an
optional `TEST_DEPENDS` on this module — the
`itkMorphologicalContourInterpolationTestWithRLEImage` test
exercises that integration.

## References

- Zukić D., Vicory J., McCormick M., Wisse L., Gerig G., Yushkevich P.,
Aylward S. *ND morphological contour interpolation.* The Insight
Journal. 2016. <https://doi.org/10.54294/achtrg>
Loading
Loading