finding transition region of an image
조회 수: 2 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
답변 (1개)
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:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!