finding transition region of an image

1 回表示 (過去 30 日間)
sreelekshmi ms
sreelekshmi ms 2019 年 7 月 13 日
回答済み: Siriniharika Katukam 2019 年 7 月 17 日
sir,
for my miniproject work on image processig i need to calculate the transition region using local variance and global threshold. is there any function available for this?
plese reply

回答 (1 件)

Siriniharika Katukam
Siriniharika Katukam 2019 年 7 月 17 日
Hi
I understand from your question that you need to compute the variance of part of image and then use a global threshold for finding the transition regions.
The variance of an image can be found by using the function “var”.
Variance = var(img(:));
The above line of code would calculate the variance of the input( image or a selected region of image).
For global thresholding, you can use the function “graythresh” of Image Processing Toolbox.
Here are few links that would be helpful:

カテゴリ

Help Center および File ExchangeImage Segmentation and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by