choosing locations in an image to take pixels
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello,
If I take an image and I want to do an average of the pixels across the entire image, how do I do that? Right now when I do imshow(image) then it gives me locations where I click on the image. I just want to do the entire image.
Thanks
0 Commenti
Risposta accettata
Image Analyst
il 26 Lug 2014
meanGrayLevel = mean(grayImage(:)); % Take mean of entire image.
3 Commenti
Image Analyst
il 26 Lug 2014
meanh = mean2(hsv_image(:,:,1));
means = mean2(hsv_image(:,:,2));
meanv = mean2(hsv_image(:,:,3));
Più risposte (0)
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!