#include "allheaders.h"
#include "gelinfo.h"
Go to the source code of this file.
Defines | |
#define | WELLWINDOWFACTOR 60 |
factor used to determine the estimated position of the well | |
#define | FINDMAXFACTOR 5 |
factor used to determine the start of the maximum searching, to avoid areas outside of the gel | |
#define | PREDATAFACTOR 1.1 |
the range of intensity used to set the bounds on the predata | |
#define | POSTDATAFACTOR 1.05 |
the range of intensity used to set the bounds on the data after the second minimum | |
#define | FIXFLATFACTOR 2.5 |
number of lane spacing to include beyond the upper and lower border for the zone projection filtering | |
#define | SMOOTHROUNDS 2 |
number of rounds of median filtering done on the zoneprojection during filtering | |
#define | SHIFTTOFIT32 8 |
shift to fit INT32 | |
#define | PREDATASTOPFACTOR 0.8 |
factor used to adjust the stop of the predata so that it is further from the first band | |
#define | STOPDATASTEPBACKFACTOR 0.25 |
if stopdata initially located at the end of the image, we step back this amount from the located edge of the gel | |
#define | MINZONESIZEFACTOR 4.0 |
unknown | |
Functions | |
void | initZones (FILE *FLAGOUT_FILE, PIX *pixGel, struct GelInfo *GelInfo, int *ZoneID, int Verbose) |
Project to 1D (sum all pixel with same X) to establish StartPreData, StopPreData, StopData. | |
void | projectZones (PIX *pixGel, INT32 **ZoneProjection, struct GelInfo *GelInfo, int *ZoneID) |
integrate data horizontally in each zone, effectively getting a 1D profile for each zone | |
void | filterZoneProjection (INT32 **ZoneProjection, struct GelInfo *GelInfo, float *Spacing) |
aggressive filtering of the zone projection using the generic spacing. | |
void | setNodePositions (PIX *pixGel, struct GelInfo *GelInfo, int *ZoneID, float *NodePosition, int Verbose) |
set node position to be the center of data mass location of each zone |
|
aggressive filtering of the zone projection using the generic spacing. Each value is subtracted with values a half a lane spacing from it to enhance the periodic peak pattern then, each value is median filter with the neighbour lanes or neighour markers
|
|
Project to 1D (sum all pixel with same X) to establish StartPreData, StopPreData, StopData. The zoneID of pixels before StartPreData and StopData is set to be -1 divide data from StartPreData to StopData evenly into zones The StopPreData is forced to be a zone boundary find "node" of each zone - center of mass of data values in each zone
|
|
integrate data horizontally in each zone, effectively getting a 1D profile for each zone
|
|
set node position to be the center of data mass location of each zone
|