README.md

Fri, 23 Oct 2020 18:00:53 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Fri, 23 Oct 2020 18:00:53 -0500
changeset 45
097f95638dba
parent 43
492a57594b88
child 50
ef9d33ea4460
permissions
-rw-r--r--

Indirect dependency workarounds

35
3b9105fb72d5 Added a README.md
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
1
37
1b9066dbea57 Change README title
Tuomo Valkonen <tuomov@iki.fi>
parents: 36
diff changeset
2 # ImageTools
35
3b9105fb72d5 Added a README.md
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
3
3b9105fb72d5 Added a README.md
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
4 Author: Tuomo Valkonen <tuomov@iki.fi>
3b9105fb72d5 Added a README.md
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
5
3b9105fb72d5 Added a README.md
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
6 This repository contains some tools for doing mathematical imaging in Julia:
3b9105fb72d5 Added a README.md
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
7
38
73ddbd4779c9 Link to AlgTools
Tuomo Valkonen <tuomov@iki.fi>
parents: 37
diff changeset
8 * Effective visualisation based directly on `GR` instead of `Plots`. A sample visualisation main loop that calls
73ddbd4779c9 Link to AlgTools
Tuomo Valkonen <tuomov@iki.fi>
parents: 37
diff changeset
9 [AlgTools][]-style step routines.
35
3b9105fb72d5 Added a README.md
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
10 * Sub-pixelresolution image translation and sub-image extraction
3b9105fb72d5 Added a README.md
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
11 * Calculation of discrete image gradients (2D, 3D 3D vector fields)
3b9105fb72d5 Added a README.md
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
12 * A very simple image filtering code that seems more efficient than the `ImageFiltering`
3b9105fb72d5 Added a README.md
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
13 package.
3b9105fb72d5 Added a README.md
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
14
3b9105fb72d5 Added a README.md
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
15 The code is used, for example, by <http://dx.doi.org/10.5281/zenodo.3659180>.
36
7a3a963ff507 Installation instructions
Tuomo Valkonen <tuomov@iki.fi>
parents: 35
diff changeset
16
7a3a963ff507 Installation instructions
Tuomo Valkonen <tuomov@iki.fi>
parents: 35
diff changeset
17 ## Installation
7a3a963ff507 Installation instructions
Tuomo Valkonen <tuomov@iki.fi>
parents: 35
diff changeset
18
38
73ddbd4779c9 Link to AlgTools
Tuomo Valkonen <tuomov@iki.fi>
parents: 37
diff changeset
19 To install this package, first clone the repository and [AlgTools][] with [Mercurial](https://www.mercurial-scm.org/):
36
7a3a963ff507 Installation instructions
Tuomo Valkonen <tuomov@iki.fi>
parents: 35
diff changeset
20
7a3a963ff507 Installation instructions
Tuomo Valkonen <tuomov@iki.fi>
parents: 35
diff changeset
21 ```console
7a3a963ff507 Installation instructions
Tuomo Valkonen <tuomov@iki.fi>
parents: 35
diff changeset
22 $ hg clone https://tuomov.iki.fi/repos/AlgTools/
7a3a963ff507 Installation instructions
Tuomo Valkonen <tuomov@iki.fi>
parents: 35
diff changeset
23 $ hg clone https://tuomov.iki.fi/repos/ImageTools/
7a3a963ff507 Installation instructions
Tuomo Valkonen <tuomov@iki.fi>
parents: 35
diff changeset
24 ```
7a3a963ff507 Installation instructions
Tuomo Valkonen <tuomov@iki.fi>
parents: 35
diff changeset
25
7a3a963ff507 Installation instructions
Tuomo Valkonen <tuomov@iki.fi>
parents: 35
diff changeset
26 (Canonical public repository URLs indicated here.)
7a3a963ff507 Installation instructions
Tuomo Valkonen <tuomov@iki.fi>
parents: 35
diff changeset
27 AlgTools has to be installed under the some location as ImageTools.
7a3a963ff507 Installation instructions
Tuomo Valkonen <tuomov@iki.fi>
parents: 35
diff changeset
28 Then add the repository to Julia with `Pkg.develop`:
7a3a963ff507 Installation instructions
Tuomo Valkonen <tuomov@iki.fi>
parents: 35
diff changeset
29
7a3a963ff507 Installation instructions
Tuomo Valkonen <tuomov@iki.fi>
parents: 35
diff changeset
30 ```console
7a3a963ff507 Installation instructions
Tuomo Valkonen <tuomov@iki.fi>
parents: 35
diff changeset
31 julia>] develop LOCATION_OF/ImageTools/
7a3a963ff507 Installation instructions
Tuomo Valkonen <tuomov@iki.fi>
parents: 35
diff changeset
32 ```
7a3a963ff507 Installation instructions
Tuomo Valkonen <tuomov@iki.fi>
parents: 35
diff changeset
33
41
379c4fbd23ff README typofix
Tuomo Valkonen <tuomov@iki.fi>
parents: 38
diff changeset
34 Here replace `LOCATION_OF/ImageTools` with path where you cloned ImageTools. (If you did not change directory after cloning, simply use `ImageTools`.)
36
7a3a963ff507 Installation instructions
Tuomo Valkonen <tuomov@iki.fi>
parents: 35
diff changeset
35 Afterwards, you may use the package with:
7a3a963ff507 Installation instructions
Tuomo Valkonen <tuomov@iki.fi>
parents: 35
diff changeset
36
7a3a963ff507 Installation instructions
Tuomo Valkonen <tuomov@iki.fi>
parents: 35
diff changeset
37 ```console
7a3a963ff507 Installation instructions
Tuomo Valkonen <tuomov@iki.fi>
parents: 35
diff changeset
38 julia> using ImageTools
7a3a963ff507 Installation instructions
Tuomo Valkonen <tuomov@iki.fi>
parents: 35
diff changeset
39 ```
7a3a963ff507 Installation instructions
Tuomo Valkonen <tuomov@iki.fi>
parents: 35
diff changeset
40
38
73ddbd4779c9 Link to AlgTools
Tuomo Valkonen <tuomov@iki.fi>
parents: 37
diff changeset
41 This package is not and is not planned to be available via `Pkg.add` as it is based on the worst and must unusable version control system ever invented: Git.
73ddbd4779c9 Link to AlgTools
Tuomo Valkonen <tuomov@iki.fi>
parents: 37
diff changeset
42
43
492a57594b88 Make denoise test script a proper project so it can be run easily.
Tuomo Valkonen <tuomov@iki.fi>
parents: 41
diff changeset
43 ## Testing
492a57594b88 Make denoise test script a proper project so it can be run easily.
Tuomo Valkonen <tuomov@iki.fi>
parents: 41
diff changeset
44
492a57594b88 Make denoise test script a proper project so it can be run easily.
Tuomo Valkonen <tuomov@iki.fi>
parents: 41
diff changeset
45 To run a simple denoising test using FISTA, use
38
73ddbd4779c9 Link to AlgTools
Tuomo Valkonen <tuomov@iki.fi>
parents: 37
diff changeset
46
43
492a57594b88 Make denoise test script a proper project so it can be run easily.
Tuomo Valkonen <tuomov@iki.fi>
parents: 41
diff changeset
47 ```console
492a57594b88 Make denoise test script a proper project so it can be run easily.
Tuomo Valkonen <tuomov@iki.fi>
parents: 41
diff changeset
48 $ julia --project=DenoiseTest
492a57594b88 Make denoise test script a proper project so it can be run easily.
Tuomo Valkonen <tuomov@iki.fi>
parents: 41
diff changeset
49 julia> using DenoiseTest
492a57594b88 Make denoise test script a proper project so it can be run easily.
Tuomo Valkonen <tuomov@iki.fi>
parents: 41
diff changeset
50 julia> test_denoise()
492a57594b88 Make denoise test script a proper project so it can be run easily.
Tuomo Valkonen <tuomov@iki.fi>
parents: 41
diff changeset
51 ```
38
73ddbd4779c9 Link to AlgTools
Tuomo Valkonen <tuomov@iki.fi>
parents: 37
diff changeset
52
43
492a57594b88 Make denoise test script a proper project so it can be run easily.
Tuomo Valkonen <tuomov@iki.fi>
parents: 41
diff changeset
53 [AlgTools]: https://tuomov.iki.fi/software/AlgTools/

mercurial