{"id":1995,"date":"2019-08-24T14:51:58","date_gmt":"2019-08-24T05:51:58","guid":{"rendered":"https:\/\/rageworx.info\/?p=1995"},"modified":"2019-08-26T10:44:08","modified_gmt":"2019-08-26T01:44:08","slug":"super-resolution-convolution-neuron-network-engine-updated-libsrcnn","status":"publish","type":"post","link":"https:\/\/rageworx.info\/?p=1995","title":{"rendered":"Super Resolution Convolution Neuron Network engine updated &#8211; libsrcnn"},"content":{"rendered":"<p><a href=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/libsrcnn_github_capture.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1996\" src=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/libsrcnn_github_capture-500x403.png\" alt=\"\" width=\"500\" height=\"403\" srcset=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/libsrcnn_github_capture-500x403.png 500w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/libsrcnn_github_capture-768x618.png 768w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/libsrcnn_github_capture-624x502.png 624w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/libsrcnn_github_capture.png 800w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/github.com\/rageworx\/libsrcnn\" target=\"_blank\" rel=\"noopener noreferrer\">My old libsrcnn<\/a> experimentally updated for doing scaling with stepping sequence in multiply ratio 2.0 for solve some issues belong to <a href=\"https:\/\/github.com\/shuwang127\/SRCNN_Cpp\" target=\"_blank\" rel=\"noopener noreferrer\">original source<\/a>.<\/p>\n<p>ShuWang&#8217;s OpenCV codes was just seems to belong to matlab, and I had advanced code with OpenMP then native C++ that runs all almost platform with g++ (and optional OpenMP for accelerating processing speed).<\/p>\n<p>But original source codes contained trained data for maximum 2x multiply, So I had advanced some looping mechanism to multi steps by dividing maximum size by double.<\/p>\n<p>Heres&#8217; some tests with down sized famous butterfly in 64px.<\/p>\n<p>Source image : butterfly_64px.png<\/p>\n<p><a href=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1997\" src=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px.png\" alt=\"\" width=\"64\" height=\"64\" srcset=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px.png 64w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px-60x60.png 60w\" sizes=\"auto, (max-width: 64px) 100vw, 64px\" \/><\/a><\/p>\n<p>Each scaling results comaring before and latest with step-scaling.<\/p>\n<p style=\"padding-left: 40px;\">muliply 1.9x, SRCNN and SRCNN step-scaling (new)<\/p>\n<p style=\"padding-left: 40px;\"><a href=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x1.9-0.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2003 alignnone\" src=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x1.9-0.png\" alt=\"\" width=\"121\" height=\"121\" srcset=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x1.9-0.png 121w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x1.9-0-60x60.png 60w\" sizes=\"auto, (max-width: 121px) 100vw, 121px\" \/><\/a><a href=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x1.9-1.png\">\u00a0 <img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2004 alignnone\" src=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x1.9-1.png\" alt=\"\" width=\"121\" height=\"121\" srcset=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x1.9-1.png 121w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x1.9-1-60x60.png 60w\" sizes=\"auto, (max-width: 121px) 100vw, 121px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 40px;\">multiply 2.0x, SRCNN and SRCNN step-scaling (new)<\/p>\n<p style=\"padding-left: 40px;\"><a href=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x2-0.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2005\" src=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x2-0.png\" alt=\"\" width=\"128\" height=\"128\" srcset=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x2-0.png 128w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x2-0-60x60.png 60w\" sizes=\"auto, (max-width: 128px) 100vw, 128px\" \/><\/a> <a href=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x2-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2006\" src=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x2-1.png\" alt=\"\" width=\"128\" height=\"128\" srcset=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x2-1.png 128w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x2-1-60x60.png 60w\" sizes=\"auto, (max-width: 128px) 100vw, 128px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 40px;\">multiply 3.0x, SRCNN and SRCNN step-scaling (new)<\/p>\n<p style=\"padding-left: 40px;\"><a href=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x3-0.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2007\" src=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x3-0.png\" alt=\"\" width=\"192\" height=\"192\" srcset=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x3-0.png 192w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x3-0-150x150.png 150w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x3-0-176x176.png 176w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x3-0-60x60.png 60w\" sizes=\"auto, (max-width: 192px) 100vw, 192px\" \/><\/a> <a href=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x3-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1998\" src=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x3-1.png\" alt=\"\" width=\"192\" height=\"192\" srcset=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x3-1.png 192w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x3-1-150x150.png 150w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x3-1-176x176.png 176w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x3-1-60x60.png 60w\" sizes=\"auto, (max-width: 192px) 100vw, 192px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 40px;\">multiply 5.0x, SRCNN and SRCNN step-scaling (new)<\/p>\n<p style=\"padding-left: 40px;\"><a href=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x5-0.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1999\" src=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x5-0.png\" alt=\"\" width=\"320\" height=\"320\" srcset=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x5-0.png 320w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x5-0-200x200.png 200w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x5-0-300x300.png 300w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x5-0-150x150.png 150w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x5-0-176x176.png 176w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x5-0-60x60.png 60w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/a> <a href=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x5-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2000\" src=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x5-1.png\" alt=\"\" width=\"320\" height=\"320\" srcset=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x5-1.png 320w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x5-1-200x200.png 200w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x5-1-300x300.png 300w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x5-1-150x150.png 150w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x5-1-176x176.png 176w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x5-1-60x60.png 60w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 40px;\">multiplay 7.0x, SRCNN and SRCNN step-scaling (new)<\/p>\n<p style=\"padding-left: 40px;\"><a href=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x7-0.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2001 size-full\" src=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x7-0.png\" alt=\"\" width=\"448\" height=\"448\" srcset=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x7-0.png 448w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x7-0-200x200.png 200w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x7-0-300x300.png 300w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x7-0-150x150.png 150w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x7-0-176x176.png 176w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x7-0-60x60.png 60w\" sizes=\"auto, (max-width: 448px) 100vw, 448px\" \/><\/a><br \/>\n<a href=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x7-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2002 size-full\" src=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x7-1.png\" alt=\"\" width=\"448\" height=\"448\" srcset=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x7-1.png 448w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x7-1-200x200.png 200w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x7-1-300x300.png 300w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x7-1-150x150.png 150w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x7-1-176x176.png 176w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/08\/butterfly_64px_x7-1-60x60.png 60w\" sizes=\"auto, (max-width: 448px) 100vw, 448px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h4>Sources:<\/h4>\n<p>Step-scaling currently availed in <a href=\"https:\/\/github.com\/rageworx\/libsrcnn\" target=\"_blank\" rel=\"noopener noreferrer\">my github repo<\/a>.<\/p>\n<p>Supports Windows(MinGW-W64, MSYS2), Linux, MacOSX including armhf, aarch64 debian embedded linuxes.<\/p>\n<div id=\"simple-translate\">\n<div>\n<div class=\"simple-translate-button \" style=\"background-image: url('moz-extension:\/\/f27d54c9-7c45-4957-b06f-9be8605a9039\/icons\/512.png'); height: 22px; width: 22px; top: 10px; left: 10px;\"><\/div>\n<div class=\"simple-translate-panel \" style=\"width: 300px; height: 200px; top: 0px; left: 0px; font-size: 13px; background-color: #ffffff;\">\n<div class=\"simple-translate-result-wrapper\" style=\"overflow: hidden;\">\n<p class=\"simple-translate-candidate\" style=\"color: #737373;\">\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>My old libsrcnn experimentally updated for doing scaling with stepping sequence in multiply ratio 2.0 for solve some issues belong to original source. ShuWang&#8217;s OpenCV codes was just seems to belong to matlab, and I had advanced code with OpenMP then native C++ that runs all almost platform with g++&#8230; <a href=\"https:\/\/rageworx.info\/?p=1995\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":2002,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,3],"tags":[10,698,701,700,699,697,702,480],"class_list":["post-1995","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-development","category-raphs","tag-c","tag-convolution","tag-libsrcnn","tag-network","tag-neural","tag-resolution","tag-srcnn","tag-super"],"_links":{"self":[{"href":"https:\/\/rageworx.info\/index.php?rest_route=\/wp\/v2\/posts\/1995","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rageworx.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rageworx.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rageworx.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rageworx.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1995"}],"version-history":[{"count":0,"href":"https:\/\/rageworx.info\/index.php?rest_route=\/wp\/v2\/posts\/1995\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rageworx.info\/index.php?rest_route=\/wp\/v2\/media\/2002"}],"wp:attachment":[{"href":"https:\/\/rageworx.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1995"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rageworx.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1995"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rageworx.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1995"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}