Class NormalizeObjectIntensity
- All Implemented Interfaces:
Provider<Channel>
,ProviderAsStack
Rewrites the intensity for each object-mask (assume no overlap) so that its mean is 128
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Channel
createFromChannel
(Channel channel, ObjectCollection objects) Creates a new channel from an existing channel and a collection of objects.Methods inherited from class org.anchoranalysis.plugin.image.bean.channel.provider.UnaryWithObjectsBase
createFromChannel, getObjects, setObjects
Methods inherited from class org.anchoranalysis.image.bean.provider.ChannelProviderUnary
get, getChannel, setChannel
Methods inherited from class org.anchoranalysis.image.bean.provider.ChannelProvider
getAsStack
Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
NormalizeObjectIntensity
public NormalizeObjectIntensity()
-
-
Method Details
-
createFromChannel
protected Channel createFromChannel(Channel channel, ObjectCollection objects) throws ProvisionFailedException Description copied from class:UnaryWithObjectsBase
Creates a new channel from an existing channel and a collection of objects.- Specified by:
createFromChannel
in classUnaryWithObjectsBase
- Parameters:
channel
- the inputChannel
objects
- theObjectCollection
to be used in channel creation- Returns:
- a new
Channel
created from the input channel and objects - Throws:
ProvisionFailedException
- if the channel creation fails
-