A simple test image useful to try various algorithms of gradient, edge detection,...
The test image of Fig. 1 is calculated from the following formula taken from [MathWorks]
v = x * exp(-x2 - y2) with x ∈ [-2;+2] and y ∈ [-2;+2]
with the following IJ script using the function Process > Math > Macro...
in="test";
newImage(in, "32-bit Black", 256, 256, 1);
formula="[v=(x/64-2)*exp(-(x/64-2)*(x/64-2) -(y/64-2)*(y/64-2))]";
run("Macro...", "code="+formula);
Fig.1: Test image |
Fig.2: Test image viewed in 3D with a Thermal LUT |
No comments:
Post a Comment