Transpiled version (11490L) is out of date.
svoid bench_binaryImagePixelDifference_sameSize_Image2BAsInts() { int maskSize = 32; L<Image2BAsInts> images = repF(1000, -> new Image2BAsInts(randomBinaryImage(maskSize))); Image2BAsInts mainImage = random(images); print(benchFor5(-> { long sum = 0; for (image : images) sum += binaryImagePixelDifference_sameSize(image, mainImage); ret sum; })); }
Began life as a copy of #1036038
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1036039 |
Snippet name: | bench_binaryImagePixelDifference_sameSize_Image2BAsInts |
Eternal ID of this version: | #1036039/4 |
Text MD5: | 41dd9535f42732d5990934f9ac43f819 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-09-03 01:22:39 |
Source code size: | 387 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 141 / 203 |
Version history: | 3 change(s) |
Referenced in: | [show references] |