#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "noisedetect.h"
Functions | |
PIX * | pixGraySubtract (PIX *pix1, PIX *pix2) |
gray scale subtract two 8 bit pixs, negative values are set to 0 | |
PIX * | subtractBG (PIX *pixIn, int morphElement, int Verbose) |
subtract background extracted with open operation | |
PIX * | extractFG (PIX *pixIn, int morphElement, int Verbose) |
extract fore ground with a closing operation | |
float | averageLaneSpacing (float **PeakPosition, struct GelInfo *GelInfo) |
calculate average lane spacing over gel given a set of peak positions | |
PIX * | pickBadPoints (PIX *pixNoise, PIX *pixFG, float noise_to_FG_ratio, int min_FG, int laneWidth, int Verbose) |
returns 8 bit pix with 255's labelled at points with noise galaxy content | |
void | extractLanes (PIX *pixIn, float **PeakPosition, float *NodePosition, struct GelInfo *GelInfo, int **values) |
void | detectNoise (PIX *pixIn, float **PeakPosition, float *NodePosition, struct GelInfo *GelInfo, struct AnaCutoff *AnaCutoff, int *noisePresent, int Verbose) |
count the number of lanes with noise galaxy present | |
int | countMaxConsec (int *noise, int nlanes, float cutoff) |
counts the maximum span of values over a cutoff |
|
calculate average lane spacing over gel given a set of peak positions
|
|
counts the maximum span of values over a cutoff
|
|
count the number of lanes with noise galaxy present
|
|
extract fore ground with a closing operation
|
|
brief extract a center of lane for every lane from an image
|
|
returns 8 bit pix with 255's labelled at points with noise galaxy content
|
|
gray scale subtract two 8 bit pixs, negative values are set to 0
|
|
subtract background extracted with open operation
|