<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ultraist</author_name>
  <author_url>https://blog.hatena.ne.jp/ultraist/</author_url>
  <blog_title>デー</blog_title>
  <blog_url>https://ultraist.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>近デジの画像の余白を取って左右に分割する - hitode909の日記を見てて、 近代デジタルの画像を余白切ってページ分割するの、知っていれば一瞬でできる問題だと思うんだけど、やったことないので試すか2010-10-11 11:51:42 via P3:PeraPeraPrv と思ったのでやってみた。 選択された領域 やってること 元画像が超でかいので小さくして処理する(速くなる) cannyエッジを検出したあと確率的ハフ変換で線を検出(縦横) あとは単純に、 横線のうち一番上をtopに 横線のうち一番下をbottomに 縦線のうち一番左をleftに 縦線のうち一番右をrightに にして、こ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fultraist.hatenablog.com%2Fentry%2F20101011%2F1286789384&quot; title=&quot;近代デジタルライブラリーの画像の余白を切ってページ分割するための処理 - デー&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>http://a2.twimg.com/profile_images/825987234/ant3_big_normal.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-10-11 18:29:44</published>
  <title>近代デジタルライブラリーの画像の余白を切ってページ分割するための処理</title>
  <type>rich</type>
  <url>https://ultraist.hatenablog.com/entry/20101011/1286789384</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
