-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEO1AliSensor.java
executable file
·35 lines (31 loc) · 999 Bytes
/
EO1AliSensor.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// EO1AliSensor.java defines the EO-1 ALI sensor details
//------------------------------------------------------
import java.awt.Dimension;
public class EO1AliSensor extends EO1Sensor
{
private static int[] resolutions = {1000,240};
// Constructor
EO1AliSensor
(
imgViewer applet // I: applet reference
)
{
super(applet,"EO-1 ALI", "eo1/ali", "EO1_ALI_PUB", resolutions);
}
// method to return a nominal EO-1 ALI scene size in meters
//---------------------------------------------------------
public Dimension getNominalSceneSize()
{
return new Dimension(37000,42000);
}
// method to return the estimated size (in bytes) of an image file at the
// indicated resolution
//-----------------------------------------------------------------------
public int getImageFileSize(int resolution)
{
if (resolution == 1000)
return 10000;
else
return 60000;
}
}