Skip to content

Commit

Permalink
Merge pull request #27 from hofmannu/feature/documentation-fix
Browse files Browse the repository at this point in the history
Feature/documentation fix
  • Loading branch information
hofmannu authored Jul 22, 2024
2 parents d28bbeb + a03904a commit b5e9603
Show file tree
Hide file tree
Showing 5 changed files with 149 additions and 6 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
# opensaft

![documentation](https://github.com/hofmannu/opensaft/actions/workflows/deploy-documentation.yml/badge.svg)

> [!WARNING]
> This project is currently under development and not yet ready for use. Please check back later.
Volumetric synthetic aperture focusing technique (SAFT) for acoustic resolution optoacoustic microscopy and (soon) scanning acoustic microscopy.

This repository contains an implementation of the synthetic aperture focsuing technique purely written in C++ and CUDA. You need a CUDA capable device and Linux installed on your PC to run the fast GPU version of it. A "slow" CPU version is implemented as well. Installation instructions will soon be provided for ArchLinux as well as dataset specifications.
This repository contains an implementation of the synthetic aperture focusing technique purely written in C++ and CUDA. You need a CUDA capable device and Linux installed on your PC to run the fast GPU version of it. A "slow" CPU version is implemented as well. Installation instructions will soon be provided for ArchLinux as well as dataset specifications.

## Features

- Loading files from a stadardized h5 file format
- Loading files from a standardized `hdf5` file format
- Defining transducer geometries
- Supports both ultrasound pulse echo and optoacoustic mode
- Graphical user interface including preview of preprocessed datasets and reconstructed datasets
Expand Down Expand Up @@ -60,7 +62,7 @@ The last command will generate an executable called `main_exp`.

## Limitations of the underlying model

SAFT induces a strong absorption bias over depth. Absorbance "reconstructed" at different depths can therefore never be compared in a quantitative manner. It also tends to amplify low frequency signals which is the reason why most groups so far reconstruct different freqeucny bands independently (feature requires implementation). In planes very distant from the focus blurring is unavoidable due to the large shape of the reconstruction arcs.
SAFT induces a strong absorption bias over depth. Absorbance "reconstructed" at different depths can therefore never be compared in a quantitative manner. It also tends to amplify low frequency signals which is the reason why most groups so far reconstruct different frequency bands independently (feature requires implementation). In planes very distant from the focus blurring is unavoidable due to the large shape of the reconstruction arcs.

## Documentation

Expand Down Expand Up @@ -97,7 +99,7 @@ The documentation is published on every merge to `main` to [github pages](https:

### Error while loading files

If there is an error occuring about a version mismatch of the hdf5 library while loading a dataset from a file, it is most likely not the dataset itself that has an outdated format but rather the version of the installed h5 library and the library you linked during compilation (e.g. your PC updated the h5 library in the meantime). Simply recompile the program and the error should be gone.
If there is an error occurring about a version mismatch of the `hdf5` library while loading a dataset from a file, it is most likely not the dataset itself that has an outdated format but rather the version of the installed `hdf5` library and the library you linked during compilation (e.g. your PC updated the `hdf5` library in the meantime). Simply recompile the program and the error should be gone.

### Currently not tested against datasets

Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default defineConfig({
},

editLink: {
pattern: 'https://github.com/hofmannu/opensaft/edit/main/blog/:path',
pattern: 'https://github.com/hofmannu/opensaft/edit/main/docs/:path',
},

markdown: {
Expand Down
3 changes: 3 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ hero:
name: "opensaft"
text:
tagline: An open source implementation of the SAFT technique for optoacoustic imaging
image:
src: /logo.svg
alt: opensaft-logo
actions:
- theme: alt
text: Physics
Expand Down
26 changes: 25 additions & 1 deletion docs/literature.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
# Literature

Here we will add a throughout literature review for the technique
## SAFT

- C.-K. Liao et al.: Optoacoustic imaging with synthetic aperture focusing and coherence weighting *Optics Letters* 2004, [10.1364/OL.29.002506][liao2004]
- Meng-Lin Li et al.: Improved in vivo photoacoustic microscopy based on a virtual-detector concept *Optica* 2006 [10.1364/OL.31.000474][li2006]
- Jake Turner et al.: Improved optoacoustic microscopy through three-dimensional spatial impulse response synthetic aperture focusing technique, *Optica* 2014 [10.1364/OL.39.003390][turner2014]
- Jake Turner et al.: Universal weighted synthetic aperature focusing technique (W-SAFT) for scanning optoacoustic microscopy, *Optica* 2017 [10.1364/OPTICA.4.000770][turner2017]

## Iterative reconstruction

- Urs Hofmann et al.: Enhancing optoacoustic mesoscopy through calibration-based iterative reconstruction *Photoacoustics* 2022 [10.1016/j.pacs.2022.100405][hofmann2022]

## System descriptions

- Urs A. T. Hofmann et al.: Rapid functional optoacoustic micro-angiography in a burst mode *Optics Letters* 2020, [10.1364/OL.387630][hofmann2020]

## Applications

missing

[liao2004]: https://doi.org/10.1364/OL.29.002506
[li2006]: https://doi.org/10.1364/OL.31.000474
[turner2014]: https://doi.org/10.1364/OL.39.003390
[turner2017]: https://doi.org/10.1364/OPTICA.4.000770
[hofmann2020]: https://doi.org/10.1364/OL.387630
[hofmann2022]: https://doi.org/10.1016/j.pacs.2022.100405
114 changes: 114 additions & 0 deletions docs/public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b5e9603

Please sign in to comment.