Basically:
x1 = x1 - max(areasize * (negative) distance to main point) <-- Max of all points. Same for the rest.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@109 3f818213-9676-44b0-a9b4-5e4c4e03d09d
- Added the TToolBar with the old Buttons.
- Removed the bug Run button. The Green Run button is now functional.
Window changes:
- Removed the Client: TObject parameter in TMWindow.Create,
the point of TMWindow was to be client independant, so it could
be used in the GUI too. This doesn't effect it's functionality in any way.
Client changes:
Removed the Self variable passed to TMWindow.Create.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@77 3f818213-9676-44b0-a9b4-5e4c4e03d09d
Feel free to test, though.
Current results are fast enough for now, but I'm sure we can improve the speed a bit more.
I set the optimalisations to -O2 instead of -01, it makes a difference of about 1.5x with CTS 2.
Results:
W, H = 826, 597
FindColorTolerance, with no hit:
CTS0: 11.316831683168 ms
CTS1: 25.396039603960 ms
CTS2: 37.613861386139 ms
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@50 3f818213-9676-44b0-a9b4-5e4c4e03d09d