11,778 reputation
22959
bio website
location Munich, Germany
age 36
visits member for 3 years, 2 months
seen 9 hours ago

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


Dec
16
comment Find the best parallel lines to a given data set
That happens a lot. Just look up convex hull algorithms and implement one in the language of your choice. Don't try to hand in somebody else's implementation for your own. They'll know. Good luck in college!
Dec
16
comment Find the best parallel lines to a given data set
Do you realize that you posted your question on a Q&A site for the Mathematica programming environment?
Dec
16
revised Find the best parallel lines to a given data set
deleted 280 characters in body
Dec
16
revised Find the best parallel lines to a given data set
added 156 characters in body
Dec
16
answered Find the best parallel lines to a given data set
Nov
25
answered How to ListPlot over an Imported Image
Nov
11
comment Why can I still hear sound when the frequency of the periodic function inside Play is lower than the range of human ear?
@Rojo: Yes, it makes sense to me, too, now. You learn something new every day.
Nov
8
comment Why can I still hear sound when the frequency of the periodic function inside Play is lower than the range of human ear?
@DanielW: I'm curious, what's the connection between speaker size and sound wavelength? For example, I can produce a 50Hz signal with my speakers, although they're much smaller than the 6.9m wavelength.
Nov
6
comment video image recognition
@YvesKlett: On the other hand, when the players get a strong enough electric shock, they should be easier to track ;-)
Nov
6
comment video image recognition
You could try ImageFeatureTrack. But if that doesn't work, prepare to do some serious research. Attaching LEDs to their clothes when they're in the shower might be easier ;-)
Nov
6
comment Running out of memory when partitioning an image with ImagePartition
+1 I usually use a Closing operation instead of a GaussianFilter: It's robust, it removes the characters completely and it doesn't smooth the background brightness (as much). It's slower than GaussianFilter, but with a rectangular mask, processing time shouldn't depend on filter size, either. (Haven't tested that, though.)
Nov
5
accepted Is there a way to symbolically invert a piecewise function
Nov
4
comment Is there a way to symbolically invert a piecewise function
The expression in question is the result of an integral containing piecewise functions. And I don't think I can calculate that integral using ConditionalExpressions. Is there a way to automatically convert a piecewise expression to a set of ConditionalExpressions?
Nov
4
asked Is there a way to symbolically invert a piecewise function
Nov
4
answered Plot[ D[Sin[x]] ] and Evaluate[]
Nov
4
comment Selecting morphological components by clicking on them?
@belisarius: Try PixelValue[k, {232., 138.5}]. It should be 0 or 16, but it's 8. I guess you should round the coordinates before passing them to PixelValues. I wasn't aware of that either.
Nov
4
comment Selecting morphological components by clicking on them?
@MichaelE2: You're right! From the documentation: PixelValue gives the value of the pixel nearest to {x,y}, except that when the position {x,y} lies on a boundary between pixels, the average of the pixels surrounding {x,y} is returned.
Nov
4
comment Selecting morphological components by clicking on them?
You won't see a difference unless you position the locator right at the edge of a component. But you can try to get a pixel value of e.g. the Lena test image with these indices and with PixelValue, and you should get a different result.
Nov
4
comment Selecting morphological components by clicking on them?
I just copied your second example and replaced PixelValue[k, #] & /@ Dynamic@pts with Dynamic[PixelValue[k, pts]]. I didn't try any more than that.
Nov
4
comment Selecting morphological components by clicking on them?
I think your array indices are off by one, because coordinates start at 0 and indices start at 1. I always try to avoid these coordinate to array index conversions, because I never get them right, either.