<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <div class="moz-forward-container"><br>
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Thank you Johannes and Curtis,<br>
        <br>
      </div>
      <blockquote
cite="mid:CADN69yneibrtefo6trgmSqGXQ930u9XGKJoAOnZGAbvNiz8xDw@mail.gmail.com"
        type="cite">
        <div dir="ltr">The method does still exist, but moved to
          DatasetService:
          <div>
            <div class="gmail_extra"><br>
            </div>
            <div class="gmail_extra">    ij.dataset().open(String)</div>
            <div class="gmail_extra"> <br>
            </div>
            <div class="gmail_extra">It still returns a Dataset (so no
              casting is necessary), but now throws only IOException
              instead of those ImgLib2-specific exceptions.</div>
          </div>
        </div>
      </blockquote>
      That is good news. <br>
      Off-topic question: I was wondering if I can search the ij2 source
      for all methods that returns "Dataset" variable for example. If
      so, that would make things easier whenever I face a similar
      problem, currently I can only search for Class names.<br>
      <blockquote
cite="mid:CADN69yneibrtefo6trgmSqGXQ930u9XGKJoAOnZGAbvNiz8xDw@mail.gmail.com"
        type="cite">
        <div dir="ltr">
          <div>
            <div class="gmail_extra"><br>
            </div>
            I have also updated the tutorials accordingly, in case that
            helps. Please let us know of any problems with it!
            <div class="gmail_extra"><br>
            </div>
          </div>
        </div>
      </blockquote>
      Thanks again, these are wonderful tutorials, and I hope you would
      have time to release some more in the future.<br>
      <blockquote
cite="mid:CADN69yneibrtefo6trgmSqGXQ930u9XGKJoAOnZGAbvNiz8xDw@mail.gmail.com"
        type="cite">
        <div dir="ltr">
          <div>
            <div class="gmail_extra"> Regards,</div>
            <div class="gmail_extra">Curtis<br>
              <br>
            </div>
          </div>
        </div>
      </blockquote>
      <br>
      <blockquote
cite="mid:CADN69yneibrtefo6trgmSqGXQ930u9XGKJoAOnZGAbvNiz8xDw@mail.gmail.com"
        type="cite">
        <div dir="ltr">
          <div>
            <div class="gmail_extra">
              <div class="gmail_quote">
                <blockquote class="gmail_quote" style="margin:0px 0px
                  0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                  <br>
                  If you *know* that you want to open an image (and you
                  need to open it<br>
                  yourself rather than being nice and asking the user to
                  open the image or<br>
                  create it or obtain in any way they want rather than
                  the way you want them<br>
                  to) use the ImgOpener class of SCIFIO:<br>
                  <a moz-do-not-send="true"
href="http://jenkins.imagej.net/view/SCIFIO/job/SCIFIO-javadoc/javadoc/io/scif/img/ImgOpener.html"
                    target="_blank">http://jenkins.imagej.net/view/SCIFIO/job/SCIFIO-javadoc/javadoc/io/scif/img/ImgOpener.html</a><br>
                  <br>
                </blockquote>
              </div>
            </div>
          </div>
        </div>
      </blockquote>
      I will try the ImgOpener later, but for now I will just use the
      dataset().open from the dataset() service as I am already testing
      with Dataset.<br>
      <blockquote
cite="mid:CADN69yneibrtefo6trgmSqGXQ930u9XGKJoAOnZGAbvNiz8xDw@mail.gmail.com"
        type="cite">
        <div dir="ltr">
          <div>
            <div class="gmail_extra">
              <div class="gmail_quote">
                <blockquote class="gmail_quote" style="margin:0px 0px
                  0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                  However, I strongly suggest that you try to make your
                  plugin as flexible<br>
                  as possible by stating that you want a Dataset as a
                  @Parameter instead of<br>
                  forcing the user to store the image as a file and then
                  read it back.<br>
                  <br>
                </blockquote>
              </div>
            </div>
          </div>
        </div>
      </blockquote>
      In this regard I am loading the image directly for two benefits,
      first when I am testing my code I don't have to choose manually
      the image each time. Second, to load and process a set of images
      automatically.<br>
      <br>
      <blockquote
cite="mid:CADN69yneibrtefo6trgmSqGXQ930u9XGKJoAOnZGAbvNiz8xDw@mail.gmail.com"
        type="cite">
        <div dir="ltr">
          <div>
            <div class="gmail_extra">
              <div class="gmail_quote">
                <blockquote class="gmail_quote" style="margin:0px 0px
                  0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                  Ciao,<br>
                  Johannes<br>
                  <div class="">
                    <div class="h5"><br>
                      _______________________________________________<br>
                      ImageJ-devel mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:ImageJ-devel@imagej.net">ImageJ-devel@imagej.net</a><br>
                      <a moz-do-not-send="true"
                        href="http://imagej.net/mailman/listinfo/imagej-devel"
                        target="_blank">http://imagej.net/mailman/listinfo/imagej-devel</a><br>
                    </div>
                  </div>
                </blockquote>
              </div>
              <br>
            </div>
          </div>
        </div>
      </blockquote>
      Thank you again, keep the good work going on :)<br>
      <br>
      Best Regards,<br>
      Mohamed Tleis<br>
      <br>
    </div>
    <br>
  </body>
</html>