nngn
|
Functions | |
function | filter_size_round (s) |
Variables | |
camera< const > = require "nngn.lib.camera" | |
input< const > = require("nngn.lib.input") | |
common< const > = require "demos.cl.common" | |
img_common< const > = require "demos.cl.img_common" | |
N< const > = 4 | |
LIMITS< const > = nngn:compute():get_limits() | |
MAX_SIZE< const > = LIMITS[Compute.WORK_GROUP_SIZE + 1] | |
MAX_SIZE2< const > = math.sqrt(MAX_SIZE) | |
LOCAL_SIZE< const > = common.local_size(img_common.IMG_SIZE, MAX_SIZE2) | |
PIXEL_SIZE< const > = 4 | |
MIN_STD_DEV< const > = 0.6 | |
MAX_STD_DEV< const > = 8 | |
MIN_FILTER_WIDTH< const > = 3 | |
FILTER_MUL_FOR_STD_DEV< const > = 6 | |
MAX_LOCAL< const > = LIMITS[Compute.LOCAL_MEMORY + 1] | |
MAX_FILTER_WIDTH_LOCAL< const > = | |
MAX_STD_DEV_LOCAL< const > = | |
FILTER_VEC_SIZE< const > = | |
FILTER_VEC_SIZE2< const > = | |
img_raw | |
img_buf | |
img | |
read_v< const > = img_common.init() | |
function filter_size_round | ( | s | ) |
camera< const > = require "nngn.lib.camera" |
common< const > = require "demos.cl.common" |
FILTER_MUL_FOR_STD_DEV< const > = 6 |
FILTER_VEC_SIZE2< const > = |
FILTER_VEC_SIZE< const > = |
img |
img_buf |
img_common< const > = require "demos.cl.img_common" |
img_raw |
input< const > = require("nngn.lib.input") |
LIMITS< const > = nngn:compute():get_limits() |
LOCAL_SIZE< const > = common.local_size(img_common.IMG_SIZE, MAX_SIZE2) |
MAX_FILTER_WIDTH_LOCAL< const > = |
MAX_LOCAL< const > = LIMITS[Compute.LOCAL_MEMORY + 1] |
MAX_SIZE2< const > = math.sqrt(MAX_SIZE) |
MAX_SIZE< const > = LIMITS[Compute.WORK_GROUP_SIZE + 1] |
MAX_STD_DEV< const > = 8 |
MAX_STD_DEV_LOCAL< const > = |
MIN_FILTER_WIDTH< const > = 3 |
MIN_STD_DEV< const > = 0.6 |
N< const > = 4 |
PIXEL_SIZE< const > = 4 |
read_v< const > = img_common.init() |