Package sc.fiji.snt.util
Record Class ImgUtils.MaxProjection<T extends net.imglib2.type.numeric.RealType<T>>
java.lang.Object
java.lang.Record
sc.fiji.snt.util.ImgUtils.MaxProjection<T>
- Record Components:
max- the max-intensity projection (type preserving)depth- for each pixel ofmax, the index of the plane (in the coordinates of the projected source) at which the maximum was found. The first plane wins on ties
- Enclosing class:
ImgUtils
-
Constructor Summary
ConstructorsConstructorDescriptionMaxProjection(net.imglib2.img.Img<T> max, net.imglib2.img.Img<net.imglib2.type.numeric.real.FloatType> depth) Creates an instance of aMaxProjectionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionnet.imglib2.img.Img<net.imglib2.type.numeric.real.FloatType> depth()Returns the value of thedepthrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.net.imglib2.img.Img<T> max()Returns the value of themaxrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
max
Returns the value of themaxrecord component.- Returns:
- the value of the
maxrecord component
-
depth
public net.imglib2.img.Img<net.imglib2.type.numeric.real.FloatType> depth()Returns the value of thedepthrecord component.- Returns:
- the value of the
depthrecord component
-