Search in sources :

Example 1 with PointDeform_MLS

use of boofcv.abst.distort.PointDeform_MLS in project BoofCV by lessthanoptimal.

the class FactoryDistort method deformMls.

public static PointDeformKeyPoints deformMls(ConfigDeformPointMLS config) {
    if (config == null)
        config = new ConfigDeformPointMLS();
    ImageDeformPointMLS_F32 alg = new ImageDeformPointMLS_F32(config.type);
    alg.setAlpha(config.alpha);
    return new PointDeform_MLS(alg, config.rows, config.cols);
}
Also used : ConfigDeformPointMLS(boofcv.abst.distort.ConfigDeformPointMLS) ImageDeformPointMLS_F32(boofcv.alg.distort.mls.ImageDeformPointMLS_F32) PointDeform_MLS(boofcv.abst.distort.PointDeform_MLS)

Aggregations

ConfigDeformPointMLS (boofcv.abst.distort.ConfigDeformPointMLS)1 PointDeform_MLS (boofcv.abst.distort.PointDeform_MLS)1 ImageDeformPointMLS_F32 (boofcv.alg.distort.mls.ImageDeformPointMLS_F32)1