Reputation
14,673
Next privilege 15,000 Rep.
Protect questions
Badges
2 33 71
Newest
 Nice Answer
Impact
~161k people reached

1d
comment How to find points along the inner and outer edge of a ring along a specific direction
Wouldn't this select (almost) every point if the slices were small enough? I think you need to define what you mean by "points on an edge", before you start programming
Jul
27
comment How to select components selected via SelectComponents?
+1. Also, ComponentMeasurements takes a 3rd parameter crit, that basically does the same as SelectComponents last parameter - so you don't need SelectComponents at all.
Jul
27
comment Reconstruction of interrupted paths in images
@Kardashev3: Then maybe you should have added a comment while the bounty was still active. Since you didn't, the obvious conclusion was you were either happy with the answer or lost interest.
Jul
22
comment Reconstruction of interrupted paths in images
@belisarius: yes, if I'd have known about it ;-)
Jul
22
comment marking spontaneous in an Image and collect coordinates
Or maybe you're looking for LocatorPane? Or you want to mark locations in the Frontend?
Jul
18
comment How do I remove grid from this photo?
Well, if you zoom in, you can still see the grid, and the whiskers look more like "dashed" lines. Room for improvement, but I don't think you can get much further with Inpaint
Jul
13
comment Visualization of traces of moving objects
Your chances of getting help would be much higher if you could isolate your problem: Find the line or lines (2-3 lines, not 20 lines) that take most of the time, and post some code that can be benchmarked with e.g. a random matrix. (That would also make potential answers more usable to other people.) And really: if you want to improve performance, finding out where the bottleneck is should be your first step anyway.
Jul
10
comment Remove static objects from an image sequence
This would be easier if you would post a few images...
Jul
10
comment Remove static objects from an image sequence
Sounds like [en.wikipedia.org/wiki/Background_subtraction], but I don't think MMA has a built-in function for that.
Jul
8
comment Image smoothing with own smoothing function
@mrz: You would simply use DiskMatrix instead of BoxMatrix
Jul
8
comment Image smoothing with own smoothing function
@Guesswhoitis. I wanted to make the step from Count[data, {0., 0., 0.}, Infinity] to Norm[# - {0,0,0}] more obvious.
Jul
7
comment Image smoothing with own smoothing function
Why don't you process the source image (before the Colorize step) - wouldn't that make the counting easier?
Jul
7
comment How to put an imported image in a Disk?
@LightnessRacesinOrbit: Easier said than done. The OP mentioned a face, and of the 6 portrait images in MMA's ExampleData collection, all are female, and at least 3 of them look suspiciously like pin-ups.
Jul
3
comment Draw a vector with mathematica
Do you mean Arrow[{{1,1,1},{1,-1,2}}]?
Jul
3
comment Curvature Application
@amr: Not yet. I'll think about it ;-)
Jul
3
comment Curvature Application
@David: Yes, t is the arc length. s would have probably been a better variable name. I've added a few paragraphs explaining tTotal at the end
Jun
13
comment How to do automatic differentiation?
Is there a reason why you want source code transformation instead of operator overloading (which is straightforward to do in MMA, I think)?
May
25
comment What kind of algorithm can be used to map image coordinates to cylinder coordinates
@ChongVera: IIRC, I started with a simple 2nd order polynomial in X direction and 1st order polynomial in Y direction. Then I kept adding terms that didn't break FindMinimum and seemed to improve the result image visually. So, basically, by trial and error.
May
17
comment Compute a hessian matrix on a image?
@SURF: Of course, just pack the whole thing in a function that takes the scale parameter (second parameter to GaussianFilter) as a parameter and call that with a range of values (using Table or Array). Or use Manipulate to see the effect of scale interactively.
May
16
comment Compute a hessian matrix on a image?
@SURF: Sure, you could use e.g. minEigenvalue = MapThread[Min, imgEigenvalues, 2]; to calculate the per-pixel min of the two eigenvalues, then binarize the result that.