Class NormalizeDifferenceToMedian
- All Implemented Interfaces:
Provider<Channel>,ProviderAsStack
Corrects a channel in the following way
For each object:
- Identify the median value from
channelLookup(Value 1) - Calculate the difference of each pixel value in
channelLookup(Value 2) - Adjust each pixel value by Value 2.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ChannelcreateFromChannel(Channel channel, ObjectCollection objects) Creates a new channel from an existing channel and a collection of objects.voidsetChannelLookup(ChannelProvider channelLookup) Methods inherited from class org.anchoranalysis.plugin.image.bean.channel.provider.UnaryWithObjectsBase
createFromChannel, getObjects, setObjectsMethods inherited from class org.anchoranalysis.image.bean.provider.ChannelProviderUnary
get, getChannel, setChannelMethods inherited from class org.anchoranalysis.image.bean.provider.ChannelProvider
getAsStackMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
NormalizeDifferenceToMedian
public NormalizeDifferenceToMedian()
-
-
Method Details
-
createFromChannel
protected Channel createFromChannel(Channel channel, ObjectCollection objects) throws ProvisionFailedException Description copied from class:UnaryWithObjectsBaseCreates a new channel from an existing channel and a collection of objects.- Specified by:
createFromChannelin classUnaryWithObjectsBase- Parameters:
channel- the inputChannelobjects- theObjectCollectionto be used in channel creation- Returns:
- a new
Channelcreated from the input channel and objects - Throws:
ProvisionFailedException- if the channel creation fails
-
getChannelLookup
-
setChannelLookup
-