nikie
Reputation
20,439
Next privilege 25,000 Rep.
 Apr 27 awarded Nice Answer Apr 26 answered Graph not plotting any points Apr 25 comment Problem with ComponentMeasurements and property “Centroid” Are you looking for IntensityCentroid instead of Centroid? Not everyone has images where intensity-weighted mean makes sense - think RGB images. Apr 23 comment Fitting Stradivari's scroll I thought the "oscillation" was because I missed the actual center point... Apr 23 awarded Nice Answer Apr 22 comment Fitting Stradivari's scroll I've added a linear fit. No idea if this can be constructed using ruler and compass. Apr 22 revised Fitting Stradivari's scroll added 764 characters in body Apr 22 answered Fitting Stradivari's scroll Apr 18 comment Why is inpainting worse in grayscale than in RGB image? I hate it when people change the point of their question after they get an answer... Short version: You probably can't get the same result with a grayscale image that you get from and RGB image, because the color similarity information is lost. Apr 18 answered Why is inpainting worse in grayscale than in RGB image? Apr 18 comment Why is inpainting worse in grayscale than in RGB image? Actually, it says "Inpaint operates separately on each color channel, except with the setting Method->"TextureSynthesis"." Apr 14 comment Graphical Representation of Derivatives I think what you're looking for is the en.wikipedia.org/wiki/Taylor_series Apr 12 comment Transforming part of an image to a square Apr 12 comment Transforming part of an image to a square FindGeometricTransform / ImagePerspectiveTransformation? Apr 10 comment How to apply GradientFilter locally to an image? +1. Suggestions: You could use Graphics to create the mask, instead of array manipulations. That way, you don't need the bounds checks and it's easier to change the mask shape (e.g Graphics[Disk[pt, radius], PlotRange -> Transpose[{{0, 0}, ImageDimensions[img]}], ImageSize -> ImageDimensions[img], Antialiasing -> False]). Also: Why not use LocatorPane? Apr 9 answered How to get the Perfect Maching or Near-Perfect Matching Apr 8 awarded Nice Answer Apr 8 revised How to count precisely proportion of some small pane in a electron microscope picture by it “Area” edited body Apr 8 answered How to count precisely proportion of some small pane in a electron microscope picture by it “Area” Apr 7 comment Differing answers when comparing Wolfram Alpha and Mathematica v.10.2 Pure speculation: Maybe WA evaluates a^b as Exp[Log[a]*b]. That would give complex numbers in intermediate calculations, where the imaginary part doesn't perfectly cancel out due to numerical inaccuracy. Compare: Sum[Exp[Log[(-1.)]*(n + 1)]/n, {n, 1, 100000}] in Mathematica gives a complex result, too (though not the same...)