T
- input image typeR
- kernel typeS
- output image typepublic class DirectConvolution<T extends RealType<T>,R extends RealType<R>,S extends RealType<S>> extends ROIAlgorithm<T,S>
Modifier | Constructor and Description |
---|---|
|
DirectConvolution(S type,
Image<T> inputImage,
Image<R> kernel) |
|
DirectConvolution(S type,
Image<T> inputImage,
Image<R> kernel,
OutOfBoundsStrategyFactory<T> outsideFactory) |
protected |
DirectConvolution(S type,
Image<T> inputImage,
Image<R> kernel,
OutOfBoundsStrategyFactory<T> outsideFactory,
boolean isconv) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkInput() |
protected boolean |
patchOperation(int[] position,
RegionOfInterestCursor<T> roiCursor)
Performs this algorithm's operation on the patch represented by a
RegionOfInterestCursor |
protected static void |
quickKernel2D(short[][] vals,
Image<ShortType> kern) |
static Image<ShortType> |
sobelHorizontal() |
static Image<ShortType> |
sobelVertical() |
close, getErrorMessage, getName, getOutputImage, getPatchSize, getProcessingTime, getResult, positionOffset, process, setErrorMessage, setImageFactory, setName
public DirectConvolution(S type, Image<T> inputImage, Image<R> kernel, OutOfBoundsStrategyFactory<T> outsideFactory)
protected boolean patchOperation(int[] position, RegionOfInterestCursor<T> roiCursor)
ROIAlgorithm
RegionOfInterestCursor
patchOperation
in class ROIAlgorithm<T extends RealType<T>,S extends RealType<S>>
position
- the position in the input image at the center of the patch represented by
the RegionOfInterestCursorroiCursor
- a RegionOfInterestCursor
that iterates over the given
patch-of-interestpublic boolean checkInput()
checkInput
in interface Algorithm
checkInput
in class ROIAlgorithm<T extends RealType<T>,S extends RealType<S>>
Copyright © 2015–2021 Fiji. All rights reserved.