Commit Graph

152 Commits

Author SHA1 Message Date
Benjamin Loison
86093a40c0
Load training images to memory to ease implementation and make execution
faster
2024-05-13 16:26:58 +02:00
Benjamin Loison
54178c1101
#72: Verify actual data type pointer 2024-05-13 16:10:11 +02:00
Benjamin Loison
50058d5d2e
#72: Verify pointer before actually implementing the correct second choice 2024-05-13 15:55:59 +02:00
Benjamin Loison
dbfc2756b2
Remove commented code 2024-05-13 15:21:30 +02:00
Benjamin Loison
31704c6e78
#72: Implement, possibly incorrectly, first choice 2024-05-13 15:20:17 +02:00
Benjamin Loison
5e6702e007
#63: use scipy.stats.pearsonr 2024-05-13 12:51:26 +02:00
Benjamin Loison
1a910d2e2c
Add a try with numpy.corrcoef 2024-05-13 12:39:59 +02:00
Benjamin Loison
6ed57bc477
Precise purpose of a part of code 2024-05-13 03:13:58 +02:00
Benjamin Loison
3f7b6bf21a
Replace _ with for end-user color channel name 2024-05-13 02:56:27 +02:00
Benjamin Loison
b2ffc20473
Add comments to attribute_source_camera.py 2024-05-13 02:48:22 +02:00
Benjamin Loison
226936020e
Remove comments of {min,max}Color 2024-05-13 02:02:51 +02:00
934add5d91
Add boxplot for the specified denoisers 2024-05-10 00:14:30 +02:00
73fb61b16d
Correct missing denoiser usage 2024-05-10 00:13:47 +02:00
8523c02517
Fix #68: Use same color map for different images to more accurately compare them 2024-05-10 00:03:08 +02:00
3e332c19d8
Remove unnecessary from PIL import Image 2024-05-10 00:02:44 +02:00
Benjamin Loison
f1495f2ba0
Add and use PREDICT_ONLY_ON_WHOLE_TRAINING_SET 2024-05-03 13:55:32 +02:00
Benjamin Loison
612f4119fd
Determine the mean of camera images only on the training set 2024-05-03 03:54:26 +02:00
Benjamin Loison
d7f7728211
Add Denoiser Enum 2024-05-03 03:49:15 +02:00
Benjamin Loison
9fd44debf5
Remove implicit getColorMeans denoiser argument 2024-05-03 03:39:57 +02:00
Benjamin Loison
0c429aa4d6
Add and use getImageCrop 2024-05-03 03:13:38 +02:00
Benjamin Loison
fd6a9868fe
Add mean DENOISER support 2024-05-03 02:47:43 +02:00
Benjamin Loison
9d33abcea3
Add necessary denoiser argument 2024-05-03 02:45:27 +02:00
Benjamin Loison
82b14a8724
Uppercase constants 2024-05-03 02:43:56 +02:00
Benjamin Loison
4bea5e3a97
Move getImageNpArray to utils.py 2024-05-03 02:32:05 +02:00
Benjamin Loison
790c0d6da4
Add and use getImageFilePath 2024-05-03 02:27:07 +02:00
Benjamin Loison
514413e1dd
Add and use getColorMeans 2024-05-03 02:21:01 +02:00
Benjamin Loison
01d18a4943
Rename means to colorMeans
To be clearer for future `attribute_source_camera.py` usage.
2024-05-03 02:13:53 +02:00
Benjamin Loison
d8c7b8b0ef
Add and use getImagePrnuEstimatedNpArray 2024-05-03 02:03:59 +02:00
Benjamin Loison
878cff9aa2
Add and use getSingleColorChannelImages 2024-05-03 02:01:37 +02:00
Benjamin Loison
77b0b6dc6e
Make getMultipleColorsImage also return singleColorChannelImages 2024-05-03 01:59:39 +02:00
Benjamin Loison
591d7dc74a
Make getImageFilePath call implicit 2024-05-03 01:56:05 +02:00
Benjamin Loison
d696edeb3f
Add and use getMultipleColorsImage 2024-05-03 01:54:17 +02:00
Benjamin Loison
fcbccb3b5c
Add and use getImageFilePath 2024-05-03 01:49:54 +02:00
Benjamin Loison
b5b0cc4a7c
Remove no more meaningful progress optional argument 2024-05-02 13:07:03 +02:00
Benjamin Loison
53c3935bab
Clean some debugging 2024-04-30 06:48:17 +02:00
Benjamin Loison
7a807b91d8
#63: Add debugging 2024-04-30 06:45:28 +02:00
Benjamin Loison
a8725e5e88
Move denoising testing images to work even if provide minColor and maxColor (#63) 2024-04-30 05:36:28 +02:00
Benjamin Loison
3c403dbed3
WIP (#63) 2024-04-30 05:31:14 +02:00
Benjamin Loison
b6425b426e
#63: WIP 2024-04-30 05:01:05 +02:00
Benjamin Loison
319ca8fb60
Add attribute_source_camera.py
It is a modified copy of `split_and_compare_prnus_of_subgroups.py`.
2024-04-30 04:48:02 +02:00
Benjamin Loison
aa9f73e8a0
Fix random seed to improve reproducibility 2024-04-30 03:49:45 +02:00
Benjamin Loison
22fc4ce46b
Remove rescale for plt.imsave as do not seem necessary anymore 2024-04-30 03:36:37 +02:00
Benjamin Loison
20fcb247c6
Simplify loops
The idea was initially in the context of #62 to optimize execution
speed.
2024-04-30 03:36:04 +02:00
Benjamin Loison
ad5aa22ae6
Add missing import for saveNpArray and add a missing f-string 2024-04-30 03:35:30 +02:00
Benjamin Loison
c2a2dea2c7
Add a missing argument to getColorChannel in extract_noise.py 2024-04-30 03:22:03 +02:00
Benjamin Loison
31b979edb3
Override print to also print current time 2024-04-30 03:21:32 +02:00
Benjamin Loison
c9f75286bf
Make merge_single_color_channel_images_according_to_bayer_filter.py
virtual environment friendly
2024-04-30 03:20:44 +02:00
Benjamin Loison
ab9466c738
#62: Optimize significantly mergeSingleColorChannelImagesAccordingToBayerFilter 2024-04-30 03:17:19 +02:00
Benjamin Loison
2d67c2bca1
Add and use rescaleRawImageForDenoiser and updateExtremes (#59) 2024-04-30 02:04:17 +02:00
Benjamin Loison
671a692114
#59: Save rmss for futher investigations
For instance to plot a fair comparison, see [issues/59#issuecomment-1732](#59 (comment)).
2024-04-30 01:04:33 +02:00