Find Jobs
Hire Freelancers

Fast Finding a Bitmap contained inside another Bitmap and List the regions

$10-30 USD

已完成
已发布超过 8 年前

$10-30 USD

货到付款
I have two bitmaps. Lets call the first as SmallBitmap and the other as LargeBitmap. The first bitmap has dimension of 10X10 pixels (this dimension could be changed in the future as an option). The second has the dimension of 600X600. I need to search the SmallBitmap over the LargeBitmap and list all the occurrences in a Tlist with the coordinates. I need a quickly response of the program to list the matches.
项目 ID: 8469736

关于此项目

2提案
远程项目
活跃9 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Good day! Something like that? List := [login to view URL]; function SearchBitmap(bmMain, bmSub:TBitMap; var R:TRect):boolean; type TIntArray = array [word] of integer; PIntArray = ^TIntArray; var p0, p1, p2:PIntArray; x, y:integer; x1, y1, w, w0, w1, k : integer; b : boolean; begin result := true; FillChar(R, sizeOf(R), 0); [login to view URL]:=pf32bit; [login to view URL]:=pf32bit; w := [login to view URL]; w0 := [login to view URL]*sizeOf(integer); w1 := [login to view URL]*sizeOf(integer); p0 := [login to view URL][0]; p1 := [login to view URL][0]; for y := 0 to [login to view URL] - [login to view URL] do begin for x := 0 to [login to view URL] - [login to view URL] do begin b := true; p2 := p1; k := 0; for y1 := 0 to bmSub.Height-1 do begin for x1 := 0 to [login to view URL] - 1 do begin if p0[k+x+x1] <> p2[x1] then begin b := false; break; end; end; if not b then break; integer(p2) := integer(p2) - w1; k := k - w; end; if b then begin R := Rect(x, y, x+[login to view URL], y+[login to view URL]); [login to view URL](R) end; end; integer(p0) := integer(p0) - w0; end; result := false; end;
$25 USD 在3天之内
5.0 (14条评论)
5.1
5.1
2威客以平均价$40 USD来参与此工作竞价
用户头像
Hello I'm interested to help you in this project. One question: do you want to exact match search or not exact? Thank you
$55 USD 在2天之内
5.0 (30条评论)
6.3
6.3

关于客户

BRAZIL的国旗
Rio De Janeiro, Brazil
5.0
3
付款方式已验证
会员自3月 23, 2015起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。