| 75 | } |
| 76 | |
| 77 | void writeFloat2Map(int rc, |
| 78 | const mvsUtils::MultiViewParams& mp, |
| 79 | const mvsUtils::TileParams& tileParams, |
| 80 | const ROI& roi, |
| 81 | const SyclHostMemoryHeap<sycl::float2, 2>& in_map_hmh, |
| 82 | const mvsUtils::EFileType fileTypeX, |
| 83 | const mvsUtils::EFileType fileTypeY, |
| 84 | int scale, |
| 85 | int step, |
| 86 | const std::string& name) |
| 87 | { |
| 88 | const std::string customSuffix = (name.empty()) ? "" : "_" + name; |
| 89 | const int scaleStep = scale * step; |
| 90 | |
| 91 | image::Image<float> mapX; |
| 92 | image::Image<float> mapY; |
| 93 | |
| 94 | copyFloat2Map(mapX, mapY, in_map_hmh, roi, scaleStep); |
| 95 | |
| 96 | mvsUtils::writeMap(rc, mp, fileTypeX, tileParams, roi, mapX, scale, step, customSuffix); |
| 97 | mvsUtils::writeMap(rc, mp, fileTypeY, tileParams, roi, mapY, scale, step, customSuffix); |
| 98 | } |
| 99 | |
| 100 | void writeFloat2Map(int rc, |
| 101 | const mvsUtils::MultiViewParams& mp, |
no test coverage detected