mpicbg.imagefeatures
Class FloatArray2D

java.lang.Object
  extended by mpicbg.imagefeatures.FloatArray
      extended by mpicbg.imagefeatures.FloatArray2D

public class FloatArray2D
extends FloatArray

Simple 2d float array that stores all values in one linear array.

License: GPL This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Version:
0.2b
Author:
Stephan Preibisch (and Stephan Saalfeld the deleter)

Field Summary
 int height
           
 int width
           
 
Fields inherited from class mpicbg.imagefeatures.FloatArray
data
 
Constructor Summary
FloatArray2D(float[] data, int width, int height)
           
FloatArray2D(int width, int height)
           
 
Method Summary
 FloatArray2D clone()
           
 float get(int x, int y)
           
 void set(float value, int x, int y)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

width

public final int width

height

public final int height
Constructor Detail

FloatArray2D

public FloatArray2D(int width,
                    int height)

FloatArray2D

public FloatArray2D(float[] data,
                    int width,
                    int height)
Method Detail

clone

public FloatArray2D clone()
Specified by:
clone in class FloatArray

get

public final float get(int x,
                       int y)

set

public final void set(float value,
                      int x,
                      int y)


Copyright © 2007-2016 Fiji. All Rights Reserved.