User Portlet
Featured Contributor
Discussions |
---|
The Wolfram Language has built in support for many standard color model. Among those there is the [L* a* b* color space][1], (LAB henceforth), which may turn out to be particularly useful when it comes to colour processing. The main feature of the... |
ComponentMeasurements measures each component independently. An example with an image from the documentation: With[{segmentation = MorphologicalComponents[image]}, Show[ image, Graphics[{Red, Thick, Rotate[Circle... |
A possible workflow: - use the Mask Tool in the image toolbar to create a mask of the area you care about (using your mouse); - select Copy > Mask as an image; - use `ComponentMeasurements[mask, "Area"]`. |
Sorry for the delay. This is the complete function: [mcode]Compile[{{data, _Real, 1}, {width, _Integer}, {cut, _Real}}, Join[Join[Table[0, {width}], UnitStep[(Take[data, {1 + width, -1 - width}] - (1/#2)* Module[{tot = Total[#1[[1... |
What about something like [mcode]f[m_, S_] := With[{ R = 1, n = 3, t = 1}, 1 - Gamma[ m, (m ((2^(2 R) - 1)/S)^(1/n))/ t] (Gamma[m, (m ((2^(2 R) - 1)/S)^(1/n))/t]/Gamma[m]^2)] data = Table[{S, f[#, S] + RandomReal[{-1, 1}]/100}, {S,... |
I am not super strong in statistic and I am not sure if I understood your problem correctly. However you don't need LinearModelFit to fit a line between two points, [mcode]sA = (Flatten[ImageData[A488, "Bit16"]] - Flatten[ImageData[A405,... |
It seems images one and three have an alpha channel (transparency value). You can take care of it with RemoveAlphaChannel[]. |
While the second one is definitely a issue with the ColorFunction rendering (and you may consider contacting Wolfram support) I am not able to reproduce what you mention in the second paragraph. Neither the graphic size nor the range are changed in... |