mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-23 17:52:16 -05:00
MMLCore/finder: Small cleanup.
This commit is contained in:
parent
2414f60c08
commit
464b90d42b
@ -1192,29 +1192,6 @@ var
|
||||
compare: TCTSCompareFunction;
|
||||
ctsinfo: TCTSInfo;
|
||||
|
||||
{ procedure cts3;
|
||||
begin
|
||||
RGBToXYZ(clR, clG, clB, X, Y, Z);
|
||||
XYZToCieLab(X, Y, Z, L1, A1, B1);
|
||||
for yy := ys to ye do
|
||||
begin
|
||||
for xx := xs to xe do
|
||||
begin
|
||||
RGBToXYZ(Ptr^.R, Ptr^.G, Ptr^.B, X, Y, Z);
|
||||
XYZtoCIELab(X, Y, Z, L2, A2, B2);
|
||||
if Sqrt(sqr(L1 - L2) + sqr(A1 - A2) +
|
||||
sqr(B1 - B2)) <= Tol then
|
||||
begin
|
||||
ClientTPA[c].x := xx;
|
||||
ClientTPA[c].y := yy;
|
||||
Inc(c);
|
||||
end;
|
||||
Inc(Ptr)
|
||||
end;
|
||||
Inc(Ptr, PtrInc);
|
||||
end;
|
||||
end; }
|
||||
|
||||
begin
|
||||
Result := false;
|
||||
DefaultOperations(xs,ys,xe,ye);
|
||||
|
Loading…
Reference in New Issue
Block a user