public class ImagingUtilities
extends java.lang.Object
| Constructor and Description |
|---|
ImagingUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static int |
clamp(double sample,
int min,
int max) |
static int |
getExtendedSample(java.awt.image.BufferedImage src,
int col,
int row,
int band) |
static int |
getPaddedSample(java.awt.image.BufferedImage src,
int col,
int row,
int band) |
static int |
getPaddedSample(java.awt.image.BufferedImage src,
int col,
int row,
int band,
java.awt.Color c) |
static void |
safelySetSample(java.awt.image.BufferedImage src,
int col,
int row,
int band,
float sample) |
static void |
safelySetSample(java.awt.image.BufferedImage src,
int col,
int row,
int band,
int sample) |
public static int clamp(double sample,
int min,
int max)
sample - min - max - public static int getExtendedSample(java.awt.image.BufferedImage src,
int col,
int row,
int band)
src - col - row - band - public static int getPaddedSample(java.awt.image.BufferedImage src,
int col,
int row,
int band,
java.awt.Color c)
src - col - row - band - c - public static int getPaddedSample(java.awt.image.BufferedImage src,
int col,
int row,
int band)
src - col - row - band - public static void safelySetSample(java.awt.image.BufferedImage src,
int col,
int row,
int band,
int sample)
src - col - row - band - sample - public static void safelySetSample(java.awt.image.BufferedImage src,
int col,
int row,
int band,
float sample)
src - col - row - band - sample -