software:imagemath
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| software:imagemath [2018/06/23 12:38] – created matthias | software:imagemath [2019/09/05 14:54] (current) – smerkel | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| - | Image Math is a tool to calculate | + | ===== What does the program do? ===== |
| - | For this, navigate | + | ImageMath is a set of script |
| - | | + | It was written by Gavin Vaughan at ESRF and is available on the old fable website: [[https:// |
| + | |||
| + | In fact there is a small issue with it. S. Merkel did find a fix some years ago but does not remember what he did. He has a binary called | ||
| + | |||
| + | ===== Installing Image Math ===== | ||
| + | |||
| + | ==== Necessary Hardware and Software ==== | ||
| + | First of all, you will need Linux, either as a separate harddrive | ||
| + | |||
| + | The next thing to do is to ask [[people: | ||
| + | |||
| + | ==== Installation ==== | ||
| + | Save the binary file in the directory /// | ||
| + | sudo cp ../ | ||
| + | and type in the root/admin password. Afterwards, check if the copying process worked by looking at the target directory / | ||
| + | |||
| + | Next thing to do is to make the file executable. This works by typing the following to the Konsole (you have to be in the / | ||
| + | sudo chmod u+x image_math_petra.bin | ||
| + | If it looks like nothing happened, everything worked fine. | ||
| + | |||
| + | ===== Working with Image Math ===== | ||
| + | |||
| + | From the command line in the folder with the //.edf// files type image_math_petra [stem name] [first file] [last file] [operation] \\ \\ | ||
| + | Example: | ||
| + | image_math_petra fcc_1_ 0 111 median | ||
| + | |||
| + | In case you have only the //.bin// file this won't work. You have to go to the folder where // | ||
| + | sudo ./ | ||
| + | Make sure you get the path of the //.edf// images right. Otherwise // | ||
| + | |||
| + | The program will create three new files, which are named the same as your previous //.edf// images, just with an **m** in the middle. | ||
| + | * fcc_1_m10000.edf (average image) | ||
| + | * fcc_1_m20000.edf (median image) | ||
| + | * fcc_1_m30000.edf (trimean image) | ||
| + | |||
| + | ===== Visualizing images with the background removed ===== | ||
| + | |||
| + | We proceed with the " | ||
| + | |||
| + | {{ : | ||
| - | The program will create three new files, which are named the same as your previous .edf images, just with an ' | ||
software/imagemath.1529750324.txt.gz · Last modified: (external edit)
