【画像解析】二値化画​像との組み合わせによ​り、別の画像における​輝度値を取得する方法

3 views (last 30 days)
健 金子
健 金子 on 24 Jun 2021
Commented: 健 金子 on 25 Jun 2021
二値化画像の黒部分の位置をあらかじめ記録しておいて、もう片方の画像で対応する場所の輝度値を求めたいです。
添付画像は輝度を求めたい画像と、それに対応するベース二値化画像です。16bit,tif形式です。
(2値化画像では、細かい黒点が存在しているのでサイズ指定で除いて解析できると尚よいです)
どのような方法がありますか?ご回答お願い致します。

Accepted Answer

Hernia Baby
Hernia Baby on 24 Jun 2021
二つの画像をかけることでやれないでしょうか?
A = imread('example_binary.tif');
B = imread('example.tif');
imshow(A.*B)
  1 Comment
健 金子
健 金子 on 25 Jun 2021
ありがとうございます!参考にしてみます。

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!