Darknet/YOLO v3.0-149-gb11c9d5
Object Detection Framework
 
Loading...
Searching...
No Matches
crop_layer_kernels.cu File Reference

Functions

__device__ float bilinear_interpolate_kernel (float *image, int w, int h, float x, float y, int c)
 
void forward_crop_layer_gpu (Darknet::Layer &l, Darknet::NetworkState state)
 
__global__ void forward_crop_layer_kernel (float *input, float *rand, int size, int c, int h, int w, int crop_height, int crop_width, int train, int flip, float angle, float *output)
 
__device__ float get_pixel_kernel (float *image, int w, int h, int x, int y, int c)
 
__device__ float3 hsv_to_rgb_kernel (float3 hsv)
 
__global__ void levels_image_kernel (float *image, float *rand, int batch, int w, int h, int train, float saturation, float exposure, float translate, float scale, float shift)
 
__device__ float3 rgb_to_hsv_kernel (float3 rgb)
 

Function Documentation

◆ bilinear_interpolate_kernel()

__device__ float bilinear_interpolate_kernel ( float *  image,
int  w,
int  h,
float  x,
float  y,
int  c 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ forward_crop_layer_gpu()

void forward_crop_layer_gpu ( Darknet::Layer l,
Darknet::NetworkState  state 
)
Here is the call graph for this function:

◆ forward_crop_layer_kernel()

__global__ void forward_crop_layer_kernel ( float *  input,
float *  rand,
int  size,
int  c,
int  h,
int  w,
int  crop_height,
int  crop_width,
int  train,
int  flip,
float  angle,
float *  output 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_pixel_kernel()

__device__ float get_pixel_kernel ( float *  image,
int  w,
int  h,
int  x,
int  y,
int  c 
)
Todo:
COLOR - specific RGB - HSV logic in here that won't work (well) with multispectral
Here is the caller graph for this function:

◆ hsv_to_rgb_kernel()

__device__ float3 hsv_to_rgb_kernel ( float3  hsv)
Here is the caller graph for this function:

◆ levels_image_kernel()

__global__ void levels_image_kernel ( float *  image,
float *  rand,
int  batch,
int  w,
int  h,
int  train,
float  saturation,
float  exposure,
float  translate,
float  scale,
float  shift 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rgb_to_hsv_kernel()

__device__ float3 rgb_to_hsv_kernel ( float3  rgb)
Here is the caller graph for this function: