Frame that keeps the example pixel in the bright range used by the domain tests
| 41 | |
| 42 | // Frame that keeps the example pixel in the bright range used by the domain tests |
| 43 | static std::shared_ptr<Frame> makeBrightTestFrame() |
| 44 | { |
| 45 | QImage img(2, 2, QImage::Format_ARGB32); |
| 46 | img.fill(QColor(50,100,150,255)); |
| 47 | img.setPixelColor(0,0, QColor(230,230,230,255)); |
| 48 | auto frame = std::make_shared<Frame>(); |
| 49 | *frame->GetImage() = img; |
| 50 | return frame; |
| 51 | } |
| 52 | |
| 53 | // Helper to construct the LUT-path from TEST_MEDIA_PATH |
| 54 | static std::string lutPath() |