env_c_math_ops.c File Reference

#include "Envision/env_c_math_ops.h"
#include "Envision/env_log.h"
#include "Envision/env_types.h"
Include dependency graph for env_c_math_ops.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void env_c_lowpass_5_x_dec_x_fewbits_optim (const intg32 *src, const env_size_t w, const env_size_t h, intg32 *dst, const env_size_t w2)
void env_c_lowpass_5_y_dec_y_fewbits_optim (const intg32 *src, const env_size_t w, const env_size_t h, intg32 *dst, const env_size_t h2)
void env_c_lowpass_9_x_fewbits_optim (const intg32 *src, const env_size_t w, const env_size_t h, intg32 *dst)
 Like env_c_lowpass_9_x_fewbits() but uses optimized filter coefficients.
void env_c_lowpass_9_y_fewbits_optim (const intg32 *src, const env_size_t w, const env_size_t h, intg32 *dst)
 Like env_c_lowpass_9_y_fewbits() but uses optimized filter coefficients.
void env_c_get_min_max (const intg32 *src, const env_size_t sz, intg32 *xmini, intg32 *xmaxi)
 Get min and max values.
void env_c_inplace_rectify (intg32 *dst, const env_size_t sz)
 Saturate values < 0.
void env_c_inplace_normalize (intg32 *const dst, const env_size_t sz, const intg32 nmin, const intg32 nmax, intg32 *const actualmin_p, intg32 *const actualmax_p, const intg32 rangeThresh)
void env_c_luminance_from_byte (const struct env_rgb_pixel *const src, const env_size_t sz, const env_size_t nbits, intg32 *const dst)
 get the luminance with nbits of precision of the input image
void env_c_image_div_scalar (const intg32 *const a, const env_size_t sz, intg32 val, intg32 *const dst)
 result = a / val
void env_c_image_div_scalar_accum (const intg32 *const a, const env_size_t sz, intg32 val, intg32 *const dst)
 result += a / val
void env_c_image_minus_image (const intg32 *const a, const intg32 *const b, const env_size_t sz, intg32 *const dst)
 result = a - b

Detailed Description

Fixed-point integer math versions of some of our floating-point image functions

Definition in file env_c_math_ops.c.


Function Documentation

void env_c_get_min_max ( const intg32 src,
const env_size_t  sz,
intg32 xmini,
intg32 xmaxi 
)

Get min and max values.

Definition at line 292 of file env_c_math_ops.c.

void env_c_image_div_scalar ( const intg32 *const   a,
const env_size_t  sz,
intg32  val,
intg32 *const   dst 
)
void env_c_image_div_scalar_accum ( const intg32 *const   a,
const env_size_t  sz,
intg32  val,
intg32 *const   dst 
)
void env_c_image_minus_image ( const intg32 *const   a,
const intg32 *const   b,
const env_size_t  sz,
intg32 *const   dst 
)

result = a - b

Definition at line 446 of file env_c_math_ops.c.

void env_c_inplace_rectify ( intg32 dst,
const env_size_t  sz 
)

Saturate values < 0.

Definition at line 305 of file env_c_math_ops.c.

void env_c_lowpass_9_x_fewbits_optim ( const intg32 src,
const env_size_t  w,
const env_size_t  h,
intg32 dst 
)

Like env_c_lowpass_9_x_fewbits() but uses optimized filter coefficients.

Definition at line 134 of file env_c_math_ops.c.

void env_c_lowpass_9_y_fewbits_optim ( const intg32 src,
const env_size_t  w,
const env_size_t  h,
intg32 dst 
)

Like env_c_lowpass_9_y_fewbits() but uses optimized filter coefficients.

Definition at line 202 of file env_c_math_ops.c.

void env_c_luminance_from_byte ( const struct env_rgb_pixel *const   src,
const env_size_t  sz,
const env_size_t  nbits,
intg32 *const   dst 
)

get the luminance with nbits of precision of the input image

Definition at line 409 of file env_c_math_ops.c.

Generated on Sun May 8 08:42:40 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3