<p>I am new to image processing. I am trying to implement this paper. (official implementation is available on github the link for the same is given below) I have applied one fusion strategy. I am not able to apply the following equation in PyTorch.</p>
<p><a href="https://i.sstatic.net/mzzV3.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/mzzV3.png" alt="enter image description here" /></a></p>
<p>The link to the paper and the GitHub is given below.</p>
<p>Link to paper:
<a href="https://arxiv.org/pdf/1804.08361.pdf" rel="nofollow noreferrer">https://arxiv.org/pdf/1804.08361.pdf</a></p>
<p>Link to official implementation on GitHub:
<a href="https://github.com/hli1221/imagefusion_densefuse" rel="nofollow noreferrer">https://github.com/hli1221/imagefusion_densefuse</a></p>
<p>Can someone please help me with this implementation?</p>
<p>Just the explanation of equation in relation with official implementation is also fine</p>

CC BY-SA 4.0
2023-09-04T14:20:06.363Z
Are you trying to implement [this](https://github.com/hli1221/imagefusion_densefuse/blob/master/fusion_l1norm.py) operation in PyTorch?
Luca Anzalone
CC BY-SA 4.0
2023-09-04T15:26:16.400Z
@LucaAnzalone Yes. I tried myself, but code is incorrect. I am getting blank images as a result
programmer_04_03
CC BY-SA 4.0
2023-09-06T07:05:03.860Z
I see. Have you tried their pytorch version, [here](https://github.com/hli1221/densefuse-pytorch)? Also, I think you should post an issue on their github: you may receive better support.
Luca Anzalone
<deep-learning><python><image-processing>
How to implement Image Fusion Equation in Python
programmer_04_03
# How to implement Image Fusion Equation in Python

(Asked by: username_0 on 2023-09-04)

I am new to image processing. I am trying to implement this paper. (official implementation is available on github the link for the same is given below) I have applied one fusion strategy. I am not able to apply the following equation in PyTorch.

[![enter image description here](https://i.sstatic.net/mzzV3.png)](https://i.sstatic.net/mzzV3.png)

The link to the paper and the GitHub is given below.

Link to paper:
<https://arxiv.org/pdf/1804.08361.pdf>

Link to official implementation on GitHub:
<https://github.com/hli1221/imagefusion_densefuse>

Can someone please help me with this implementation?

Just the explanation of equation in relation with official implementation is also fine

**Tags:** deep-learning, python, image-processing

> **Comments:**
> **username_1**: Are you trying to implement [this](https://github.com/hli1221/imagefusion_densefuse/blob/master/fusion_l1norm.py) operation in PyTorch?  
> **username_0**: @LucaAnzalone Yes. I tried myself, but code is incorrect. I am getting blank images as a result  
> **username_1**: I see. Have you tried their pytorch version, [here](https://github.com/hli1221/densefuse-pytorch)? Also, I think you should post an issue on their github: you may receive better support.  

---

## 0 answers

