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

toneadjust.c File Reference

holds functions for tone mapping for contrast enhancement using a bezier curve More...

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "toneadjust.h"

Functions

PIX * adjustTone (PIX *pixGel, INT32 **ZoneProjection, struct GelInfo *GelInfo, int *ZoneID, int *ToneAdjusted, int Verbose)
 tone adjust a PIX in large zones to bring up contrast of faint bands


Detailed Description

holds functions for tone mapping for contrast enhancement using a bezier curve


Function Documentation

PIX* adjustTone PIX *  pixGel,
INT32 **  ZoneProjection,
struct GelInfo GelInfo,
int *  ZoneID,
int *  ToneAdjusted,
int  Verbose
 

tone adjust a PIX in large zones to bring up contrast of faint bands

The bezier curve is adjusted using the mean intensity of the zone

Parameters:
pixGel pix of gel image
ZoneProjection points to 1D y-projection in each of the zone, to be replaced in tone adjusted zones
GelInfo holds various gel parameters
ZoneID array noting the zone number for each column
ToneAdjusted array to note which zone has been tone adjusted
Verbose turn on text output to screen
Returns:
version of pixGel that has been toneadjusted in large zones


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