Search in sources :

Example 36 with ImageType

use of boofcv.struct.image.ImageType in project BoofCV by lessthanoptimal.

the class CompareHessianToConvolution method setKernel.

public void setKernel(int which, Kernel1D kernel, boolean isHorizontal) {
    ImageType _inputType = ImageType.single(inputType);
    outputFilters[which] = FactoryConvolve.convolve(kernel, _inputType, _inputType, BorderType.EXTENDED, isHorizontal);
    if (borderSize < kernel.getRadius())
        borderSize = kernel.getRadius();
}
Also used : ImageType(boofcv.struct.image.ImageType)

Aggregations

ImageType (boofcv.struct.image.ImageType)36 Test (org.junit.Test)19 ImageBase (boofcv.struct.image.ImageBase)14 ArrayList (java.util.ArrayList)11 File (java.io.File)10 PathLabel (boofcv.io.PathLabel)7 BackgroundModelMoving (boofcv.alg.background.BackgroundModelMoving)4 Homography2D_F32 (georegression.struct.homography.Homography2D_F32)4 Se3_F64 (georegression.struct.se.Se3_F64)4 BufferedImage (java.awt.image.BufferedImage)4 GrayU8 (boofcv.struct.image.GrayU8)3 BackgroundModelStationary (boofcv.alg.background.BackgroundModelStationary)2 ConfigBackgroundBasic (boofcv.factory.background.ConfigBackgroundBasic)2 ConfigBackgroundGaussian (boofcv.factory.background.ConfigBackgroundGaussian)2 ConfigBackgroundGmm (boofcv.factory.background.ConfigBackgroundGmm)2 ImageGridPanel (boofcv.gui.image.ImageGridPanel)2 MediaManager (boofcv.io.MediaManager)2 ConvertBufferedImage (boofcv.io.image.ConvertBufferedImage)2 SimpleImageSequence (boofcv.io.image.SimpleImageSequence)2 DefaultMediaManager (boofcv.io.wrapper.DefaultMediaManager)2