예제 #1
0
        public bool KernelCorrelateImageRegions(FreeImageAlgorithmsBitmap src2, Rectangle rect1, Rectangle rect2,
                                                FIARECT searchRect, FIBITMAP mask,
                                                CorrelationPrefilter prefilter, out Point pt, out double max)
        {
            FIARECT  fiaRect1 = new FIARECT(rect1);
            FIARECT  fiaRect2 = new FIARECT(rect2);
            FIAPOINT fiaPoint = new FIAPOINT();

            bool ret = FreeImage.KernelCorrelateImageRegions(this.Dib, fiaRect1, src2.Dib, fiaRect2, searchRect, mask, prefilter, out fiaPoint, out max);

            pt = new Point(fiaPoint.x, fiaPoint.y);

            return(ret);
        }
예제 #2
0
 public bool KernelCorrelateImageRegions(FreeImageAlgorithmsBitmap src2, FIARECT rect1, FIARECT rect2,
                                         out FIAPOINT pt, out double max)
 {
     return(FreeImage.KernelCorrelateImageRegions(this.Dib, rect1, src2.Dib, rect2, FIARECT.Empty, FIBITMAP.Zero, null, out pt, out max));
 }
예제 #3
0
 public bool KernelCorrelateImageRegions(FreeImageAlgorithmsBitmap src2, FIARECT rect1, FIARECT rect2,
                                         FIBITMAP mask,
                                         CorrelationPrefilter prefilter, out FIAPOINT pt, out double max)
 {
     return(FreeImage.KernelCorrelateImageRegions(this.Dib, rect1, src2.Dib, rect2, FIARECT.Empty, mask, prefilter, out pt, out max));
 }