10,346 reputation
22150
bio website
location Munich, Germany
age 36
visits member for 2 years, 7 months
seen 3 hours ago

I work at a small mechanical engineering company, where I develop software and image processing algorithms for camera-based inspection machines.


Jun
18
revised How would you efficiently implement BinListsBy?
Added timing for Mr. Wizards version
Jun
18
accepted How would you efficiently implement BinListsBy?
Jun
16
comment How would you efficiently implement BinListsBy?
@Mr.Wizard is right, I'm not looking for a "presentation" solution, but one where I can process the resulting lists further. I wouldn't mind modifying the code to do that, but even if I strip away the strings and TableForm's, it adds a number to each result list, and I'm not sure if it will always be the first element (so I can remove it easily)
Jun
16
revised How would you efficiently implement BinListsBy?
More timings
Jun
16
comment How would you efficiently implement BinListsBy?
@Mr.Wizard: I'm trying to, but I honestly don't understand it well enough. To compare the timings, the function should take a function parameter, like the other versions. Yours (I think?) always gathers by the first subelement, which may or may not be faster than calling a user-supplied function.
Jun
15
answered Moment central of a binary image
Jun
11
comment How would you efficiently implement BinListsBy?
@Szabolcs: My actual purpose is to create a "weighted histogram", of e.g. gradient orientations, weighted by gradient strength of every pixel in an image. As in mathematica.stackexchange.com/questions/23602/…. So yes, the data will probably be packed
Jun
11
awarded  Self-Learner
Jun
11
revised How would you efficiently implement BinListsBy?
timing measurements
Jun
11
revised How would you efficiently implement BinListsBy?
typo
Jun
11
answered How would you efficiently implement BinListsBy?
Jun
11
asked How would you efficiently implement BinListsBy?
Jun
6
answered How to count the number of n-gons and line intersections in an image of a complete graph?
Jun
6
answered Exporting pictures in their correct size when using Grid
Jun
2
comment How do I perform the riffle function backward?
Transpose[Partition[{a, b, c, d, e, f}, 2]]
May
30
comment Negative probability?
That's weird: I'm using MMA 9.0.1, Windows, 64bit, and I get \[Pi]^3/840.
May
29
revised Intersecting/Overlapping Image Elements Counts?
added 1899 characters in body
May
29
answered Intersecting/Overlapping Image Elements Counts?
May
20
revised Rebuild a polygon so it doesn't self intersect
added 3 characters in body
May
19
comment Rebuild a polygon so it doesn't self intersect
@Öskå: You're right, I forgot that SortBy treats exact values and machine-precision values differently. Try using N@ArcTan[... or N[pts] instead, then SortBy should sort them properly.