Enhancement.h 277 Bytes
Newer Older
Nianchen Deng's avatar
Nianchen Deng committed
1
#pragma once
Nianchen Deng's avatar
sync    
Nianchen Deng committed
2
#include "../utils/common.h"
Nianchen Deng's avatar
Nianchen Deng committed
3
4
5
6

class Enhancement
{
public:
Nianchen Deng's avatar
Nianchen Deng committed
7
    Enhancement(glm::uvec2 res, glm::vec2 params);
Nianchen Deng's avatar
Nianchen Deng committed
8

Nianchen Deng's avatar
Nianchen Deng committed
9
    void run(sptr<CudaArray<glm::vec4>> imageData);
Nianchen Deng's avatar
Nianchen Deng committed
10
11
12

private:
    glm::uvec2 _res;
Nianchen Deng's avatar
Nianchen Deng committed
13
    glm::vec2 _params;
Nianchen Deng's avatar
Nianchen Deng committed
14
15
16
    sptr<CudaArray<glm::vec4>> _boxFiltered;

};