[{"data":1,"prerenderedAt":184},["ShallowReactive",2],{"project-16304580":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":33,"aspects":34,"strip":37,"post_text":39,"what":40,"said":51,"maker_in_thread":112,"shape":120,"grid":123,"attempts":146,"same_week":147,"maker_shows":176,"maker_hidden":177,"reader_version":178,"card":179},"16304580","poisson_blend","I implemented seamless copy and paste of images, and wrote a tutorial","title","Show HN: I implemented seamless copy and paste of images, and wrote a tutorial","https:\u002F\u002Ferkaman.github.io\u002Fposts\u002Fpoisson_blending.html","erkaman.github.io","erkaman",1517774453,2018,123,11,348,2155,17,"notable","creative","image editing","library",[24,25,26,27],"poisson blending","image compositing","seamless copy paste","gimp plugin","mixed",0,{"positive":31,"neutral":31,"mixed":29,"critical":32},2,1,5,{"execution":35,"docs":36},{"positive":29,"critical":32},{"positive":31,"critical":29},[29,38,38,29,33,29,29,33,29,32,29],3,null,{"problem":41,"audience":39,"pricing":39,"motivation":39,"time_to_build":39,"stack":48,"openness":49,"stage":50,"team_size":50},{"value":42,"source":43,"evidence":44},"Copy-pasting an image into another so the seams blend seamlessly","maker",[45],{"id":46,"by":11,"text":47},"16304582","In this artice, I describe a technique that can be used to seamlessly copy-and-paste one image into another. I also provide source code(https:\u002F\u002Fgithub.com\u002FErkaman\u002Fpoisson_blend),…",[],"open_source","unknown",{"praise":52,"objections":65,"requests":83,"questions":92,"alternatives":97},[53],{"value":54,"source":55,"evidence":56},"Clear, easy-to-understand explanation, even without math background","commenter",[57,61],{"id":58,"by":59,"text":60},"16307963","tomcooks","Thanks for the beautiful explanation, i have no math background and this was really easy to understand. Ulterior examples than library+kitten\u002Fpenguin would be great",{"id":62,"by":63,"text":64},"16307480","domsl","That was very well explained. Would it be possible to include this into GIMP?",[66,73],{"value":67,"source":55,"evidence":68},"Blurry edges give away the blend",[69],{"id":70,"by":71,"text":72},"16308308","userbinator","The blurriness around the edges gives it away --- and blurring the edges is incidentally the same technique that Photoshoppers use when they can't quite get the borders right.",{"value":74,"source":43,"evidence":75},"Results depend heavily on the mask; background leaks into the blend",[76,79],{"id":77,"by":11,"text":78},"16307621","yes, the mask is also pretty important. otherwise, you get lots of stuff from the background of your source image in your blended image, which often looks pretty bad.",{"id":80,"by":81,"text":82},"16307032","sgillen","Looks very cool, am I correct in thinking this won't produce images that are seamless without a good mask to go along with the image? If that's the case I'd be curious to see how…",[84,88],{"value":85,"source":55,"evidence":86},"Integration into GIMP",[87],{"id":62,"by":63,"text":64},{"value":89,"source":55,"evidence":90},"More varied examples beyond library and kitten\u002Fpenguin",[91],{"id":58,"by":59,"text":60},[93],{"value":94,"source":55,"evidence":95},"Does it produce seamless results without a good mask?",[96],{"id":80,"by":81,"text":82},[98,105],{"value":99,"source":55,"evidence":100},"G'MIC plugin for GIMP implements the same Poisson blending paper",[101],{"id":102,"by":103,"text":104},"16307789","StreakyCobra","Indeed, this has been implemented in G'MIC [1], which can be used as a plugin in gimp. I definitively recommend it! (based on the exact same paper :-) [1]…",{"value":106,"source":55,"evidence":107},"ImageMagick Poisson blend script",[108],{"id":109,"by":110,"text":111},"16312319","ovi256","For people that already work with ImageMagick and would prefer an ImageMagick Poisson blend solution, this is a great resource: http:\u002F\u002Fim.snibgo.com\u002Fseamlpm.htm It contains the…",{"comments":113,"answered":31,"key":114},4,[115,116,117],{"id":46,"text":47},{"id":77,"text":78},{"id":118,"text":119},"16307615","since the technique is so simple, it's probably not hard at all to include into GIMP. Wouldn't surprise me if someone had already implemented a plugin for it.",{"commenters":121,"max_depth":113,"maker_replies":113,"first_comment_mins":29,"lifespan_hours":122},8,25,[124,126,128,132,133,135,137,139,140,143,145],[46,29,29,125,11,32],"project\u002Fpositive\u002Fidea",[80,29,38,127,81,29],"project\u002Fneutral\u002Fexecution",[129,29,38,130,131,29],"16307227","maker\u002Fneutral\u002Fnone","acqq",[77,29,29,127,11,32],[62,29,33,134,63,29],"project\u002Fpositive\u002Fdocs",[118,29,29,136,11,32],"project\u002Fneutral\u002Fidea",[102,29,29,138,103,29],"other\u002Fpositive\u002Fnone",[58,29,33,134,59,29],[141,29,29,142,11,32],"16308613","maker\u002Fneutral\u002Fdocs",[70,32,32,144,71,29],"project\u002Fcritical\u002Fexecution",[109,31,29,138,110,29],[],[148,153,158,163,168,172],{"id":149,"name":150,"points":151,"category":152},"16318677","fbs",315,"dev_tools",{"id":154,"name":155,"points":156,"category":157},"16316968","Ask a Dev",288,"learning_science",{"id":159,"name":160,"points":161,"category":162},"16325814","ceev.io",185,"productivity",{"id":164,"name":165,"points":166,"category":167},"16308626","algnuth",157,"languages",{"id":169,"name":170,"points":171,"category":162},"16302034","Simple Print",122,{"id":173,"name":174,"points":175,"category":152},"16305793","HrefTools",118,7,false,"v2",{"id":180,"name":5,"line":6,"ai":177,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":29,"top":18,"kw":181,"maker":11,"domain":10,"tier":19,"attempts":29,"strip":182,"url":9,"mix":183,"praise":54,"objection":67,"sub":21},16304580,[24,25,26,27],"03305005010",[31,31,29,32],1793990970200]