Main Page | Data Structures | File List | Data Fields | Globals

diagnostic.c File Reference

contains function to write a PNG of the gel with node and peak position information overlaid. Interpolated peaks are shown in red for diagnostic purposes More...

#include <stdio.h>
#include <stdlib.h>
#include "diagnostic.h"

Functions

void outputDiagnostic (PIX *pixGel, char *fileDiagnosticImage, float **PeakPosition, float *NodePosition, int *ZoneID, struct GelInfo *GelInfo)
 output a diagnostic image in png format with peaks and nodes position marked


Detailed Description

contains function to write a PNG of the gel with node and peak position information overlaid. Interpolated peaks are shown in red for diagnostic purposes


Function Documentation

void outputDiagnostic PIX *  pixGel,
char *  fileDiagnosticImage,
float **  PeakPosition,
float *  NodePosition,
int *  ZoneID,
struct GelInfo GelInfo
 

output a diagnostic image in png format with peaks and nodes position marked

interpolated peaks are shown in red, the rest are shown in green

Parameters:
pixGel pix representation of gel image to be used as background for diagnostic image
fileDiagnosticImage path name to diagnostic image file destination
PeakPosition holds y position of all nodes, negative denotes interpolated
NodePosition holds x position of nodes in each zone
ZoneID array noting the zone number for each column
GelInfo holds various gel parameters


Generated on Fri Apr 20 16:43:06 2007 for LaneRuler by  doxygen 1.3.9.1