Interpretation of color histogram











up vote
1
down vote

favorite












I'm reading a paper about image processing and came across this color histogram:
image. But I'm not sure how to interpet it. The 3 different curves are for red, green and blue. But what is on the X and Y-axis? My guess would be X-axis going from 0 to 255 for the 'intensity' of the color and Y-axis the amount of pixels in the image that have this intensity. Could anyone confirm this or correct me if I'm wrong?










share|improve this question







New contributor




user406406406 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Not an expert here but your interpretation sounds about right.
    – XDS
    Nov 10 at 19:43















up vote
1
down vote

favorite












I'm reading a paper about image processing and came across this color histogram:
image. But I'm not sure how to interpet it. The 3 different curves are for red, green and blue. But what is on the X and Y-axis? My guess would be X-axis going from 0 to 255 for the 'intensity' of the color and Y-axis the amount of pixels in the image that have this intensity. Could anyone confirm this or correct me if I'm wrong?










share|improve this question







New contributor




user406406406 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Not an expert here but your interpretation sounds about right.
    – XDS
    Nov 10 at 19:43













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I'm reading a paper about image processing and came across this color histogram:
image. But I'm not sure how to interpet it. The 3 different curves are for red, green and blue. But what is on the X and Y-axis? My guess would be X-axis going from 0 to 255 for the 'intensity' of the color and Y-axis the amount of pixels in the image that have this intensity. Could anyone confirm this or correct me if I'm wrong?










share|improve this question







New contributor




user406406406 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I'm reading a paper about image processing and came across this color histogram:
image. But I'm not sure how to interpet it. The 3 different curves are for red, green and blue. But what is on the X and Y-axis? My guess would be X-axis going from 0 to 255 for the 'intensity' of the color and Y-axis the amount of pixels in the image that have this intensity. Could anyone confirm this or correct me if I'm wrong?







image-processing






share|improve this question







New contributor




user406406406 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




user406406406 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




user406406406 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Nov 10 at 17:44









user406406406

82




82




New contributor




user406406406 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





user406406406 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






user406406406 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Not an expert here but your interpretation sounds about right.
    – XDS
    Nov 10 at 19:43


















  • Not an expert here but your interpretation sounds about right.
    – XDS
    Nov 10 at 19:43
















Not an expert here but your interpretation sounds about right.
– XDS
Nov 10 at 19:43




Not an expert here but your interpretation sounds about right.
– XDS
Nov 10 at 19:43












1 Answer
1






active

oldest

votes

















up vote
2
down vote



accepted










If I know well, someone please correct me if I am wrong, the X axis represents the possible values of a color from either one of the RGB channels (a value in the [0-255] interval), and the Y axis represents the number of pixels having that value.






share|improve this answer








New contributor




Rakirnd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • This corresponds perfectly with the interpretation that is given of this histogram. Thanks.
    – user406406406
    Nov 10 at 17:51










  • And the counts are normalized for the peak in this particular histogram: the peaks are made the same, even though the actual peak counts of pixels may differ by quite a bit. Otherwise, the pixel count scales would be same for all colors, and the peaks would not appear at same height usually.
    – Kuba Ober
    Nov 10 at 17:51











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






user406406406 is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53241731%2finterpretation-of-color-histogram%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
2
down vote



accepted










If I know well, someone please correct me if I am wrong, the X axis represents the possible values of a color from either one of the RGB channels (a value in the [0-255] interval), and the Y axis represents the number of pixels having that value.






share|improve this answer








New contributor




Rakirnd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • This corresponds perfectly with the interpretation that is given of this histogram. Thanks.
    – user406406406
    Nov 10 at 17:51










  • And the counts are normalized for the peak in this particular histogram: the peaks are made the same, even though the actual peak counts of pixels may differ by quite a bit. Otherwise, the pixel count scales would be same for all colors, and the peaks would not appear at same height usually.
    – Kuba Ober
    Nov 10 at 17:51















up vote
2
down vote



accepted










If I know well, someone please correct me if I am wrong, the X axis represents the possible values of a color from either one of the RGB channels (a value in the [0-255] interval), and the Y axis represents the number of pixels having that value.






share|improve this answer








New contributor




Rakirnd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • This corresponds perfectly with the interpretation that is given of this histogram. Thanks.
    – user406406406
    Nov 10 at 17:51










  • And the counts are normalized for the peak in this particular histogram: the peaks are made the same, even though the actual peak counts of pixels may differ by quite a bit. Otherwise, the pixel count scales would be same for all colors, and the peaks would not appear at same height usually.
    – Kuba Ober
    Nov 10 at 17:51













up vote
2
down vote



accepted







up vote
2
down vote



accepted






If I know well, someone please correct me if I am wrong, the X axis represents the possible values of a color from either one of the RGB channels (a value in the [0-255] interval), and the Y axis represents the number of pixels having that value.






share|improve this answer








New contributor




Rakirnd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









If I know well, someone please correct me if I am wrong, the X axis represents the possible values of a color from either one of the RGB channels (a value in the [0-255] interval), and the Y axis represents the number of pixels having that value.







share|improve this answer








New contributor




Rakirnd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this answer



share|improve this answer






New contributor




Rakirnd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









answered Nov 10 at 17:49









Rakirnd

713




713




New contributor




Rakirnd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Rakirnd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Rakirnd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • This corresponds perfectly with the interpretation that is given of this histogram. Thanks.
    – user406406406
    Nov 10 at 17:51










  • And the counts are normalized for the peak in this particular histogram: the peaks are made the same, even though the actual peak counts of pixels may differ by quite a bit. Otherwise, the pixel count scales would be same for all colors, and the peaks would not appear at same height usually.
    – Kuba Ober
    Nov 10 at 17:51


















  • This corresponds perfectly with the interpretation that is given of this histogram. Thanks.
    – user406406406
    Nov 10 at 17:51










  • And the counts are normalized for the peak in this particular histogram: the peaks are made the same, even though the actual peak counts of pixels may differ by quite a bit. Otherwise, the pixel count scales would be same for all colors, and the peaks would not appear at same height usually.
    – Kuba Ober
    Nov 10 at 17:51
















This corresponds perfectly with the interpretation that is given of this histogram. Thanks.
– user406406406
Nov 10 at 17:51




This corresponds perfectly with the interpretation that is given of this histogram. Thanks.
– user406406406
Nov 10 at 17:51












And the counts are normalized for the peak in this particular histogram: the peaks are made the same, even though the actual peak counts of pixels may differ by quite a bit. Otherwise, the pixel count scales would be same for all colors, and the peaks would not appear at same height usually.
– Kuba Ober
Nov 10 at 17:51




And the counts are normalized for the peak in this particular histogram: the peaks are made the same, even though the actual peak counts of pixels may differ by quite a bit. Otherwise, the pixel count scales would be same for all colors, and the peaks would not appear at same height usually.
– Kuba Ober
Nov 10 at 17:51










user406406406 is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















user406406406 is a new contributor. Be nice, and check out our Code of Conduct.













user406406406 is a new contributor. Be nice, and check out our Code of Conduct.












user406406406 is a new contributor. Be nice, and check out our Code of Conduct.















 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53241731%2finterpretation-of-color-histogram%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Xamarin.iOS Cant Deploy on Iphone

Glorious Revolution

Dulmage-Mendelsohn matrix decomposition in Python