<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yasuo_ssi</author_name>
  <author_url>https://blog.hatena.ne.jp/yasuo_ssi/</author_url>
  <blog_title>省型旧形国電の残影を求めて</blog_title>
  <blog_url>https://yasuo-ssi.hatenablog.com/</blog_url>
  <categories>
    <anon>ImageJ / Python プログラミング</anon>
  </categories>
  <description>今までImageJにおけるPythonプログラミングをやってきて、Threshold(閾値)設定関連で気づいたことをまとめてみます。ImageJはまだ8bit画像を前提としているところがあって、16bit (あるいはそれ以上のbit深度) 画像を扱うには注意しなければならない点が結構あるように思います。以下の記述は基本的にImageProcessorオブジェクトベースの話になります。 thresholdメソッドを使って、白と黒の二値マスク画像を作る まず、一定の閾値以上を白(255)に、未満を黒(0)に設定して二値化を図る場合ですが、簡便なのは、thresholdメソッドを使うことです。例えば…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyasuo-ssi.hatenablog.com%2Fentry%2F2021%2F04%2F28%2F073000&quot; title=&quot;ImageJ / Python Tips: 8/16bit画像と、閾値設定、二値化マスク関連まとめ - 省型旧形国電の残影を求めて&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-04-28 07:30:00</published>
  <title>ImageJ / Python Tips: 8/16bit画像と、閾値設定、二値化マスク関連まとめ</title>
  <type>rich</type>
  <url>https://yasuo-ssi.hatenablog.com/entry/2021/04/28/073000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
