Problem with compare
Posted: 2009-12-29T16:25:44-07:00
Hi,
I'm comparing 2 set of screenshots got from 2 different files (it's the same movie encoded with 2 different programs, movie "A" has a better resolution then movie "B").
I would like to know if 2 screenshot are the same exact "frame" for each movie, but I have same problem with compare. I tried all the possible metric parameter but I can't have expected result.
These are 8 frames, 4 from source A (a-1, a-2, a-3, a-4) and 4 from source B (b-1, b-2, b-3, b-4).
(I want: ok value) (MAE value: 1886)
(I want: ko value) (MAE value: 1624)
(I want: ko value) (MAE value: 365)
(I want: ko value) (MAE value: 1397)
I would like whick parameters and value use with compare so that I get:
compare -something_here a-1.jpeg b-1.jpeg diff.png -> GOOD MATCH VALUE (same "frame")
compare -something_here a-2.jpeg b-2.jpeg diff.png -> BAD MATCH VALUE (same "frame")
compare -something_here a-3.jpeg b-3.jpeg diff.png -> BAD MATCH VALUE (same "frame")
compare -something_here a-4.jpeg b-4.jpeg diff.png -> BAD MATCH VALUE (same "frame")
I'm using -metric MAE but this don't help (1886 for the good case, 365, 1397 and 1624 for the bad cases). I would like to know with set of parameter can give me the best match for movie-exact-frame search.
Please help
I'm comparing 2 set of screenshots got from 2 different files (it's the same movie encoded with 2 different programs, movie "A" has a better resolution then movie "B").
I would like to know if 2 screenshot are the same exact "frame" for each movie, but I have same problem with compare. I tried all the possible metric parameter but I can't have expected result.
These are 8 frames, 4 from source A (a-1, a-2, a-3, a-4) and 4 from source B (b-1, b-2, b-3, b-4).
(I want: ok value) (MAE value: 1886)
(I want: ko value) (MAE value: 1624)
(I want: ko value) (MAE value: 365)
(I want: ko value) (MAE value: 1397)
I would like whick parameters and value use with compare so that I get:
compare -something_here a-1.jpeg b-1.jpeg diff.png -> GOOD MATCH VALUE (same "frame")
compare -something_here a-2.jpeg b-2.jpeg diff.png -> BAD MATCH VALUE (same "frame")
compare -something_here a-3.jpeg b-3.jpeg diff.png -> BAD MATCH VALUE (same "frame")
compare -something_here a-4.jpeg b-4.jpeg diff.png -> BAD MATCH VALUE (same "frame")
I'm using -metric MAE but this don't help (1886 for the good case, 365, 1397 and 1624 for the bad cases). I would like to know with set of parameter can give me the best match for movie-exact-frame search.
Please help