public class DefaultImgPlusService extends AbstractService implements ImgPlusService
ImgPlus
based on the actual backing type of the data.Constructor and Description |
---|
DefaultImgPlusService() |
Modifier and Type | Method and Description |
---|---|
<T extends Type<T>> |
asType(ImgPlus<?> ip,
T type)
Given an ImgPlus of unknown type this returns a typed ImgPlus of a given
type.
|
ImgPlus<ComplexType<?>> |
complex(ImgPlus<?> ip)
Given an ImgPlus of unknown type this returns a typed ImgPlus of type
ComplexType.
|
void |
initialize() |
ImgPlus<IntegerType<?>> |
integer(ImgPlus<?> ip)
Given an ImgPlus of unknown type this returns a typed ImgPlus of type
IntegerType.
|
ImgPlus<NumericType<?>> |
numeric(ImgPlus<?> ip)
Given an ImgPlus of unknown type this returns a typed ImgPlus of type
NumericType.
|
ImgPlus<RealType<?>> |
real(ImgPlus<?> ip)
Given an ImgPlus of unknown type this returns a typed ImgPlus of type
RealType.
|
ImgPlus<Type<?>> |
typed(ImgPlus<?> ip)
Given an ImgPlus of unknown type this returns a typed ImgPlus of type Type.
|
getContext, setContext, toString
getInfo, getPriority, setInfo, setPriority
context
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
registerEventHandlers
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
dispose
public <T extends Type<T>> ImgPlus<T> asType(ImgPlus<?> ip, T type)
ImgPlusService
asType
in interface ImgPlusService
public ImgPlus<Type<?>> typed(ImgPlus<?> ip)
ImgPlusService
typed
in interface ImgPlusService
public ImgPlus<NumericType<?>> numeric(ImgPlus<?> ip)
ImgPlusService
numeric
in interface ImgPlusService
public ImgPlus<ComplexType<?>> complex(ImgPlus<?> ip)
ImgPlusService
complex
in interface ImgPlusService
public ImgPlus<RealType<?>> real(ImgPlus<?> ip)
ImgPlusService
real
in interface ImgPlusService
public ImgPlus<IntegerType<?>> integer(ImgPlus<?> ip)
ImgPlusService
integer
in interface ImgPlusService
public void initialize()
initialize
in interface Initializable
initialize
in interface Service
Copyright © 2014–2022 ImageJ. All rights reserved.