public class FluoMap extends Object
Constructor and Description |
---|
FluoMap(FluoMap src)
Copy constructor.
|
FluoMap(int t,
int r,
int i)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
fill(int t,
int p,
int pn,
double intensity,
double max)
Put value to fluoromap calculating correct color.
|
int |
getChannel()
getChannel.
|
byte[] |
getColours()
getColours.
|
double[][] |
getMap()
getMap.
|
boolean |
isEnabled()
Check if enabled.
|
void |
recalculateColorScale(double max)
Recalculate colors for map array.
|
void |
setEnabled(boolean b)
Enables this map.
|
void |
setMap(double[][] map)
Set new fluorescence map calculating also adequate colorscale.
|
public FluoMap(FluoMap src)
src
- source objectpublic FluoMap(int t, int r, int i)
t
- number of time pointsr
- resolutioni
- channelpublic void setEnabled(boolean b)
b
- statuspublic boolean isEnabled()
public void fill(int t, int p, int pn, double intensity, double max)
t
- timep
- membrane pixelpn
- linear index for fluColorintensity
- fluoroscence intensity to store at mapmax
- value to scale to colorsrecalculateColorScale(double)
public void recalculateColorScale(double max)
max
- Value to scale to colors. Usually it is maximum of map.fill(int, int, int, double, double)
public byte[] getColours()
public double[][] getMap()
public int getChannel()
public void setMap(double[][] map)
map
- the map to setCopyright © 2002–2019 Department of Computer Science, Warwick University. All rights reserved.