<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
A question that then comes to my mind : why do you pass the image as
parameter ? Passing it as input, you would benefit from the pipeline
features, such as making your output outdated when you modify your
input binary mask, or loading of only the required part of your
binary mask, ... <br>
Did you try it, and it didn't work ? I can help you do it this way
if you need.<br>
<br>
Cyril<br>
<br>
<div class="moz-cite-prefix">On 06/17/2016 06:46 PM, Simon Rit
wrote:<br>
</div>
<blockquote
cite="mid:CAF0oig2t3cRmHyoTGy6p7dSMUD1eZ+RD4AHADBQCYHUPzeYqcg@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div dir="ltr">
<div>
<div>
<div>Hi Fabien,<br>
</div>
I can't say I master this but I had to do something similar
in <a moz-do-not-send="true"
href="https://github.com/SimonRit/RTK/blob/master/utilities/SimpleRTK/Code/BasicFilters/json/FieldOfViewImageFilter.json">FieldOfViewImageFilter.json</a>.
Look at the "ProjectionsStack" parameter which is actually a
3D image. How did I come up with such a complicated code? No
clue, but SimpleITK has similar ugly json files, e.g., <a
moz-do-not-send="true"
href="https://github.com/SimpleITK/SimpleITK/blob/master/Code/BasicFilters/json/LabelMapContourOverlayImageFilter.json">LabelMapContourOverlayImageFilter.json</a>.
My guess is that passing an image as a parameters in an itk
image filter is not so common...<br>
</div>
I hope this helps,<br>
</div>
Simon<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Jun 17, 2016 at 11:07 AM,
Fabien Momey <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:fabien.momey@gmail.com" target="_blank">fabien.momey@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>Hi everyone,</div>
<div><br>
</div>
<div>I need some help for updating a JSON file for the
ConjugateGradientConeBeamReconstructionFilter.</div>
<div><br>
</div>
<div>I want to test a new implementation I made on this
filter to perform a support constraint for the
reconstructed image.</div>
<div><br>
</div>
<div>The constraint consists in a binary mask passed as an
attribute. This attribute is a pointer to an image of
type TOutputImage. The default value (in the
constructor) is NULL.</div>
<div><br>
</div>
<div>I don't know how to write it in the JSON file to wrap
this member :</div>
<div><br>
</div>
<div> {</div>
<div> "name" : "SupportMask",</div>
<div> "type" : ?,</div>
<div> "default" : ?,</div>
<div> "briefdescriptionSet" : "",</div>
<div> "detaileddescriptionSet" : "",</div>
<div> "briefdescriptionGet" : "",</div>
<div> "detaileddescriptionGet" : ""</div>
<div> }</div>
<div><br>
</div>
<div>Does it also need to perform a specific cast with the
optional field custom_itk_cast ? I don't really
understand how it works.</div>
<div><br>
</div>
<div>Thanks in advance for your help.</div>
</div>
<br>
_______________________________________________<br>
Rtk-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Rtk-users@public.kitware.com">Rtk-users@public.kitware.com</a><br>
<a moz-do-not-send="true"
href="http://public.kitware.com/mailman/listinfo/rtk-users"
rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/rtk-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Rtk-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rtk-users@public.kitware.com">Rtk-users@public.kitware.com</a>
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/rtk-users">http://public.kitware.com/mailman/listinfo/rtk-users</a>
</pre>
</blockquote>
<br>
</body>
</html>