| 497 | |
| 498 | template <typename image_type1, typename image_type2> |
| 499 | typename std::enable_if<is_image_type<image_type1>::value&&is_image_type<image_type2>::value, bool>::type |
| 500 | have_same_dimensions ( |
| 501 | const image_type1& img1, |
| 502 | const image_type2& img2 |
| 503 | ) { return num_rows(img1)==num_rows(img2) && num_columns(img1)==num_columns(img2); } |
| 504 | /*! |
| 505 | ensures |
| 506 | - returns true if and only if the two given images have the same dimensions. |
no test coverage detected