9,880 reputation
22149
bio website
location Munich, Germany
age 36
visits member for 2 years, 6 months
seen 46 mins ago

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


12h
comment Is there a way to recreate the typical Red/Blue-Postereffect using Mathematica?
I don't think you should delete the question. There are no close votes, either. But most image processing questions at least contain some img = Import[url of a good source image] code snippet, so everyone can start playing around right away, and the resulting answers are comparable.
13h
comment Plot a perfect looking circle using two functions, always look like an ellipse
@TimHUK: I think the idea is that the axes in Plot often show different quantities (e.g. meters versus seconds), where PlotRange->Automatic would make no sense, and often give extremely stretched results. So WRI chose a fixed ratio that's supposed to be pretty. (But that's really just guessing.)
14h
answered Populate an upper triangular matrix from a vector of elements
14h
answered Plot a perfect looking circle using two functions, always look like an ellipse
Jul
15
comment How to get the indices of an Image3D that have a value of interest
Do you want indices or coordinates? PixelValuePositions[image, .5] returns coordinates. It's a lot faster than Position, tool
Jul
15
comment Is it possible to calculate with declarations only?
Any program can be expressed as a Turing machine, without functions or variables, only states and a (potentially) infinite tape. I'm not sure if that's what you want, though.
Jul
14
answered Optimization Algorithm: ideas wanted
Jul
13
comment Optimization Algorithm: ideas wanted
If you want to improve your question, show us a function that would "grade" different solutions, i.e. that would add up some distances, values, whatever, and the solution that gets the highest (or lowest) grade is the optimum.
Jul
13
comment Optimization Algorithm: ideas wanted
As it's stated, I think the optimal solution is to move the max in each row to the middle of the row. That way, no value is more than 2 rows away from the maximum.
Jul
13
comment Dynamic with RegionNearest keeps one CPU core at 100% - Is this a bug?
I reported this as a bug to WRI. I also found a reproducible way to crash the kernel using Dynamic, reported that too
Jul
12
comment Swap elements in list without copy
Did you try playing with the numbers? I find it hard to believe that Mathematica can copy a 8 GB list 100.000 times in less than 2 seconds. With a GHz CPU, it should take about a second (order of magnitude) to copy it once.
Jul
12
comment Swap elements in list without copy
But would it also copy the list if no other symbol referenced it? Otherwise, how do you explain @eldo's timing results?
Jul
12
comment Swap elements in list without copy
You could even get rid of the temp write: swap[list_, a_, b_] := {list[[a]], list[[b]]} = {list[[b]], list[[a]]}
Jul
12
answered How can I find out where a key binding is coming from?
Jul
12
revised How can I find out where a key binding is coming from?
added 2 characters in body
Jul
12
comment How can I find out where a key binding is coming from?
@mfvonh: I just realized that my question was only half true: I did find another KeyEvent["9", in the same file, mapped to CreateInlineCell. I commented that out already - but it still seems to be active. Sadly, these EventTranslations seem to be completely undocumented.
Jul
12
revised How can I find out where a key binding is coming from?
added 108 characters in body
Jul
12
comment Can you make the new “Choose color scheme” helper larger?
@Öskå: I thought questions regarding the current version don't get a version tag? That's how it was handled e.g. on this question: mathematica.stackexchange.com/q/15338/242 (version tag for version-9 was removed by rcollyer)
Jul
12
comment Can you make the new “Choose color scheme” helper larger?
Great! I can make the list longer by replacing ImageSize -> {Full, {200}} with ImageSize -> {Full, {600}} in 3 places (for gradient, indexed and physical). But I can't simply make it multi-column, because ListPicker doesn't support that.
Jul
12
asked How can I find out where a key binding is coming from?