Bubble_column.git
15 months agoAdd legend, axes labels and time to the plot
Lukáš Jiřiště [Tue, 20 Aug 2024 13:30:57 +0000 (15:30 +0200)]
Add legend, axes labels and time to the plot

15 months agoRefactor get_aggregate_images out
Lukáš Jiřiště [Tue, 20 Aug 2024 13:20:00 +0000 (15:20 +0200)]
Refactor get_aggregate_images out

15 months agoRemove pointless comentary
Lukáš Jiřiště [Tue, 20 Aug 2024 12:33:16 +0000 (14:33 +0200)]
Remove pointless comentary

15 months agoChange the image shown after mask acquisition
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.

15 months agoImplement the prototype of the data analysis
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.

15 months agoImplement get_meter function
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.

15 months agoRework get_mask function
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.

15 months agoIncrease default strength of clean_mask
Lukáš Jiřiště [Mon, 19 Aug 2024 12:14:48 +0000 (14:14 +0200)]
Increase default strength of clean_mask

15 months agoImplement image mask computation and usecase
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.

15 months agoRemove majority of Bubliny.m
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.

15 months agoChange inner loop indexing old_version
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.

15 months agoMake (Universal C)tags file be ignored by git
Lukáš Jiřiště [Tue, 6 Aug 2024 08:16:23 +0000 (10:16 +0200)]
Make (Universal C)tags file be ignored by git

15 months agoMove LevelNum out of the loop
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.

15 months agoFix bug where a plot is rendered on incorrect fig
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.

16 months agoRefactor a small function out
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.

16 months agoDeobfuscate the code a little
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.

16 months agoTake a few lines outside of a loop
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.

16 months agoUnite if branches with the same content
Lukáš Jiřiště [Mon, 29 Jul 2024 09:15:20 +0000 (11:15 +0200)]
Unite if branches with the same content

16 months agoAdd dialog window for output file selection
Lukáš Jiřiště [Mon, 29 Jul 2024 08:05:06 +0000 (10:05 +0200)]
Add dialog window for output file selection

16 months agoAdd a file that holds the last used data directory
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.

16 months agoRefactor meter from the main script as a function
Lukáš Jiřiště [Mon, 22 Jul 2024 07:11:11 +0000 (09:11 +0200)]
Refactor meter from the main script as a function

16 months agoRename Bubliny2023.m to Bubliny.m
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.

16 months agoFix spelling mistakes
Lukáš Jiřiště [Mon, 1 Jul 2024 09:46:39 +0000 (11:46 +0200)]
Fix spelling mistakes

17 months agoReplace deprecated xlswrite with write* functions
Lukáš Jiřiště [Mon, 1 Jul 2024 07:23:14 +0000 (09:23 +0200)]
Replace deprecated xlswrite with write* functions

17 months agoMake indentation use tabs, remove bad whitespace
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.

17 months agoImprove compatibility with Linux version of Matlab
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.

17 months agoAdd the program
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.