GithubHelp home page GithubHelp logo

ninachang1107 / imagefusion_dllrr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hli1221/imagefusion_dllrr

0.0 2.0 0.0 203.87 MB

multi-focus image fusion using dictionary learning and low-rank representation(HOG features)

MATLAB 100.00%

imagefusion_dllrr's Introduction

Multi-focus Image Fusion using dictionary learning and Low-Rank Representation

"Hui Li, Xiao-Jun Wu. Multi-focus Image Fusion using dictionary learning and Low-Rank Representation."

ICIG2017(oral)

The framework for fusion method

Dictionary learning

Reconstructure

Abstract

We propose a novel multi-focus image fusion method based on dictionary learning and LRR to get a better performance in both global and local structure.

Firstly, the source images are divided into several patches by sliding window technique. Then, the patches are classified according to the Histogram of Oriented Gradient (HOG) features. And the sub-dictionaries of each class are learned by K-singular value decomposition (K-SVD) algorithm. Secondly, a global dictionary is constructed by combining these sub-dictionaries.

Then, we use the global dictionary in LRR to obtain the LRR coefficients vector for each patch. Finally, the l_1-norm and choose-max fuse strategy for each coefficients vector is adopted to reconstruct fused image from the fused LRR coefficients and the global dictionary.

Figures and data

1 made_images and made_images_new are the source images which contain different focus region.

2 image_vector and image_vector_new are the image patches matrices and each column is an imape patch which divided by sliding window technique.

3 dictionary and dictionary_new are the su-dictionaries from image_vector and image_vector_new.

Source code

1 Hog.m---extract the HOG features of image patch.

2 The code of LRR

solve_lrr.m

solve_l1l2.m

inexact_alm_lrr_l1l2.m, inexact_alm_lrr_l1.m

exact_alm_lrr_l1l2.m, exact_alm_lrr_l1.m

3 getClassLabel.m ---- set class label for each patch.

4 fusion_HOG_LRR.m ---- main file.

LRR parts

The LRR method is proposed by Guangcan Liu in 2010.

"Liu G, Lin Z, Yu Y. Robust Subspace Segmentation by Low-Rank Representation[C]// International Conference on Machine Learning. DBLP, 2010:663-670."

And we just use this method in our paper without change.

imagefusion_dllrr's People

Contributors

hli1221 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.