Blame view

stim/math/filters/resample2.cuh 386 Bytes
817b3aba   David Mayerich   changed filter fi...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  #ifndef STIM_CUDA_RESAMPLE2_H
  #define STIM_CUDA_RESAMPLE2_H
  
  #include <stim/cuda/cudatools.h>
  #include <stim/cuda/sharedmem.cuh>
  
  
  ///Downsamples a 2D image by a factor f using a box filter. Any pixels outside of the valid region
  ///		(for example if X%f != 0) are chopped.
  template<typename T, typename K>
  void cpu_resample2(T* out, T* in, size_t f, size_t sx, size_t sy) {
  
  }
  
  
  #endif