Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sicom_image_analysis_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Matthieu Muller
sicom_image_analysis_project
Compare revisions
b1c7c5185f9b1f1d5e876ce43b31976dffa14a37 to master
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
mullemat/sicom_image_analysis_project
Select target project
No results found
master
Select Git revision
Swap
Target
gerayelk/sicom_image_analysis_project
Select target project
samanost/sicom_image_analysis_project
gerayelk/sicom_image_analysis_project
jelassiy/sicom_image_analysis_project
chardoto/sicom_image_analysis_project
chaarim/sicom_image_analysis_project
domers/sicom_image_analysis_project
elmurrt/sicom_image_analysis_project
sadonest/sicom_image_analysis_project
kouddann/sicom_image_analysis_project
mirabitj/sicom-image-analysis-project-mirabito
plotj/sicom_image_analysis_project
torrem/sicom-image-analysis-project-maxime-torre
dzike/sicom_image_analysis_project
daip/sicom_image_analysis_project
casanovv/sicom_image_analysis_project
girmarti/sicom_image_analysis_project
lioretn/sicom_image_analysis_project
lemoinje/sicom_image_analysis_project
ouahmanf/sicom_image_analysis_project
vouilloa/sicom_image_analysis_project
diopb/sicom_image_analysis_project
davidale/sicom_image_analysis_project
enza/sicom_image_analysis_project
conversb/sicom_image_analysis_project
mullemat/sicom_image_analysis_project
25 results
b1c7c5185f9b1f1d5e876ce43b31976dffa14a37
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/methods/ramanantsitonta_harizo/report_ramanantsitonta.pdf
+0
-0
0 additions, 0 deletions
...methods/ramanantsitonta_harizo/report_ramanantsitonta.pdf
src/methods/template/reconstruct.py
+53
-0
53 additions, 0 deletions
src/methods/template/reconstruct.py
with
53 additions
and
0 deletions
src/methods/ramanantsitonta_harizo/report_ramanantsitonta.pdf
0 → 100644
View file @
a1ed242c
File added
This diff is collapsed.
Click to expand it.
src/methods/template/reconstruct.py
0 → 100644
View file @
a1ed242c
"""
The main file for the reconstruction.
This file should NOT be modified except the body of the
'
run_reconstruction
'
function.
Students can call their functions (declared in others files of src/methods/your_name).
"""
import
numpy
as
np
from
src.forward_model
import
CFA
def
run_reconstruction
(
y
:
np
.
ndarray
,
cfa
:
str
)
->
np
.
ndarray
:
"""
Performs demosaicking on y.
Args:
y (np.ndarray): Mosaicked image to be reconstructed.
cfa (str): Name of the CFA. Can be bayer or quad_bayer.
Returns:
np.ndarray: Demosaicked image.
"""
# Performing the reconstruction.
# TODO
input_shape
=
(
y
.
shape
[
0
],
y
.
shape
[
1
],
3
)
op
=
CFA
(
cfa
,
input_shape
)
return
np
.
zeros
(
op
.
input_shape
)
####
####
####
#### #### #### #############
#### ###### #### ##################
#### ######## #### ####################
#### ########## #### #### ########
#### ############ #### #### ####
#### #### ######## #### #### ####
#### #### ######## #### #### ####
#### #### ######## #### #### ####
#### #### ## ###### #### #### ######
#### #### #### ## #### #### ############
#### #### ###### #### #### ##########
#### #### ########## #### #### ########
#### #### ######## #### ####
#### #### ############ ####
#### #### ########## ####
#### #### ######## ####
#### #### ###### ####
# 2023
# Authors: Mauro Dalla Mura and Matthieu Muller
This diff is collapsed.
Click to expand it.
Prev
1
…
7
8
9
10
11
Next