How to compute Correlation of red- and green-channel pixel values of skin lesion area
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Elias Unk
il 28 Feb 2017
Commentato: Image Analyst
il 1 Mar 2017
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
0 Commenti
Risposta accettata
Image Analyst
il 1 Mar 2017
Did you try corr()?
coeff = corr(redChannel(:), greenChannel(:));
4 Commenti
Image Analyst
il 1 Mar 2017
Use histogram() or histcounts() to get "Prob" in the first formula.
For the second formula, I have no idea whatsoever what "details" is.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Image Segmentation and Analysis in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!