<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bitop</author_name>
  <author_url>https://blog.hatena.ne.jp/bitop/</author_url>
  <blog_title>bitop’s diary</blog_title>
  <blog_url>https://bitop.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>4-5 垂直方向に揺らめかせる「サイン揺らぎ（垂直）」 img_src = cv2.imread(&quot;data/img_4-5.bmp&quot;) #振幅 A = 50 #dst画像用意 img_dst = np.zeros_like(img_src) Y = img_src.shape[0] X = img_src.shape[1] for y in range(Y): for x in range(X): x2 = int(x + A*np.sin(np.pi*y/180)) if x2 &lt; 959: img_dst[y,x2] = img_src[y,x] #描画する cv2.imshow(&quot;im…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbitop.hatenablog.com%2Fentry%2F2018%2F02%2F27%2F114302&quot; title=&quot;Interface2017年05月号新画像処理101を読む - bitop’s diary&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/b/bitop/20180227/20180227114202.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-02-27 11:43:02</published>
  <title>Interface2017年05月号新画像処理101を読む</title>
  <type>rich</type>
  <url>https://bitop.hatenablog.com/entry/2018/02/27/114302</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
