How to compute Correlation of red- and green-channel pixel values of skin lesion area

1 visualización (últimos 30 días)
I need to compute six correlation coefficients (red-green, green-blue, blue-red, red-grey, green-grey, and blue-grey) for both the whole sub-image and the lesion area respectively,one example shall do it for the 6 as of the same logic shall be applied,as well as calculating the Energy based on color extraction not texture or regionprops one(R,G,B,Gray) but one color space example shall do.. thanks

Respuesta aceptada

Image Analyst
Image Analyst el 1 de Mzo. de 2017
Did you try corr()?
coeff = corr(redChannel(:), greenChannel(:));
  4 comentarios
Elias Unk
Elias Unk el 1 de Mzo. de 2017
i do know they exist was just wondering if you have the formula cause i found 2 different ones to compute it and i mentioned them in my comment above.
Image Analyst
Image Analyst el 1 de Mzo. de 2017
Use histogram() or histcounts() to get "Prob" in the first formula.
For the second formula, I have no idea whatsoever what "details" is.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Image Segmentation and Analysis en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by