<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div markdown-here-wrapper-content-modified="true" style=""
class="markdown-here-wrapper" data-md-url="Thunderbird">
<p style="margin: 0px 0px 1.2em ! important;">Dear Users,</p>
<p style="margin: 0px 0px 1.2em ! important;">I have trouble
applying the concepts behind the release data flag, and memory
management of itk to a particular problem.</p>
<p style="margin: 0px 0px 1.2em ! important;">I’m developing a
filter with, for part of it, it a rather complex mini pipeline.<br>
H, R, RS, W, WS and M are itk filters.<br>
The filter will be updated frequently, and I’m trying to make
the update only update necessary parts, while keeping memory
imprinting as low as possible.</p>
<p style="margin: 0px 0px 1.2em ! important;">Here is a schematic,
simplified graph representing my filter :</p>
<pre style="font-size: 0.85em; font-family: Consolas,Inconsolata,Courier,monospace;font-size: 1em; line-height: 1.2em;margin: 1.2em 0px;"><code style="font-size: 0.85em; font-family: Consolas,Inconsolata,Courier,monospace;margin: 0px 0.15em; padding: 0px 0.3em; white-space: pre-wrap; border: 1px solid rgb(234, 234, 234); background-color: rgb(248, 248, 248); border-radius: 3px; display: inline;white-space: pre; overflow: auto; border-radius: 3px; border: 1px solid rgb(204, 204, 204); padding: 0.5em 0.7em; display: block ! important;"> H
| \
v \
R \ -> take as input a parameter P1 that do not change often
| \
/ \ /\
v v v |
RS W |
| | |
| v |
\ WS |
\ | /
v v v
M -> takes parameters P2 that are often updated
</code></pre>
<p style="margin: 0px 0px 1.2em ! important;">I would like to be
able to release the output data of the filter R and of the
filter W, updating them only if the parameter P1 change (which
would trigger update for the whole pipeline), while still being
able to change P2 without having to recalculate R, W and RS.</p>
<p style="margin: 0px 0px 1.2em ! important;">I think it may be
possible with the releaseData flag, don’t really understand
where it should be putted, and if this will do what I need.</p>
<p style="margin: 0px 0px 1.2em ! important;">Thanks a lot for you
help !<br>
Yann</p>
<div
title="MDH:RGVhciBVc2Vycyw8YnI+PGJyPkkgaGF2ZSB0cm91YmxlIGFwcGx5aW5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