<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    My apologies for not reading the documentation. <span
      class="moz-smiley-s6"><span> :-[ </span></span><br>
    <br>
    However, the v4 version,
    JointHistogramMutualInformationImageToImageMetricv4, truly is
    undocumented. What is its thread safety?<br>
    <br>
    Thanks,<br>
    Tim<br>
    <br>
    <div class="moz-cite-prefix">On 13-03-12 05:33 PM, Christopher
      Mullins wrote:<br>
    </div>
    <blockquote
cite="mid:CABVTP-JLpuJeUVj7wrb650m+nw_Aro3pw2twfoe=NdkQ-z_fcw@mail.gmail.com"
      type="cite">
      <div dir="ltr"><span
style="color:rgb(0,0,0);font-family:Geneva,Arial,Helvetica,sans-serif;font-size:14px"><i>"This
            class in not thread safe due the private data structures
            used to the store the sampled points and the marginal and
            joint pdfs." [1]</i></span><br>
        <div><span
style="color:rgb(0,0,0);font-family:Geneva,Arial,Helvetica,sans-serif;font-size:14px"><i><br>
            </i></span></div>
        <div><span
style="color:rgb(0,0,0);font-family:Geneva,Arial,Helvetica,sans-serif;font-size:14px"><i>[1] </i></span><a
            moz-do-not-send="true"
href="http://www.itk.org/Doxygen314/html/classitk_1_1MattesMutualInformationImageToImageMetric.html">http://www.itk.org/Doxygen314/html/classitk_1_1MattesMutualInformationImageToImageMetric.html</a></div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Tue, Mar 12, 2013 at 4:50 PM, Rick
          Frank <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:rfrank@dominionsw.com" target="_blank">rfrank@dominionsw.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="auto">
              <div>What is the reason it is not thread safe?<br>
                <br>
                Rick Frank</div>
              <div>
                <div class="h5">
                  <div><br>
                    On Mar 12, 2013, at 2:10 PM, "Tim Allman" &lt;<a
                      moz-do-not-send="true"
                      href="mailto:dr.tim.allman@gmail.com"
                      target="_blank">dr.tim.allman@gmail.com</a>&gt;
                    wrote:<br>
                    <br>
                  </div>
                  <blockquote type="cite">
                    <div> I have been living with mutual information day
                      and night for  a while. You can get more
                      information about Normalised MI in D. Rueckert et
                      al. IEEE Trans. Med. Imag., 18 712 (1999) and
                      Mattes MI in Mattes et al IEEE Trans. Med. Imag.,
                      22 120-128 (2003) and references contained
                      therein.<br>
                      <br>
                      If you understand the methods in the papers, the
                      ITK classes start to make sense in spite of the
                      poor documentation. It is undocumented but true
                      that Mattes MI is not thread safe so you must set
                      the number of threads it uses to 1. I don't know
                      about the other.<br>
                      <br>
                      Tim<br>
                      <br>
                      <div>On 13-03-12 01:26 PM, Pedro Morais wrote:<br>
                      </div>
                      <blockquote type="cite">Good afternoon,
                        <div><br>
                        </div>
                        <div>I'm working with Mattes Mutual Information
                          to register a MRI sequence.</div>
                        <div>Someone can send me some information about
                          Mattes Mutual Information implementation,
                          there are a lot of parameters but I think that
                          the documentation is not enough.</div>
                        <div>I don't understand what is the difference
                          between the Normalized Mutual Information and
                          Mattes Mutual Information. I need to decide
                          between the two methods, but I need to know
                          the advantagens of each technique.</div>
                        <div><br>
                        </div>
                        <div>Thanks for the help.</div>
                        <div>
                          <div>-- </div>
                          <div>Kind Regards,</div>
                          <div><br>
                          </div>
                          Pedro Morais </div>
                        <br>
                        <fieldset></fieldset>
                        <br>
                        <pre>_____________________________________
Powered by <a moz-do-not-send="true" href="http://www.kitware.com" target="_blank">www.kitware.com</a>

Visit other Kitware open-source projects at
<a moz-do-not-send="true" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a>

Kitware offers ITK Training Courses, for more information visit:
<a moz-do-not-send="true" href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a>

Please keep messages on-topic and check the ITK FAQ at:
<a moz-do-not-send="true" href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a>

Follow this link to subscribe/unsubscribe:
<a moz-do-not-send="true" href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a>
</pre>
                      </blockquote>
                      <br>
                      <pre cols="72">-- 
Tim Allman, Ph.D.
35 Margaret Street,
Guelph Ontario N1E 5R6
Canada
</pre>
                    </div>
                  </blockquote>
                </div>
              </div>
              <blockquote type="cite">
                <div>&lt;dr_tim_allman.vcf&gt;</div>
              </blockquote>
              <div class="im">
                <blockquote type="cite">
                  <div><span>_____________________________________</span><br>
                    <span>Powered by <a moz-do-not-send="true"
                        href="http://www.kitware.com" target="_blank">www.kitware.com</a></span><br>
                    <span></span><br>
                    <span>Visit other Kitware open-source projects at</span><br>
                    <span><a moz-do-not-send="true"
                        href="http://www.kitware.com/opensource/opensource.html"
                        target="_blank">http://www.kitware.com/opensource/opensource.html</a></span><br>
                    <span></span><br>
                    <span>Kitware offers ITK Training Courses, for more
                      information visit:</span><br>
                    <span><a moz-do-not-send="true"
                        href="http://www.kitware.com/products/protraining.php"
                        target="_blank">http://www.kitware.com/products/protraining.php</a></span><br>
                    <span></span><br>
                    <span>Please keep messages on-topic and check the
                      ITK FAQ at:</span><br>
                    <span><a moz-do-not-send="true"
                        href="http://www.itk.org/Wiki/ITK_FAQ"
                        target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a></span><br>
                    <span></span><br>
                    <span>Follow this link to subscribe/unsubscribe:</span><br>
                    <span><a moz-do-not-send="true"
                        href="http://www.itk.org/mailman/listinfo/insight-users"
                        target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a></span><br>
                  </div>
                </blockquote>
              </div>
            </div>
            <br>
            _____________________________________<br>
            Powered by <a moz-do-not-send="true"
              href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
            <br>
            Visit other Kitware open-source projects at<br>
            <a moz-do-not-send="true"
              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 moz-do-not-send="true"
              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 moz-do-not-send="true"
              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 moz-do-not-send="true"
              href="http://www.itk.org/mailman/listinfo/insight-users"
              target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
            <br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        Christopher Mullins
        <div>R&amp;D Engineer</div>
        <div>Kitware Inc.,</div>
        <div>919.869.8871</div>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Tim Allman, Ph.D.
35 Margaret Street,
Guelph Ontario N1E 5R6
Canada
</pre>
  </body>
</html>