Manually compute histrogram and display using bar function,
조회 수: 1 (최근 30일)
이전 댓글 표시
write function myhist to manually compute the histogram of grayscale image and display the histgoram using bar function
댓글 수: 2
Rick Rosson
2014년 10월 20일
What have you tried so far? Please post your code and ask specific questions if you need help.
답변 (1개)
Image Analyst
2014년 10월 20일
Hint: Use a for loop
[rows, columns, numberOfColorChannels] = size(grayImage);
for col = 1 : columns
for row = 1 : rows
grayLevel = grayImage(row,..............
Sounds like a homework problem so I won't do the whole thing for you. This should be more than enough to let you finish it.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Histograms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!