NAME

std_dev_bw_images_2 - Computes the standard deviation of a set of images

SYNOPSIS

#include "i/i_seq.h"

Example compile flags (system dependent):
  -DLINUX_X86_64 -DLINUX_X86_64_OPTERON  -DGNU_COMPILER 
   -I/home/kobus/include
   -L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
  -lKJB                               -lfftw3  -lgsl -lgslcblas -ljpeg  -lSVM -lstdc++                    -lpthread -lSLATEC -lg2c    -lacml -lacml_mv -lblas -lg2c      -lncursesw 


int std_dev_bw_images_2
(
	Matrix **std_dev_img_mat,
	const KJB_image_sequence *images,
	const Matrix *avg_img_mat
);

DESCRIPTION

This routine finds the standard deviation all the images in images and puts the result in std_dev_img_mat, in matrix form. If the matrix representing the average of the images is available, it can be passed in avg_img_mat to save some time; otherwise, pass NULL. The images in images are assumed to be black and white, although the image_to_matrix_routine is used in case it is not.

RETURNS

On error, this routine returns ERROR, with an error message being set. On success it returns NO_ERROR.

RELATED

image_to_matrix

DISCLAIMER

This software is not adequatedly tested. It is recomended that results are checked independantly where appropriate.

AUTHOR

Ernesto Brau

DOCUMENTER

Kobus Barnard

SEE ALSO

get_target_image_sequence , read_image_sequence , free_image_sequence , average_bw_images , std_dev_bw_images , average_bw_images_2