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:
parent
a3af0e6419
commit
01726b08bb
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue