plastimatch
Loading...
Searching...
No Matches
ramp_filter.cxx File Reference
#include "plmutil_config.h"
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include "fftw3.h"
#include "ramp_filter.h"
#include "print_and_exit.h"

Functions

void ramp_filter (float *data, unsigned int width, unsigned int height)
 

Variables

static const double PI = 3.14159265
 
static const double DEGTORAD = 3.14159265 / 180.0
 
static const unsigned int MARGIN = 5
 

Function Documentation

◆ ramp_filter()

void ramp_filter ( float * data,
unsigned int width,
unsigned int height )

In-place ramp filter for greyscale images

Parameters
dataThe pixel data of the image
widthThe width of the image
heightThe height of the image \template_param T The type of pixel in the image

Variable Documentation

◆ DEGTORAD

const double DEGTORAD = 3.14159265 / 180.0
static

◆ MARGIN

const unsigned int MARGIN = 5
static

◆ PI

const double PI = 3.14159265
static