Calculating difference between histograms
조회 수: 6 (최근 30일)
이전 댓글 표시
Can I use the command
Z = imabsdiff(X,Y)
for calculating the difference between histograms of two images.
댓글 수: 0
채택된 답변
Image Analyst
2017년 2월 13일
Z = imabsdiff(X,Y) subtracts each element in array Y from the corresponding element in array X and returns the absolute difference in the corresponding element of the output array Z. If you passed two count arrays (histograms) in for X and Y, it would give the absolute value of the count differences, but what does that mean? Probably not what you hope it might. What are you trying to accomplish?
추가 답변 (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!