| bio | website | |
|---|---|---|
| location | Munich, Germany | |
| age | 35 | |
| visits | member for | 1 year, 3 months |
| seen | 25 mins ago | |
| stats | profile views | 440 |
I work at a small mechanical engineering company, where I develop software and image processing algorithms for camera-based inspection machines.
|
2d |
comment |
How can I detect an ellipse in a photo? I'm not sure about the hough transform: an ellipse has 5 degrees of freedom, that's a huge parameter space to update for each point. |
|
May 12 |
comment |
Does LinearModelFit perform an ordinary linear regression (least squares)? @Rojo: Thanks! That's exactly what I wanted to know. |
|
May 9 |
comment |
How can I return the color at a coordinate in an image? This gives the wrong values! The values in p are coordinates, so they are 0-based, start at the bottom-left corner and are stored in x/y order. Extract expects array indices, which are 1-based, start at the top-left corner and are in row/column (i.e. y/x) order. So the values you get are transposed, upside down and shifted by one pixel. |
|
May 7 |
comment |
Why is arithmetic faster for inexact arithmetic? At least for inexact arithmetic, I'm pretty sure Mathematica never looks for the roots of a polynomial (because that's not numerically stable). It probably uses an iterative method like Jacobi's. |
|
May 7 |
comment |
Does LinearModelFit perform an ordinary linear regression (least squares)? Is there a reason why you use RandomReal[NormalDistribution[] instead of RandomVariate[NormalDistribution[], ? Can RandomReal work with any distribution? If yes, what's the point of RandomVariate anyway? |
|
Apr 30 |
comment |
How to compare graphical objects? What data do you have? A list of polygons? An image? A set of points? With or without outliers? Do you know point correspondences between the compared objects? Maybe FindGeometricTransform could help? |
|
Apr 29 |
comment |
How to compare graphical objects? Sort the lengths of the sides and compare them? |
|
Apr 24 |
comment |
looking for a generalised Hough Transform function or a least a function to locate circles @s.s.o: A hough transform can find circles even if they're not connected components (and circles detected e.g. using EdgeDetect are often not connected). But I think MMA has no built in generalized or circle hough transform. It would be relatively straightforward (but slow) to simulate it by convolving the image with circles with different radii. |
|
Apr 22 |
comment |
Get Coordinates in Image Processing +1. Instead of Dilation, you can use the ComponentMeasurements overload that takes a label matrix instead of an image: ComponentMeasurements[ImageData[Binarize[i]], "Centroid"]. That way, you'll always get a single component, because the label matrix only contains 0 and 1. |
|
Apr 19 |
comment |
Rotate a grid, made up of lines, so that it aligns with the xy axes +1. slope could be made shorter: slope[s_, e_] := ArcTan @@ (e - s) |
|
Apr 18 |
comment |
How to detect crosses and circles in 60x60 raster images? In general, ImageCorrelate and ComponentMeasurements might be worth a try. |
|
Apr 18 |
comment |
How to detect crosses and circles in 60x60 raster images? Can you add a few sample images, so potential answerers can test their answers? |
|
Apr 17 |
comment |
How to find the center of a circular pattern? Is the brightness always symmetrically distributed (as in the sample image you showed)? Then you could just calculate the center of mass of the (possibly thresholded or binarized) image. That's an O(N) operation instead of O(N Log(N)) for the FFT version. |
|
Apr 6 |
comment |
Cover a rectangle with size constrained rectangular regions And also here: stackoverflow.com/questions/15837871/… |
|
Mar 22 |
comment |
How to generate a matrix group? Maybe you could add a simple MemoryConstrained[...]? |
|
Mar 20 |
comment |
Why is this Mandelbrot set's implementation infeasible: takes a massive amount of time to do? @hhh: "0" is an exact number. "0." is a machine-precision number, and calculations with machine-precision numbers are much faster. |
|
Feb 18 |
comment |
Image processing: Floor plan - detecting rooms' borders (area) and room names' texts @s.s.o: That rectangle is not a room at all. It's an artifact of the segmentation used. You could e.g. remove every rectangle that doesn't touch a wall e.g. 50% of its border. Implementation should be straightforward and is left as an exercise to the reader ;-) |
|
Feb 14 |
comment |
Is it possible to do vector calculus in Mathematica? Related/possible duplicate: mathematica.stackexchange.com/questions/3242/… |
|
Feb 13 |
comment |
Image processing: Floor plan - detecting rooms' borders (area) and room names' texts @chris: I think the only new function is GeodesicDilation, right? You could get the same result using a combination of FixedPoint, Dilation and MapThread[Min, {dilation, mask},2]. Could be a lot slower, though. |
|
Feb 12 |
comment |
Finding the likeliest path in a Markov process Isn't that just what Viterbi's algorithm does? |