| 49 | typename image_array_type |
| 50 | > |
| 51 | bool all_images_same_size ( |
| 52 | const image_array_type& images |
| 53 | ) |
| 54 | { |
| 55 | if (images.size() == 0) |
| 56 | return true; |
| 57 | |
| 58 | for (unsigned long i = 0; i < images.size(); ++i) |
| 59 | { |
| 60 | if (num_rows(images[0]) != num_rows(images[i]) || |
| 61 | num_columns(images[0]) != num_columns(images[i])) |
| 62 | return false; |
| 63 | } |
| 64 | |
| 65 | return true; |
| 66 | } |
| 67 | |
| 68 | // ---------------------------------------------------------------------------------------- |
| 69 |
no test coverage detected