Skip to content

Commit 18b3c01

Browse files
Merge pull request #97 from hMRI-group/add-denoising-module
add denoising module to toolbox: Java-Matlab interface for LCPCA denoising
2 parents bc19c9e + 6bd89fa commit 18b3c01

11 files changed

+805
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ Most recent version numbers *should* follow the [Semantic Versioning](https://se
1010
- set default WM percent value in hmri_defaults.
1111
- spatial processing: add explicit mask creation and fix implicit mask (0 to NaN in float images)
1212
- update FIL seste seq parameters in get_metadata_val_classic
13+
- denoising module-first part: Java-Matlab interface for LCPCA denoising
1314

1415
### Fixed
1516
- replace `datestr(now)` with `datetime('now')` in line with [MATLAB recommendation](https://mathworks.com/help/matlab/matlab_prog/replace-discouraged-instances-of-serial-date-numbers-and-date-strings.html)
1617
- fix crash if input images have different matrix sizes, and warn
1718
- make B1-map creation using 3DEPI SE/STE and AFI methods fall back to defaults without sidecar files, rather than crash
1819
- Modify the filenames as files are copied to RFsensCalc to prevent overwriting in further processing
1920
- batch interface now enforces the number of B1 input images correctly for B1 mapping methods which only need two images.
20-
- Fix error if optimization toolbox not present during NLLS R2* calculation
21+
- fix error if optimization toolbox not present during NLLS R2* calculation
2122

2223
## [v0.6.1]
2324
### Fixed

config/hmri_denoising_defaults.m

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
function hmri_denoising_defaults
2+
3+
%init the global variable which carries the params
4+
global hmri_def;
5+
6+
%Enter denoising default values as: hmri_def.denoising.(denoising-protocol).(default-value)
7+
8+
%The default values for lcpca denoising protocol
9+
%all optional parameters turned off
10+
hmri_def.denoising.lcpca_denoise.mag_input = {}; %%required-null initialize here input with GUI
11+
hmri_def.denoising.lcpca_denoise.phase_input = {}; %%optional-null initialize here input with GUI
12+
hmri_def.denoising.lcpca_denoise.output_path=''; %%required-null initialize here input with GUI
13+
hmri_def.denoising.lcpca_denoise.min_dimension= 0; %%required-initialize here
14+
hmri_def.denoising.lcpca_denoise.max_dimension = -1; %%required-initialize here
15+
hmri_def.denoising.lcpca_denoise.unwrap = false; %%optional
16+
hmri_def.denoising.lcpca_denoise.rescale_phs = false; %%optional
17+
hmri_def.denoising.lcpca_denoise.process_2d=false; %%optional
18+
hmri_def.denoising.lcpca_denoise.use_rmt=false; %%optional
19+
end
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
%init the global variable which carries the params
2+
global hmri_def;
3+
4+
%Enter denoising default values as: hmri_def.denoising.(denoising-protocol).(default-value)
5+
6+
%The default values for lcpca denoising protocol
7+
%all optional parameters turned off
8+
hmri_def.denoising.lcpca_denoise.mag_input = {}; %%required-null initialize here input with GUI
9+
hmri_def.denoising.lcpca_denoise.phase_input = {}; %%optional-null initialize here input with GUI
10+
hmri_def.denoising.lcpca_denoise.output_path=''; %%required-null initialize here input with GUI
11+
hmri_def.denoising.lcpca_denoise.min_dimension= 0; %%required-initialize here
12+
hmri_def.denoising.lcpca_denoise.max_dimension = -1; %%required-initialize here
13+
hmri_def.denoising.lcpca_denoise.unwrap = false; %%optional
14+
hmri_def.denoising.lcpca_denoise.rescale_phs = false; %%optional
15+
hmri_def.denoising.lcpca_denoise.process_2d=false; %%optional
16+
hmri_def.denoising.lcpca_denoise.use_rmt=false; %%optional

0 commit comments

Comments
 (0)