1
0
Fork 0
mirror of https://github.com/ruby-opencv/ruby-opencv synced 2023-03-27 23:22:12 -04:00

tested CvMat#equalize_hist

This commit is contained in:
ser1zw 2011-04-02 19:13:35 +09:00
parent a3af0e6419
commit 01726b08bb

View file

@ -1453,5 +1453,14 @@ class TestCvMat_imageprocessing < OpenCVTestCase
# Uncomment the following lines to show the result
# snap mat, result
end
def test_equalize_hist
mat = CvMat.load(FILENAME_LENA256x256, CV_LOAD_IMAGE_GRAYSCALE)
result = mat.equalize_hist
assert_equal('de235065c746193d7f3de9359f63a7af', hash_img(result))
# Uncomment the following lines to show the result
# snap mat, result
end
end