Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
JuliaTokyo#8発表資料
Search
Daisuke Kato
October 22, 2018
890
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
JuliaTokyo#8発表資料
JuliaImagesのちょっとした紹介
Daisuke Kato
October 22, 2018
Featured
See All Featured
Tell your own story through comics
letsgokoyo
1
990
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
370
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
460
Visualization
eitanlees
152
17k
The Limits of Empathy - UXLibs8
cassininazir
1
400
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Fireside Chat
paigeccino
42
4k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
610
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
Ethics towards AI in product and experience design
skipperchong
2
320
Transcript
Juliaと画像処理理 加藤 ⼤大典 2018年年10⽉月20⽇日
⾃自⼰己紹介 • ~2016年年3⽉月 ⼤大阪⼤大学 • 視覚神経科学 • 2016年年4⽉月~2018年年3⽉月 • ソフトウェアベンダー
• 2018年年4⽉月~ • 医療検査機器器メーカー • MATLABときどきC/C++ • Pythonに初めて触る • これからは・・・ • 須⼭山さんの本でJuliaを知る • 黒⽊木さんに捕捉される 現在は組み込みソフトC/C++… ただ、医⽤用画像の分析業務もあるので…
医⽤用画像
Juliaと画像処理理 • Python / OpenCV • OpenCVのAPI叩くだけならとりあえずok • C/C++ /
OpenCV • コンパイルがめんどくさいなぁ← • Julia / JuliaImages • アルゴリズム書くのに便便利利そう • 画像データの扱いやすさは?
画像の表示は楽ちん 時間があればJupyter上のデモを少し・・・ using ImageView img |> imshow IJulia Atom
特徴的な部分その1 • 8bit depthなど画像は正規化された固定⼩小数点数で扱う • 値域[0, 1] • メリット:10bit depth画像も同じように表示できる
• 詳しくは -> FixedPointNumbers.jl N6f10 10bit使って[0, 1]を表す 残り6bitは整数部分 例例)
• ⾊色チャネルのサイズが裏に隠れてる • グレー画像とカラー画像を同じ関数で処理理できる • 制限1:加法が定義されていない⾊色空間(HSVなど)では動かない • 制限2:⽐比較演算が必要なアルゴリズム(medianフィルタなど) はグレー画像でしか動かない julia>
img = rand(RGB{N0f8}, 64, 64); julia> size(img) (64, 64) julia> imgv = channelview(img); julia> size(imgv) (3, 64, 64) 特徴的な部分その2