<div dir="ltr">hello<div><br></div><div>i have a problem with when i am using mrf filter in the itk that when  giving labelled image as the input</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 12, 2015 at 9:30 PM,  <span dir="ltr"><<a href="mailto:community-request@itk.org" target="_blank">community-request@itk.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Community mailing list submissions to<br>
        <a href="mailto:community@itk.org">community@itk.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://public.kitware.com/mailman/listinfo/community" target="_blank">http://public.kitware.com/mailman/listinfo/community</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:community-request@itk.org">community-request@itk.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:community-owner@itk.org">community-owner@itk.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Community digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. [ITK-users] Scan line iterators, region iterators and indexes<br>
      (Olivier Commowick)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 12 Apr 2015 10:50:59 +0200<br>
From: Olivier Commowick <<a href="mailto:olivier.commowick@inria.fr">olivier.commowick@inria.fr</a>><br>
To: <a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>
Subject: [ITK] [ITK-users] Scan line iterators, region iterators and<br>
        indexes<br>
Message-ID: <<a href="mailto:AB39D33A-D350-4B16-A556-3D433901E8FA@inria.fr">AB39D33A-D350-4B16-A556-3D433901E8FA@inria.fr</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Hello<br>
<br>
I have recently discovered that many ITK filters have switched to scan line iterators, apparently for speed reasons. I was therefore wondering about switching to them as well in our local code, but I have a few questions regarding them.<br>
<br>
First, I looked at the code and it seems to me that both region and scan line iterators explore regions in the exact same way (apart from the fact that you manually need to switch to the next line in the scan line iterator). I think the answer is yes, but does that mean that if I explore a corresponding sub region of a 4D and a 3D image, the pixel exploration order will be the same (e.g. exploring a 3D sub image of a 4d volume and an other 3d image)?<br>
<br>
Then, there is no scan line iterator with index. Is that something that would be doable and if yes, is it something planned or not ? I have the feeling that If no the most efficient (in a filter with access to the index at each pixel), region iterator with index would be more efficient.<br>
<br>
Thanks in advance<br>
Olivier<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org">Community@itk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/community" target="_blank">http://public.kitware.com/mailman/listinfo/community</a><br>
<br>
<br>
------------------------------<br>
<br>
End of Community Digest, Vol 19, Issue 25<br>
*****************************************<br>
</blockquote></div><br></div>