summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Lukáš Jiřiště [Mon, 14 Oct 2024 10:57:37 +0000 (12:57 +0200)]
Create separate script for meter creation
The script create_meter saves the (polynomial) coefficients with the
writematrix function as *.mtr file. The wanted meter is then loaded
interactively in the main script.
This commit is analogous to the refactoring of mask creation.
Lukáš Jiřiště [Mon, 14 Oct 2024 09:10:47 +0000 (11:10 +0200)]
Create separate script for mask creation
The script create_mask saves the mask as P4 NetPBM (binary BitMap)
which is then loaded in the main script (Bubliny.m)
Lukáš Jiřiště [Mon, 14 Oct 2024 09:08:55 +0000 (11:08 +0200)]
Refactor last_path handling out of get_data_dir
This is done so that the logic can be used with function other than
uigetdir (eg. uigetfile)
Lukáš Jiřiště [Tue, 20 Aug 2024 13:30:57 +0000 (15:30 +0200)]
Add legend, axes labels and time to the plot
Lukáš Jiřiště [Tue, 20 Aug 2024 13:20:00 +0000 (15:20 +0200)]
Refactor get_aggregate_images out
Lukáš Jiřiště [Tue, 20 Aug 2024 12:33:16 +0000 (14:33 +0200)]
Remove pointless comentary
Lukáš Jiřiště [Tue, 20 Aug 2024 12:25:52 +0000 (14:25 +0200)]
Change the image shown after mask acquisition
It was meant to be this kind of image instead of the instensity plot in
the previous commit.
Lukáš Jiřiště [Tue, 20 Aug 2024 12:03:37 +0000 (14:03 +0200)]
Implement the prototype of the data analysis
Also get rid of some pointless comments and commands.
Lukáš Jiřiště [Mon, 19 Aug 2024 15:09:00 +0000 (17:09 +0200)]
Implement get_meter function
This function return a (polynomial) function (handle) which takes
coordinates in pixels in and returns coordinates in meters.
The order of the polynomial may specified in the third input with first
order (linear) being default.
Lukáš Jiřiště [Mon, 19 Aug 2024 12:23:02 +0000 (14:23 +0200)]
Rework get_mask function
Move get_mask to get_simple_mask, and make get_mask get the final mask.
Lukáš Jiřiště [Mon, 19 Aug 2024 12:14:48 +0000 (14:14 +0200)]
Increase default strength of clean_mask
Lukáš Jiřiště [Mon, 19 Aug 2024 11:47:05 +0000 (13:47 +0200)]
Implement image mask computation and usecase
The mask is useful to filter the regions that are not interesting,
that could make further processing more difficult.
Lukáš Jiřiště [Mon, 19 Aug 2024 11:38:03 +0000 (13:38 +0200)]
Remove majority of Bubliny.m
This is a start of major rewrite, so much of the code is thrown out.
The seed of the idea is implemented - maxfig, minfig and meanfig.
Those three hold the maximum, minimum and mean value of each pixel
during the whole measurement and should hold info about how to further
process the data.
Lukáš Jiřiště [Tue, 6 Aug 2024 08:27:59 +0000 (10:27 +0200)]
Change inner loop indexing
The inner loop now uses iteration counter as index and calculates a
separate index for files. This makes the allocated memory smaller and
indexing of some variable easier, especially plotting makes more sense.
Lukáš Jiřiště [Tue, 6 Aug 2024 08:16:23 +0000 (10:16 +0200)]
Make (Universal C)tags file be ignored by git
Lukáš Jiřiště [Wed, 31 Jul 2024 09:54:37 +0000 (11:54 +0200)]
Move LevelNum out of the loop
As it is only read from the name of the directory, there are no changes
between iterations. LevelNum should eventually track the ACTUAL level.
When that time comes, it will be reintroduced to the loop as an array.
Lukáš Jiřiště [Tue, 30 Jul 2024 14:09:41 +0000 (16:09 +0200)]
Fix bug where a plot is rendered on incorrect fig
I dont know whether Matlab can't keep up and does not keep track of
figures, but some figures had no plots and other figures had the missing
plots. This is (hopefully) fixed by directly telling imshow and plot
what figure (axes) to use.
Lukáš Jiřiště [Mon, 29 Jul 2024 14:05:42 +0000 (16:05 +0200)]
Refactor a small function out
The get_representative_intensities is small but I think it may get
expanded significantly. If not this is still more descriptive I think.
Lukáš Jiřiště [Mon, 29 Jul 2024 13:54:09 +0000 (15:54 +0200)]
Deobfuscate the code a little
Move some other pieces of code outside of the loop.
Use ImageName instead of FFiles(jjj).name.
Lukáš Jiřiště [Mon, 29 Jul 2024 09:28:14 +0000 (11:28 +0200)]
Take a few lines outside of a loop
Those lines were only executed during the first iteration so it was
moved before the loop.
Lukáš Jiřiště [Mon, 29 Jul 2024 09:15:20 +0000 (11:15 +0200)]
Unite if branches with the same content
Lukáš Jiřiště [Mon, 29 Jul 2024 08:05:06 +0000 (10:05 +0200)]
Add dialog window for output file selection
Lukáš Jiřiště [Mon, 22 Jul 2024 11:48:38 +0000 (13:48 +0200)]
Add a file that holds the last used data directory
The function get_data_dir creates a (hidden) file with the path last
used. This makes it easier to use when run repeatedly.
Lukáš Jiřiště [Mon, 22 Jul 2024 07:11:11 +0000 (09:11 +0200)]
Refactor meter from the main script as a function
Lukáš Jiřiště [Mon, 15 Jul 2024 07:40:11 +0000 (09:40 +0200)]
Rename Bubliny2023.m to Bubliny.m
It is unnecessary to have the date in the name when the verioning system
this information.
Lukáš Jiřiště [Mon, 1 Jul 2024 09:46:39 +0000 (11:46 +0200)]
Fix spelling mistakes
Lukáš Jiřiště [Mon, 1 Jul 2024 07:23:14 +0000 (09:23 +0200)]
Replace deprecated xlswrite with write* functions
Lukáš Jiřiště [Mon, 24 Jun 2024 08:30:10 +0000 (10:30 +0200)]
Make indentation use tabs, remove bad whitespace
By bad whitespace I mean whitespace that is alone on a line and
whitespace at the end of a line.
Lukáš Jiřiště [Wed, 19 Jun 2024 09:37:33 +0000 (11:37 +0200)]
Improve compatibility with Linux version of Matlab
Substitute '\' with '/' because it works on Unix based OSes as well
as on Windows version of matlab.
Also filter out . and .. dirs.
Lukáš Jiřiště [Wed, 19 Jun 2024 09:26:28 +0000 (11:26 +0200)]
Add the program
This program was created by Tereza Trávníčková.
As no version control was used prior to this commit, the whole project
has to be commited at once.