nngn
Loading...
Searching...
No Matches
img_conv.lua File Reference

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 Documentation

◆ filter_size_round()

function filter_size_round ( s  )

Variable Documentation

◆ camera< const >

camera< const > = require "nngn.lib.camera"

◆ common< const >

common< const > = require "demos.cl.common"

◆ FILTER_MUL_FOR_STD_DEV< const >

FILTER_MUL_FOR_STD_DEV< const > = 6

◆ FILTER_VEC_SIZE2< const >

FILTER_VEC_SIZE2< const > =

◆ FILTER_VEC_SIZE< const >

FILTER_VEC_SIZE< const > =

◆ img

img

◆ img_buf

img_buf

◆ img_common< const >

img_common< const > = require "demos.cl.img_common"

◆ img_raw

img_raw

◆ input< const >

input< const > = require("nngn.lib.input")

◆ LIMITS< const >

LIMITS< const > = nngn:compute():get_limits()

◆ LOCAL_SIZE< const >

LOCAL_SIZE< const > = common.local_size(img_common.IMG_SIZE, MAX_SIZE2)

◆ MAX_FILTER_WIDTH_LOCAL< const >

MAX_FILTER_WIDTH_LOCAL< const > =

◆ MAX_LOCAL< const >

MAX_LOCAL< const > = LIMITS[Compute.LOCAL_MEMORY + 1]

◆ MAX_SIZE2< const >

MAX_SIZE2< const > = math.sqrt(MAX_SIZE)

◆ MAX_SIZE< const >

MAX_SIZE< const > = LIMITS[Compute.WORK_GROUP_SIZE + 1]

◆ MAX_STD_DEV< const >

MAX_STD_DEV< const > = 8

◆ MAX_STD_DEV_LOCAL< const >

MAX_STD_DEV_LOCAL< const > =

◆ MIN_FILTER_WIDTH< const >

MIN_FILTER_WIDTH< const > = 3

◆ MIN_STD_DEV< const >

MIN_STD_DEV< const > = 0.6

◆ N< const >

N< const > = 4

◆ PIXEL_SIZE< const >

PIXEL_SIZE< const > = 4

◆ read_v< const >

read_v< const > = img_common.init()