C# Class CatEye.Core.FloatBitmap

Inheritance: IBitmapCore
Afficher le fichier Open project: bigfatbrowncat/CatEye Class Usage Examples

Protected Properties

Свойство Type Description
mWidth int
r_chan ].float[

Méthodes publiques

Méthode Description
AmplitudeAdd ( double delta ) : void
AmplitudeFindBlackPoint ( ) : double
AmplitudeFindMedian ( ) : double
AmplitudeMultiply ( double Amplitude, ProgressReporter callback ) : void
ApplySaturation ( double satur_factor, ProgressReporter callback ) : void
ApplyTone ( Tone dark_tone, Tone light_tone, double edge, double softness, ProgressReporter callback ) : void
Clone ( ) : object
CompressLight ( double curve, ProgressReporter callback ) : void
Crotate ( double beta, Point c, int crop_w, int crop_h, int quality, ProgressReporter callback ) : void
CutBlackPoint ( double cut, int blur_radius, double blur_dark_level, int lines, double tailValueAtLeast, ProgressReporter callback ) : void
CutHighlights ( double cut, double softness, int lines, double tailValueAtLeast, ProgressReporter callback ) : void
FindDarkTone ( Tone light_tone, double edge, double softness, Point dark_center, double dark_radius, int points ) : Tone
FindLightTone ( Tone dark_tone, double edge, double softness, Point light_center, double light_radius, int points ) : Tone
FloatBitmap ( FloatBitmap src ) : System
FromPPM ( RawLoader ppm, ProgressReporter callback ) : FloatBitmap
Resize ( int targetWidth, int targetHeight, int quality, ProgressReporter callback ) : bool
ScaleFast ( double k, ProgressReporter callback ) : void
SharpenEdges ( double level, int blur_radius, ProgressReporter callback ) : void
SharpenLight ( double curve, double noise_gate, double pressure, double contrast, ProgressReporter callback ) : void

Méthodes protégées

Méthode Description
CalcMaxLight ( ) : double
CopyDataFrom ( FloatBitmap src ) : void
FloatBitmap ( ) : System
LoadDataFromPPM ( RawLoader ppm, ProgressReporter callback ) : bool

Private Methods

Méthode Description
BuildPhi ( float H, double alpha, double beta, double noise_gate ) : ].float[
SolvePoissonNeiman ( float I0, float rho, int steps_max, float stop_dpd, SolutionReporter callback ) : bool
SolvePoissonNeimanMultiLattice ( float rho, int steps_max, float stop_dpd, SolutionReporter callback ) : ].float[
Upsample2 ( float Q, int new_w, int new_h ) : ].float[

Method Details

AmplitudeAdd() public méthode

public AmplitudeAdd ( double delta ) : void
delta double
Résultat void

AmplitudeFindBlackPoint() public méthode

public AmplitudeFindBlackPoint ( ) : double
Résultat double

AmplitudeFindMedian() public méthode

public AmplitudeFindMedian ( ) : double
Résultat double

AmplitudeMultiply() public méthode

public AmplitudeMultiply ( double Amplitude, ProgressReporter callback ) : void
Amplitude double
callback ProgressReporter
Résultat void

ApplySaturation() public méthode

public ApplySaturation ( double satur_factor, ProgressReporter callback ) : void
satur_factor double
callback ProgressReporter
Résultat void

ApplyTone() public méthode

public ApplyTone ( Tone dark_tone, Tone light_tone, double edge, double softness, ProgressReporter callback ) : void
dark_tone Tone
light_tone Tone
edge double
softness double
callback ProgressReporter
Résultat void

CalcMaxLight() protected méthode

protected CalcMaxLight ( ) : double
Résultat double

Clone() public méthode

public Clone ( ) : object
Résultat object

CompressLight() public méthode

public CompressLight ( double curve, ProgressReporter callback ) : void
curve double
callback ProgressReporter
Résultat void

CopyDataFrom() protected méthode

protected CopyDataFrom ( FloatBitmap src ) : void
src FloatBitmap
Résultat void

Crotate() public méthode

public Crotate ( double beta, Point c, int crop_w, int crop_h, int quality, ProgressReporter callback ) : void
beta double
c Point
crop_w int
crop_h int
quality int
callback ProgressReporter
Résultat void

CutBlackPoint() public méthode

public CutBlackPoint ( double cut, int blur_radius, double blur_dark_level, int lines, double tailValueAtLeast, ProgressReporter callback ) : void
cut double
blur_radius int
blur_dark_level double
lines int
tailValueAtLeast double
callback ProgressReporter
Résultat void

CutHighlights() public méthode

public CutHighlights ( double cut, double softness, int lines, double tailValueAtLeast, ProgressReporter callback ) : void
cut double
softness double
lines int
tailValueAtLeast double
callback ProgressReporter
Résultat void

FindDarkTone() public méthode

public FindDarkTone ( Tone light_tone, double edge, double softness, Point dark_center, double dark_radius, int points ) : Tone
light_tone Tone
edge double
softness double
dark_center Point
dark_radius double
points int
Résultat Tone

FindLightTone() public méthode

public FindLightTone ( Tone dark_tone, double edge, double softness, Point light_center, double light_radius, int points ) : Tone
dark_tone Tone
edge double
softness double
light_center Point
light_radius double
points int
Résultat Tone

FloatBitmap() protected méthode

protected FloatBitmap ( ) : System
Résultat System

FloatBitmap() public méthode

public FloatBitmap ( FloatBitmap src ) : System
src FloatBitmap
Résultat System

FromPPM() public static méthode

public static FromPPM ( RawLoader ppm, ProgressReporter callback ) : FloatBitmap
ppm RawLoader
callback ProgressReporter
Résultat FloatBitmap

LoadDataFromPPM() protected méthode

protected LoadDataFromPPM ( RawLoader ppm, ProgressReporter callback ) : bool
ppm RawLoader
callback ProgressReporter
Résultat bool

Resize() public méthode

public Resize ( int targetWidth, int targetHeight, int quality, ProgressReporter callback ) : bool
targetWidth int
targetHeight int
quality int
callback ProgressReporter
Résultat bool

ScaleFast() public méthode

public ScaleFast ( double k, ProgressReporter callback ) : void
k double
callback ProgressReporter
Résultat void

SharpenEdges() public méthode

public SharpenEdges ( double level, int blur_radius, ProgressReporter callback ) : void
level double
blur_radius int
callback ProgressReporter
Résultat void

SharpenLight() public méthode

public SharpenLight ( double curve, double noise_gate, double pressure, double contrast, ProgressReporter callback ) : void
curve double
noise_gate double
pressure double
contrast double
callback ProgressReporter
Résultat void

Property Details

mWidth protected_oe property

protected int mWidth
Résultat int

r_chan protected_oe property

protected float[,] r_chan
Résultat ].float[