Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

arithmatic functions for gray scale image

1 visualizzazione (ultimi 30 giorni)
mahesh chathuranga
mahesh chathuranga il 30 Set 2013
Chiuso: MATLAB Answer Bot il 20 Ago 2021
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 Commenti
mahesh chathuranga
mahesh chathuranga il 3 Ott 2013
summ is the the image of cooccurrence matrix features(contrast and energy)
Image Analyst
Image Analyst il 3 Ott 2013
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.

Risposte (1)

Image Analyst
Image Analyst il 30 Set 2013
Why not use imgradient() or imgradientxy()?
  2 Commenti
mahesh chathuranga
mahesh chathuranga il 3 Ott 2013
it gives the error message??? Undefined function or method 'imgradient' for input arguments of type 'double'.
Image Analyst
Image Analyst il 3 Ott 2013
You must be using an old version of MATLAB. Please download the latest version. It's included in your maintenance contract.

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by