public class Raw
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.List<Defect> |
detectDefectivePixels(java.awt.image.BufferedImage bim)
Get a list of the defective pixels in the given image which is assumed
to be a dark field (exposed with the lens covered) so that any pixels at
more than fraction Config.RawDefectLevel of the maximum possible raw level
in any channel are considered to be defective.
|
static java.util.List<Defect> |
detectDefectivePixels(ImFrame imf)
Ask the user to confirm that this is a dark field image; if so, scan for
defective pixels then ask for a CSV file for saving the list.
|
static void |
interpret(Image image)
Convert RAW image to normal by interpolating across zero pixels in each
channel.
|
static void |
interpret(ImFrame imf)
Convert RAW image to normal by interpolating across zero pixels in
each channel.
|
static void |
removeMargin(Image image)
Remove the non-exposed image margin, the widths of which are set
in Config.
|
static void |
removeMargin(ImFrame imframe)
Remove the non-exposed image margin, the widths of which are set
in Config.
|
public static java.util.List<Defect> detectDefectivePixels(ImFrame imf)
public static java.util.List<Defect> detectDefectivePixels(java.awt.image.BufferedImage bim)
public static void interpret(ImFrame imf)
public static void interpret(Image image)
public static void removeMargin(ImFrame imframe)
public static void removeMargin(Image image)