|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--net.aerith.misao.util.AdjoiningPixel
The AdjoiningPixel represents a set of pixels on an
image.
| Field Summary | |
private AdjoiningPixel |
current_ap
The AdjoiningPixel being created in method
deblend. |
private double |
current_threshold
The current threshold used in method extract. |
protected java.util.Vector |
list
The list of pixels. |
protected int |
pixels_for_astrometry
The minimum pixels to use in astrometry. |
| Constructor Summary | |
AdjoiningPixel()
Constructs an empty AdjoiningPixel. |
|
| Method Summary | |
void |
addPixel(Pixel pixel)
Adds a pixel. |
StarImage |
createStar()
Creates a StarImage. |
java.util.Vector |
deblend(double base_step)
Deblends adjoining pixels into some sets of adjoining pixels based on the specified base step. |
java.util.Vector |
deblend(double base_step,
MeanStarImageRadius mean_radius)
Deblends adjoining pixels into some sets of adjoining pixels based on the specified base step. |
private void |
extract(int x,
int y)
Extracts and removes pixels around the specified position whose value is greater than the specified threshold. |
Position |
getGravityCenter()
Gets the gravity center. |
Pixel |
getPeak()
Gets the pixel at the peak. |
double |
getPeakValue()
Gets the pixel value of the peak. |
int |
getPixelCount()
Gets the number of pixels. |
Pixel[] |
getPixels()
Gets the array of pixels. |
int |
getXMax()
Gets the maximum x location. |
int |
getXMin()
Gets the minimum x location. |
int |
getYMax()
Gets the maximum y location. |
int |
getYMin()
Gets the minimum y location. |
private boolean |
isAdjoining(AdjoiningPixel ap)
Checks if the specified set of adjoining pixels is adjoining to this AdjoiningPixel. |
void |
setMinimumPixelCountForAstrometry(int pixel_count)
Sets the minimum pixels to use in astrometry. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
protected java.util.Vector list
protected int pixels_for_astrometry
private AdjoiningPixel current_ap
AdjoiningPixel being created in method
deblend.private double current_threshold
extract.| Constructor Detail |
public AdjoiningPixel()
AdjoiningPixel.| Method Detail |
public void addPixel(Pixel pixel)
pixel - the pixel to add.public int getPixelCount()
public Pixel[] getPixels()
public int getXMin()
public int getXMax()
public int getYMin()
public int getYMax()
public double getPeakValue()
public void setMinimumPixelCountForAstrometry(int pixel_count)
pixel_count - the minimum pixels to use in astrometry.public StarImage createStar()
StarImage.StarImage.public java.util.Vector deblend(double base_step)
AdjoiningPixel is destroyed.base_step - the step to deblend.
public java.util.Vector deblend(double base_step,
MeanStarImageRadius mean_radius)
AdjoiningPixel is destroyed.base_step - the step to deblend.mean_radius - the mean radius of a star image.public Pixel getPeak()
public Position getGravityCenter()
private boolean isAdjoining(AdjoiningPixel ap)
AdjoiningPixel.ap - the target AdjoiningPixel to check.
private void extract(int x,
int y)
x - the x position.y - the y position.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||