Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

arithmatic functions for gray scale image

조회 수: 1 (최근 30일)
mahesh chathuranga
mahesh chathuranga 2013년 9월 30일
마감: MATLAB Answer Bot 2021년 8월 20일
i have a gray scale image.my codes are
V=(-1*diff(summ));%%gives the horizontal edges of the image
H=(-1*(diff(summ'))');%%gives the vertical edges of the image
HV=imadd(H,V);%%i want to see the both edges in same image.
i'm very new for matlab.i dont know these codes are correct or not.is there any operation to convert the arithmatic results into image.thanks.
  댓글 수: 3
mahesh chathuranga
mahesh chathuranga 2013년 10월 3일
summ is the the image of cooccurrence matrix features(contrast and energy)
Image Analyst
Image Analyst 2013년 10월 3일
The cooccurrence matrix is a 2D array and can be displayed as an image, true. But, the edges of the cooccurrence matrix??? I have no idea what that would even represent. I don't think it means anything, at least nothing intuitive that I can think of.

답변 (1개)

Image Analyst
Image Analyst 2013년 9월 30일
Why not use imgradient() or imgradientxy()?
  댓글 수: 2
mahesh chathuranga
mahesh chathuranga 2013년 10월 3일
it gives the error message??? Undefined function or method 'imgradient' for input arguments of type 'double'.
Image Analyst
Image Analyst 2013년 10월 3일
You must be using an old version of MATLAB. Please download the latest version. It's included in your maintenance contract.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by