Find location of subset image in actual image

Končano Objavljeno Apr 13, 2008 Plačilo ob prevzemu
Končano Plačilo ob prevzemu

I need a *fast* implementation of finding the x,y coordinates of a subset of an image within the actual image. I'll pass in 2 HBITMAPS's. The prototype for the function will be bool FindSubSetCoords(HBITMAP actual, HBITMAP subset, POINT *subsetCoords, COLORREF fontColor) The return value will be true if a subset is found within the actual image, false if it's not found. The POINT * should receive the coordinates of the subset image within the actual image (if the return value is true) This function is used to find what part of a font is visible in the actual image, so I'll also pass in the font color (that's the only color you need to care about, the rest is just background pixels). 99% of the time the subset image will be attached to the edges (ignoring the background color). In other words, the top of the subset image will be at the top of the actual image, or the bottom of the subset image will be the bottom of the actual image etc. (as long as you ignore the background color). If you can optimize based on that information, that's even better. Please don't do the obvious approach of trying to compare whether all the pixels in the subset match the actual image starting at coordinates 0,0, then trying again at 1,0, then at 2,0 etc. That is just too slow.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Win XP/Vista, VC++6/2005

C programiranje Odd Jobs

ID projekta: #3867561

Več o projektu

5 predlogov Oddaljen projekt Aktiven Apr 16, 2008

Dodeljeno:

cipher17

See private message.

$68 USD v 3 dneh
(5 mnenj)
2.4

5 freelancerjev ponuja v povprečju za $61 na tem delu

VCExperts

See private message.

$68 USD v 3 dneh
(15 ocen)
4.9
desktopguru

See private message.

$42.5 USD v 3 dneh
(5 ocen)
3.5
longuyen

See private message.

$59.5 USD v 3 dneh
(12 ocen)
3.2
simplycreativevw

See private message.

$68 USD v 3 dneh
(1 Ocena)
0.8