Skip to content
/ DACAR-SACAR-models Public
  • Notifications You must be signed in to change notification settings
  • Fork 0
  • Star 1

Artifacts reduction in JPEG-Compressed Images using CNNs.

1 star 0 forks Branches Tags Activity
Star
Notifications You must be signed in to change notification settings

Fatma-ALbluwi/DACAR-SACAR-models

Branches Tags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits

DA-CAR_train

DA-CAR_train

 
 

SA-CAR6_train

SA-CAR6_train

 
 

test

test

 
 

train

train

 
 

README.md

README.md

 
 

Repository files navigation

DACAR-SACAR models

Artifacts reduction in JPEG-Compressed Images using CNNs.

DACAR Network/ SACAR Network

In this work, we consider both types of CNN architectures to reduce the artifacts (e.g.; blurring, blocking artifacts and ringing artifacts) in JPEG compressed images. We have proposed two CNNs which we refer to as Direct Architecture Compression Artifacts Removal (DA-CAR) network and Skip Architecture Compression Artifacts Removal (SA-CAR).

  • For DA-CAR version, we experiment with 3, 4, and 5 layer architectures (DACAR3, DA-CAR4 and DA-CAR5, respectively).
  • For the skip-based architecture we consider 6 layers (SACAR6), the third layer is concatenating activation (feature maps) between the first layer and the second layer (2+1).

Direct and Skip Architectures.

cnn

Network-Keras

These codes are to reduce the different artifacts from JPEG compressed images.

If these codes are helpful for you, please cite this paper: Artifacts reduction in JPEG-Compressed Images using CNNs, F. Albluwi, V. Krylov and R. Dahyot Irish Machine Vision and Image Processing conference (IMVIP 2018 https://www.ulster.ac.uk/conference/imvip-2018), 2018. Published in IMVIP e-book of proceedings with ISBN 978-0-9934207-3-3.

Dependencies

  1. Python 3.6.5
  2. TensorFlow 1.1.0.
  3. Keras 2.2.2.
  4. Matlab.
  5. Matconvnet.

Generating data

  1. Reduce the quality of images at different levels (JPEG_Quality = 10 or 20) by using 'Quality' function in Matlab.
  2. The training set is 400 images from the BSDS500 (The Berkeley Segmentation Dataset).

Training

  1. Generate training patches using Matlab: run generate_train.m and generate_test.m which in train folder, and then put this folder in the network folder you want to train (._train as SA-CAR6_train).
  2. Use Keras with TensorFlow (tf) as a backend to train any model (DACAR3, DACAR4, DACAR5 or SA-CAR6); Adam is used to optimizing the network for fast convergence: run DACAR_train.py or SACAR_train.py to produce DACAR model / or SACAR model.
  3. Convert Keras model to .Mat for testing using Matconvnet: run load_save.py first, then run save_model.m to produce Matconvnet model, and then put the .mat file in models folder which in test folder.
  4. Run DACAR_SACAR_test.m in “test” folder to test the model; Live1 (which contains 29 images) and BSD100 (which contains 100 images) are used as testing data.

Some Qualitative Results

Qualitative evaluation of reconstruction quality using different networks for JPEG quality quality = 10 and quality =20.

q10

q20

The Quantitative Results

tables

About

Artifacts reduction in JPEG-Compressed Images using CNNs.

Resources

Readme
Activity

Stars

1 star

Watchers

2 watching

Forks

0 forks
Report repository

Releases

No releases published

Packages

No packages published

Languages

  • MATLAB 30.9%
  • Cuda 24.0%
  • C++ 18.0%
  • Python 10.6%
  • TeX 10.6%
  • Shell 2.4%
  • Other 3.5%

Footer

© 2024 GitHub, Inc.

深圳SEO优化公司玉溪建网站哪家好楚雄关键词按天扣费多少钱郴州网站开发推荐眉山网站改版多少钱塔城建网站推荐宁德如何制作网站哪家好烟台关键词排名多少钱泰州网站优化多少钱坑梓企业网站改版价格漯河网站seo优化价格坪地SEO按天计费长春关键词按天扣费公司泉州网页制作推荐凉山百度爱采购公司梅州网站关键词优化哪家好湘西网站优化推广多少钱衡阳关键词排名包年推广公司吉祥网站改版价格贵阳网站推广系统价格延安建设网站价格绍兴网站制作设计公司迪庆品牌网站设计推荐唐山网站优化按天收费哪家好德阳SEO按天收费多少钱淄博百度爱采购价格湛江网站搭建报价酒泉seo多少钱延安网站制作报价商丘SEO按天扣费推荐青岛网站优化推广哪家好歼20紧急升空逼退外机英媒称团队夜以继日筹划王妃复出草木蔓发 春山在望成都发生巨响 当地回应60岁老人炒菠菜未焯水致肾病恶化男子涉嫌走私被判11年却一天牢没坐劳斯莱斯右转逼停直行车网传落水者说“没让你救”系谣言广东通报13岁男孩性侵女童不予立案贵州小伙回应在美国卖三蹦子火了淀粉肠小王子日销售额涨超10倍有个姐真把千机伞做出来了近3万元金手镯仅含足金十克呼北高速交通事故已致14人死亡杨洋拄拐现身医院国产伟哥去年销售近13亿男子给前妻转账 现任妻子起诉要回新基金只募集到26元还是员工自购男孩疑遭霸凌 家长讨说法被踢出群充个话费竟沦为间接洗钱工具新的一天从800个哈欠开始单亲妈妈陷入热恋 14岁儿子报警#春分立蛋大挑战#中国投资客涌入日本东京买房两大学生合买彩票中奖一人不认账新加坡主帅:唯一目标击败中国队月嫂回应掌掴婴儿是在赶虫子19岁小伙救下5人后溺亡 多方发声清明节放假3天调休1天张家界的山上“长”满了韩国人?开封王婆为何火了主播靠辱骂母亲走红被批捕封号代拍被何赛飞拿着魔杖追着打阿根廷将发行1万与2万面值的纸币库克现身上海为江西彩礼“减负”的“试婚人”因自嘲式简历走红的教授更新简介殡仪馆花卉高于市场价3倍还重复用网友称在豆瓣酱里吃出老鼠头315晚会后胖东来又人满为患了网友建议重庆地铁不准乘客携带菜筐特朗普谈“凯特王妃P图照”罗斯否认插足凯特王妃婚姻青海通报栏杆断裂小学生跌落住进ICU恒大被罚41.75亿到底怎么缴湖南一县政协主席疑涉刑案被控制茶百道就改标签日期致歉王树国3次鞠躬告别西交大师生张立群任西安交通大学校长杨倩无缘巴黎奥运

深圳SEO优化公司 XML地图 TXT地图 虚拟主机 SEO 网站制作 网站优化