<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Moreover note that the loops <br>
      <br>
      <div><font face="times new roman, new york, times, serif">for m =
          1 : 76</font></div>
      <div><span style="font-family:'times new roman','new
          york',times,serif">    for i = 1*m : 8*m</span><br>
      </div>
      <div><font face="times new roman, new york, times, serif">      
          for j = 1 : 16</font></div>
      <div><font face="times new roman, new york, times, serif">       
             for k = 1 : 3</font></div>
      <div><font face="times new roman, new york, times, serif"> </font><font
          face="times new roman, new york, times, serif">             
          Im2(i,j,k)=</font><span style="font-family:'times new
          roman','new york',times,serif"> </span><span
          style="font-family:'times new roman','new york',times,serif">Im(i,j,k);</span></div>
      <div><font face="times new roman, new york, times, serif">       
            end;</font></div>
      <div><font face="times new roman, new york, times, serif">     
          end;</font></div>
      <div><font face="times new roman, new york, times, serif">  end;</font></div>
      <div><font face="times new roman, new york, times, serif">end;</font></div>
      <br>
      <br>
      can be replaced by a much more efficient code:<br>
      <font face="times new roman, new york, times, serif"><br>
        i = 1:(m*8);<br>
        j = 1 : 16;</font>
      <div><font face="times new roman, new york, times, serif">k = 1 :
          3;</font></div>
      <font face="times new roman, new york, times, serif"></font><font
        face="times new roman, new york, times, serif">Im2(i,j,k)=</font><span
        style="font-family:'times new roman','new york',times,serif"> </span><span
        style="font-family:'times new roman','new york',times,serif">Im(i,j,k);</span>
      <br>
      <br>
      <br>
      Serge Steer<br>
      <br>
      Le 16/10/2012 12:49, Eric Dubois a écrit :<br>
    </div>
    <blockquote
cite="mid:CAGgDjFQSCCTo=HMwqK=OKxjrdhFbKxzd+WaP2R5XimMcTY1dPA@mail.gmail.com"
      type="cite">
      <p>stacksize('max') may help.</p>
      <p>Éric</p>
      <div class="gmail_quote">Le 16 oct. 2012 12:21, "Anton Julio" <<a
          moz-do-not-send="true" href="mailto:o_nire@yahoo.it">o_nire@yahoo.it</a>>
        a écrit :<br type="attribution">
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div>
            <div style="font-size:12pt;font-family:times new roman,new
              york,times,serif">
              <div style="font-family:'times new roman','new
                york',times,serif;font-size:12pt">Hi,</div>
              <div style="font-family:'times new roman','new
                york',times,serif;font-size:12pt">
                I'm using IPD and SIVP, This is my code</div>
              <div style="font-family:'times new roman','new
                york',times,serif;font-size:12pt"><br>
              </div>
              <div>
                <div><font face="times new roman, new york, times,
                    serif">Im = imread('C:\Users\Pictures\Lion2.png');</font></div>
                <div><br>
                </div>
                <div><font face="times new roman, new york, times,
                    serif">[h,l,c]=size(Im);</font></div>
                <div><font face="times new roman, new york, times,
                    serif">Im2 = zeros(h,l,c);</font></div>
                <div><font face="times new roman, new york, times,
                    serif">for m = 1 : 76</font></div>
                <div><span style="font-family:'times new roman','new
                    york',times,serif">    for i = 1*m : 8*m</span><br>
                </div>
                <div><font face="times new roman, new york, times,
                    serif">    for j = 1 : 16</font></div>
                <div><font face="times new roman, new york, times,
                    serif">        for k = 1 : 3</font></div>
                <div><font face="times new roman, new york, times,
                    serif"> </font><font face="times new roman, new
                    york, times, serif">            Im2(i,j,k)=</font><span
                    style="font-family:'times new roman','new
                    york',times,serif"> </span><span
                    style="font-family:'times new roman','new
                    york',times,serif">Im(i,j,k);</span></div>
                <div><font face="times new roman, new york, times,
                    serif">        end;</font></div>
                <div><font face="times new roman, new york, times,
                    serif">    end;</font></div>
                <div><font face="times new roman, new york, times,
                    serif">end;</font></div>
                <div><font face="times new roman, new york, times,
                    serif">end;</font></div>
                <div><span style="font-family:'times new roman','new
                    york',times,serif">imshow(Im2);</span><br>
                </div>
                <div
                  style="font-style:normal;font-size:16px;background-color:transparent;font-family:'Times
                  New Roman'">
                  <span style="font-family:'times new roman','new
                    york',times,serif"><br>
                  </span></div>
                <div
                  style="font-style:normal;font-size:16px;background-color:transparent;font-family:'times
                  new roman','new york',times,serif">
                  <span style="font-family:'times new roman','new
                    york',times,serif">and error message</span></div>
                <div
                  style="font-style:normal;font-size:16px;background-color:transparent;font-family:'times
                  new roman','new york',times,serif">
                  <span style="font-family:'times new roman','new
                    york',times,serif"><br>
                  </span></div>
                <div style="background-color:transparent"><span><font
                      face="times new roman, new york, times, serif">
                      <div style="background-color:transparent">
                         !--error 17 </div>
                      <div style="background-color:transparent">: stack
                        size exceeded (Use stacksize function to
                        increase it).</div>
                      <div style="background-color:transparent">at line
                            100 of function generic_i_hm called by :  </div>
                      <div style="background-color:transparent">at line
                              5 of function %i_i_hm called by :  </div>
                      <div style="background-color:transparent">       
                            Im2(i,j,k)=a;</div>
                      <div style="background-color:transparent">at line
                             17 of exec file called by :    </div>
                      <div style="background-color:transparent">exec('C:\Users\Pictures\Mosaic.sce',
                        -1)</div>
                      <div style="background-color:transparent"><br>
                      </div>
                      <div
                        style="font-style:normal;font-size:16px;background-color:transparent;font-family:'times
                        new roman','new york',times,serif">
                        Thank you</div>
                    </font></span></div>
                <div
                  style="font-style:normal;font-size:16px;background-color:transparent;font-family:'times
                  new roman','new york',times,serif"><span
                    style="font-family:'times new roman','new
                    york',times,serif"><br>
                  </span></div>
              </div>
            </div>
          </div>
          <br>
          _______________________________________________<br>
          users mailing list<br>
          <a moz-do-not-send="true" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.scilab.org/mailman/listinfo/users"
            target="_blank">http://lists.scilab.org/mailman/listinfo/users</a><br>
          <br>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>