[prev in list] [next in list] [prev in thread] [next in thread] 

List:       scilab-users
Subject:    Re: [Scilab-users] IPCV - imrotate
From:       P M <p.muehlmann () gmail ! com>
Date:       2019-04-30 8:04:42
Message-ID: CACf7ODsU08f5PB5zm1X=fzxqPdkrtw6FFL9eCLmxr3EUUz8UQw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


One has to enter the angle in degrees.

P.

Am Di., 30. Apr. 2019 um 08:44 Uhr schrieb Stéphane Mottelet <
stephane.mottelet@utc.fr>:

> Le 29/04/2019 à 10:06, P M a écrit :
> 
> Dear developers of IPCV,
> using the function   imrotate()   seems to increse the image size.
> Please see following code:
> 
> img = zeros(10,10);imshow(img);size(img)img = \
> imrotate(img,90);imshow(img);size(img) 
> 
> I could imagine that the image size changes, when one uses rotation angles
> <> 90 °.
> But for exactly 90 ° this is a strange behaviour.
> 
> Best regards,
> Philipp
> 
> _______________________________________________
> users mailing listusers@lists.scilab.orghttps://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
>  
> Is the angle in degrees or radians ?
> 
> S.
> 
> --
> Stéphane Mottelet
> Ingénieur de recherche
> EA 4297 Transformations Intégrées de la Matière Renouvelable
> Département Génie des Procédés Industriels
> Sorbonne Universités - Université de Technologie de Compiègne
> CS 60319, 60203 Compiègne cedex
> Tel : +33(0)344234688http://www.utc.fr/~mottelet
> 
> _______________________________________________
> users mailing list
> users@lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
> 


[Attachment #5 (text/html)]

<div dir="ltr"><div>One has to enter the angle in \
degrees.</div><div><br></div><div>P.<br></div></div><br><div class="gmail_quote"><div \
class="gmail_attr" dir="ltr">Am Di., 30. Apr. 2019 um 08:44  Uhr schrieb Stéphane \
Mottelet &lt;<a href="mailto:stephane.mottelet@utc.fr">stephane.mottelet@utc.fr</a>&gt;:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">
  
    
  
  <div bgcolor="#FFFFFF">
    <div class="gmail-m_8578413138297899596moz-cite-prefix">Le 29/04/2019 Ã  10:06, P \
M a écrit  :<br>  </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div>Dear developers of IPCV,</div>
        <div>using the function     imrotate()     seems to increse the
          image size.</div>
        <div>Please see following code:</div>
        <div><br>
        </div>
        <div>
          <pre style="font-family:Monospaced;font-size:12px;font-style:normal"><span \
style="color:rgb(0,0,0)">img</span> <span style="color:rgb(92,92,92)">=</span> <span \
style="color:rgb(50,185,185)">zeros</span><span \
style="color:rgb(74,85,219)">(</span><span \
style="color:rgb(188,143,143)">10</span><span style="color:rgb(0,0,0)">,</span><span \
style="color:rgb(188,143,143)">10</span><span \
style="color:rgb(74,85,219)">)</span><span style="color:rgb(0,0,0)">;</span> <span \
style="color:rgb(0,0,0)">imshow</span><span \
style="color:rgb(74,85,219)">(</span><span style="color:rgb(0,0,0)">img</span><span \
style="color:rgb(74,85,219)">)</span><span style="color:rgb(0,0,0)">;</span> <span \
style="color:rgb(50,185,185)">size</span><span \
style="color:rgb(74,85,219)">(</span><span style="color:rgb(0,0,0)">img</span><span \
style="color:rgb(74,85,219)">)</span> <span style="color:rgb(0,0,0)">img</span> <span \
style="color:rgb(92,92,92)">=</span> <span \
style="color:rgb(0,0,0)">imrotate</span><span \
style="color:rgb(74,85,219)">(</span><span style="color:rgb(0,0,0)">img</span><span \
style="color:rgb(0,0,0)">,</span><span style="color:rgb(188,143,143)">90</span><span \
style="color:rgb(74,85,219)">)</span><span style="color:rgb(0,0,0)">;</span> <span \
style="color:rgb(0,0,0)">imshow</span><span \
style="color:rgb(74,85,219)">(</span><span style="color:rgb(0,0,0)">img</span><span \
style="color:rgb(74,85,219)">)</span><span style="color:rgb(0,0,0)">;</span> <span \
style="color:rgb(50,185,185)">size</span><span \
style="color:rgb(74,85,219)">(</span><span style="color:rgb(0,0,0)">img</span><span \
style="color:rgb(74,85,219)">)

</span></pre>
          <div>I could imagine that the image size changes, when one
            uses rotation angles &lt;&gt; 90 °.</div>
          <div>But for exactly 90 ° this is a strange behaviour.</div>
          <div><br>
          </div>
          <div>Best regards,</div>
          <div>Philipp<br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="gmail-m_8578413138297899596mimeAttachmentHeader"></fieldset>
      <pre class="gmail-m_8578413138297899596moz-quote-pre">_______________________________________________
 users mailing list
<a class="gmail-m_8578413138297899596moz-txt-link-abbreviated" \
href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a> <a \
class="gmail-m_8578413138297899596moz-txt-link-freetext" \
href="https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users" \
target="_blank">https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users</a>
 </pre>
    </blockquote>
    <p>Is the angle in degrees or radians ?</p>
    <p>S.<br>
    </p>
    <pre class="gmail-m_8578413138297899596moz-signature" cols="72">-- 
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
<a class="gmail-m_8578413138297899596moz-txt-link-freetext" \
href="http://www.utc.fr/~mottelet" \
target="_blank">http://www.utc.fr/~mottelet</a></pre>  </div>

_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.scilab.org" \
target="_blank">users@lists.scilab.org</a><br> <a \
href="http://lists.scilab.org/mailman/listinfo/users" target="_blank" \
rel="noreferrer">http://lists.scilab.org/mailman/listinfo/users</a><br> \
</blockquote></div>



_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic