|
ImageScience 3.0.0 | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectimagescience.image.Borders
public class Borders
Contains the dimensions of the borders of up to 5D image data objects.
Field Summary | |
---|---|
int |
c
The border size in the c-dimension. |
int |
t
The border size in the t-dimension. |
int |
x
The border size in the x-dimension. |
int |
y
The border size in the y-dimension. |
int |
z
The border size in the z-dimension. |
Constructor Summary | |
---|---|
Borders()
Default constructor. |
|
Borders(int x)
One-dimensional constructor. |
|
Borders(int x,
int y)
Two-dimensional constructor. |
|
Borders(int x,
int y,
int z)
Three-dimensional constructor. |
|
Borders(int x,
int y,
int z,
int t)
Four-dimensional constructor. |
|
Borders(int x,
int y,
int z,
int t,
int c)
Five-dimensional constructor. |
Method Summary | |
---|---|
Borders |
duplicate()
Duplicates this object. |
boolean |
equals(Borders borders)
Indicates whether this object is in the same state as the given object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final int x
0
.
public final int y
0
.
public final int z
0
.
public final int t
0
.
public final int c
0
.
Constructor Detail |
---|
public Borders()
public Borders(int x)
x
- The border size in the x-dimension.
java.lang.IllegalArgumentException
- If the parameter value is less than 0
.public Borders(int x, int y)
x
- The border size in the x-dimension.y
- The border size in the y-dimension.
java.lang.IllegalArgumentException
- If any of the parameter values is less than 0
.public Borders(int x, int y, int z)
x
- The border size in the x-dimension.y
- The border size in the y-dimension.z
- The border size in the z-dimension.
java.lang.IllegalArgumentException
- If any of the parameter values is less than 0
.public Borders(int x, int y, int z, int t)
x
- The border size in the x-dimension.y
- The border size in the y-dimension.z
- The border size in the z-dimension.t
- The border size in the t-dimension.
java.lang.IllegalArgumentException
- If any of the parameter values is less than 0
.public Borders(int x, int y, int z, int t, int c)
x
- The border size in the x-dimension.y
- The border size in the y-dimension.z
- The border size in the z-dimension.t
- The border size in the t-dimension.c
- The border size in the c-dimension.
java.lang.IllegalArgumentException
- If any of the parameter values is less than 0
.Method Detail |
---|
public Borders duplicate()
Borders
object that is an exact copy of this object. All information is copied and no memory is shared between this and the returned object.public boolean equals(Borders borders)
borders
- The object to compare this object with.
true
if the given object is not null
and has the same border size in each dimension as this object, or false
if this is not the case.
|
ImageScience 3.0.0 | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) Erik Meijering. Permission to use this software and corresponding documentation for educational, research, and not-for-profit purposes, without a fee and without a signed licensing agreement, is granted, subject to the following terms and conditions.
IT IS NOT ALLOWED TO REDISTRIBUTE, SELL, OR LEASE THIS SOFTWARE, OR DERIVATIVE WORKS THEREOF, WITHOUT PERMISSION IN WRITING FROM THE COPYRIGHT HOLDER. THE COPYRIGHT HOLDER IS FREE TO MAKE VERSIONS OF THE SOFTWARE AVAILABLE FOR A FEE OR COMMERCIALLY ONLY.
IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, OF ANY KIND WHATSOEVER, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE EXPRESS OR IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE AND CORRESPONDING DOCUMENTATION IS PROVIDED "AS IS". THE COPYRIGHT HOLDER HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.