Jochen: Rekursive Funktion liefert ungewünschtes Ergebnis

Beitrag lesen

Hallo Rolf,

Was wäre denn performanter als diese Pixelermittlung?

Die ist performant genug.

20.12.2022 12:35:47.902900: line 842: all white. Freiraum = 1
20.12.2022 12:35:47.905400: line 841: all white. Freiraum = 2
20.12.2022 12:35:47.907400: line 840: all white. Freiraum = 3
20.12.2022 12:35:47.909200: line 839: all white. Freiraum = 4
20.12.2022 12:35:47.910900: line 838: all white. Freiraum = 5
20.12.2022 12:35:47.914300: line 837: all white. Freiraum = 6
20.12.2022 12:35:47.917300: line 836: all white. Freiraum = 7
20.12.2022 12:35:47.919400: line 835: all white. Freiraum = 8
20.12.2022 12:35:47.921200: line 834: all white. Freiraum = 9
20.12.2022 12:35:47.922800: line 833: all white. Freiraum = 10
20.12.2022 12:35:47.924500: line 832: all white. Freiraum = 11
20.12.2022 12:35:47.926300: line 831: all white. Freiraum = 12
20.12.2022 12:35:47.927900: line 830: all white. Freiraum = 13
20.12.2022 12:35:47.931500: line 829: all white. Freiraum = 14
20.12.2022 12:35:47.933900: line 828: all white. Freiraum = 15
20.12.2022 12:35:47.935600: line 827: all white. Freiraum = 16
20.12.2022 12:35:47.937300: line 826: all white. Freiraum = 17
20.12.2022 12:35:47.938900: line 825: all white. Freiraum = 18
20.12.2022 12:35:47.940600: line 824: all white. Freiraum = 19
20.12.2022 12:35:47.942200: line 823: all white. Freiraum = 20
20.12.2022 12:35:47.943900: line 822: all white. Freiraum = 21
20.12.2022 12:35:47.946600: line 821: all white. Freiraum = 22
20.12.2022 12:35:47.948600: line 820: all white. Freiraum = 23
20.12.2022 12:35:47.950500: line 819: all white. Freiraum = 24
20.12.2022 12:35:47.952200: line 818: all white. Freiraum = 25
20.12.2022 12:35:47.953900: line 817: all white. Freiraum = 26
20.12.2022 12:35:47.955500: line 816: all white. Freiraum = 27
20.12.2022 12:35:47.957200: line 815: all white. Freiraum = 28
20.12.2022 12:35:47.958900: line 814: all white. Freiraum = 29
20.12.2022 12:35:47.960600: line 813: all white. Freiraum = 30
20.12.2022 12:35:47.962800: line 812: all white. Freiraum = 31
20.12.2022 12:35:47.965500: line 811: all white. Freiraum = 32
20.12.2022 12:35:47.967500: line 810: all white. Freiraum = 33
20.12.2022 12:35:47.969400: line 809: all white. Freiraum = 34
20.12.2022 12:35:47.971100: line 808: all white. Freiraum = 35
20.12.2022 12:35:47.972900: line 807: all white. Freiraum = 36
20.12.2022 12:35:47.974500: line 806: all white. Freiraum = 37
20.12.2022 12:35:47.976200: line 805: all white. Freiraum = 38
20.12.2022 12:35:47.977800: line 804: failed
20.12.2022 12:35:47.980400: line 803: failed
20.12.2022 12:35:47.982100: line 802: failed
20.12.2022 12:35:47.983800: line 801: failed
20.12.2022 12:35:47.985400: line 800: failed
20.12.2022 12:35:47.987200: line 799: failed
20.12.2022 12:35:47.989000: line 798: failed
20.12.2022 12:35:47.990900: line 797: failed
20.12.2022 12:35:47.992600: line 796: failed
20.12.2022 12:35:47.994200: line 795: all white. Freiraum = 1
20.12.2022 12:35:47.996900: line 794: all white. Freiraum = 2
20.12.2022 12:35:47.999000: line 793: all white. Freiraum = 3
20.12.2022 12:35:48.000700: line 792: all white. Freiraum = 4
20.12.2022 12:35:48.002600: line 791: all white. Freiraum = 5
20.12.2022 12:35:48.005700: line 790: all white. Freiraum = 6
20.12.2022 12:35:48.007400: line 789: all white. Freiraum = 7
20.12.2022 12:35:48.009100: line 788: all white. Freiraum = 8
20.12.2022 12:35:48.011600: line 787: all white. Freiraum = 9
20.12.2022 12:35:48.015100: line 786: all white. Freiraum = 10
20.12.2022 12:35:48.017100: line 785: all white. Freiraum = 11
20.12.2022 12:35:48.019000: line 784: all white. Freiraum = 12
20.12.2022 12:35:48.020700: line 783: all white. Freiraum = 13
20.12.2022 12:35:48.022500: line 782: all white. Freiraum = 14
20.12.2022 12:35:48.024600: line 781: all white. Freiraum = 15
20.12.2022 12:35:48.026300: line 780: all white. Freiraum = 16
20.12.2022 12:35:48.028300: line 779: all white. Freiraum = 17
20.12.2022 12:35:48.031500: line 778: all white. Freiraum = 18
20.12.2022 12:35:48.033400: line 777: all white. Freiraum = 19
20.12.2022 12:35:48.035200: line 776: all white. Freiraum = 20
20.12.2022 12:35:48.036900: line 775: all white. Freiraum = 21
20.12.2022 12:35:48.038600: line 774: all white. Freiraum = 22
20.12.2022 12:35:48.040200: line 773: all white. Freiraum = 23
20.12.2022 12:35:48.041900: line 772: all white. Freiraum = 24
20.12.2022 12:35:48.043500: line 771: all white. Freiraum = 25
20.12.2022 12:35:48.045700: line 770: all white. Freiraum = 26
20.12.2022 12:35:48.048800: line 769: all white. Freiraum = 27
20.12.2022 12:35:48.051300: line 768: all white. Freiraum = 28
20.12.2022 12:35:48.053000: line 767: all white. Freiraum = 29
20.12.2022 12:35:48.054600: line 766: all white. Freiraum = 30
20.12.2022 12:35:48.056300: line 765: all white. Freiraum = 31
20.12.2022 12:35:48.058000: line 764: all white. Freiraum = 32
20.12.2022 12:35:48.059600: line 763: all white. Freiraum = 33
20.12.2022 12:35:48.061300: line 762: all white. Freiraum = 34
20.12.2022 12:35:48.064500: line 761: all white. Freiraum = 35
20.12.2022 12:35:48.066500: line 760: all white. Freiraum = 36
20.12.2022 12:35:48.068200: line 759: all white. Freiraum = 37
20.12.2022 12:35:48.069900: line 758: all white. Freiraum = 38
20.12.2022 12:35:48.071500: line 757: all white. Freiraum = 39
20.12.2022 12:35:48.073200: line 756: all white. Freiraum = 40
20.12.2022 12:35:48.074800: line 755: all white. Freiraum = 41
20.12.2022 12:35:48.076500: line 754: all white. Freiraum = 42
20.12.2022 12:35:48.078300: line 753: all white. Freiraum = 43
20.12.2022 12:35:48.080800: line 752: all white. Freiraum = 44
20.12.2022 12:35:48.082500: line 751: all white. Freiraum = 45
20.12.2022 12:35:48.084100: line 750: all white. Freiraum = 46
20.12.2022 12:35:48.085800: line 749: all white. Freiraum = 47
20.12.2022 12:35:48.087600: line 748: all white. Freiraum = 48
20.12.2022 12:35:48.089300: line 747: all white. Freiraum = 49
20.12.2022 12:35:48.091000: line 746: all white. Freiraum = 50
...
20.12.2022 12:35:48.276900: line 647: all white. Freiraum = 149
20.12.2022 12:35:48.279000: line 646: all white. Freiraum = 150