Package tritechgemini.imagedata
Class FanPicksFromData
java.lang.Object
tritechgemini.imagedata.ImageFanMaker
tritechgemini.imagedata.FanPicksFromData
Fan maker where a LUT is used to work through each point in the fan image and take
data from the SonarRecord to populate that point.
Points outside the fan are set to -1.
Points outside the fan are set to -1.
- Author:
- Doug Gillespie
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a fan maker that will use two nearest raw data points(closest in range, beam measurements either side of the fan image point).FanPicksFromData(int nNearPoints) Create a Fan maker. -
Method Summary
Modifier and TypeMethodDescriptionvoidMost image makers will contain a load of lookup tables to get data in the right place this will clear the tables so that they can be rebuilt on the next call to createFanDatacreateFanData(SonarImageRecordI sonarRecord, int nPixX, int nPixY, byte[] data) n width.Methods inherited from class tritechgemini.imagedata.ImageFanMaker
createFanData, createFanData, createFanData, createFanData, createFanData, getDefaultXbins
-
Constructor Details
-
FanPicksFromData
public FanPicksFromData()Create a fan maker that will use two nearest raw data points(closest in range, beam measurements either side of the fan image point). -
FanPicksFromData
public FanPicksFromData(int nNearPoints) Create a Fan maker.
Valid values are
1. Use a single nearest point from the raw data
2. Use the nearest points in range, and a beam point either side of the output point
4. Weighted average of four nearest neighbours.- Parameters:
nNearPoints- . The number of raw data points to use for each point in the fan.
-
-
Method Details
-
createFanData
Description copied from class:ImageFanMakern width. height will be scaled according to the range of the bearing table- Specified by:
createFanDatain classImageFanMaker- Parameters:
sonarRecord- Gemini data recordnPixX- number of X pixelsnPixY- number of Y pixels- Returns:
- Fan image data
-
clearTables
public void clearTables()Description copied from class:ImageFanMakerMost image makers will contain a load of lookup tables to get data in the right place this will clear the tables so that they can be rebuilt on the next call to createFanData- Specified by:
clearTablesin classImageFanMaker
-