hi can someone help me find code entropy and skewness for image processing in color moment..

 Accepted Answer

Try entropyfilt(). I have code for skewness and kurtosis and other image moments, attached. Explain what "in color moment" means. What is a color moment?

4 Comments

color moment mean i want entropy in RGB only..not in grayscale..after i have find mean and std..and get the pixel..i need to find entropy in color moment for RGB and skewness..any idea of this code?
A color image is three color channels. You can take the entropy of each.
% Extract the individual red, green, and blue color channels.
redChannel = rgbImage(:, :, 1);
greenChannel = rgbImage(:, :, 2);
blueChannel = rgbImage(:, :, 3);
redEntropy = entropy(redChannel);
greenEntropy = entropy(greenChannel);
blueEntropy = entropy(blueChannel);
so i need to extract picture to three color channel RGB..and for redchannel i need to put my file name to RGBimage in redhannel..is this how it do?

Sign in to comment.

More Answers (0)

Asked:

on 15 May 2014

Commented:

on 16 May 2014

Community Treasure Hunt

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

Start Hunting!