skrubbed Posted March 28, 2020 Share Posted March 28, 2020 (edited) Using Median: What I want: original: Is there any plugin that can fix this issue? thanks! Edited March 30, 2020 by skrubbed added original image Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted March 28, 2020 Share Posted March 28, 2020 Can you also show us the original image? Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Red ochre Posted March 28, 2020 Share Posted March 28, 2020 Sorry, no. A plugin could link each white pixel to the nearest white pixel, ('Gossamer' does something similar). No plugin could work out exactly what you think the original image represents and draw it. Even the best so called 'A.I.'! - that's why we need humans (for the time being).👽🙃 Quote Red ochre Plugin pack.............. Diabolical Drawings ................Real Paintings Link to comment Share on other sites More sharing options...
Reptillian Posted March 28, 2020 Share Posted March 28, 2020 17 minutes ago, Red ochre said: Sorry, no. A plugin could link each white pixel to the nearest white pixel, ('Gossamer' does something similar). No plugin could work out exactly what you think the original image represents and draw it. Even the best so called 'A.I.'! - that's why we need humans (for the time being).👽🙃 Actually, this isn't true at all. If you connect all the dots, you can definitely determine which region is the outside and filter it out. Then reconnect the dot separately with distance threshold. However, I must add that this is too much work to do no matter what scripting language or programming language you're using. Quote G'MIC Filter Developer Link to comment Share on other sites More sharing options...
Red ochre Posted March 28, 2020 Share Posted March 28, 2020 3 minutes ago, Reptillian said: Actually, this isn't true at all Prove me wrong!... please... but I'm not. Quote Red ochre Plugin pack.............. Diabolical Drawings ................Real Paintings Link to comment Share on other sites More sharing options...
Reptillian Posted March 28, 2020 Share Posted March 28, 2020 (edited) 6 minutes ago, Red ochre said: Prove me wrong!... please... but I'm not. From a theoretical standpoint? 1. Erase the colored pixels or have them in separate layer. 2. Connect all the dots. 3. Find areas that are outside the lines of connected dots. 4. Largest area implies the outside area. 5. Erode using largest area as base. 6. Pixels outside the eroded area is the outside base. That means you can filter out the inside. 7. Connect the dots using distance threshold within the inside area. Yes, it's doable from a theoretical standpoint. As far as actually proving it, I do have a g'mic script that can be used to detect non-alpha pixels and output them into vectors of coordinates, but I'm not at the point where I want to do proof of concept for this and related things. Edited March 28, 2020 by Reptillian Quote G'MIC Filter Developer Link to comment Share on other sites More sharing options...
Red ochre Posted March 28, 2020 Share Posted March 28, 2020 You are inferring a rule which is not implicit in the first image... you could recreate the second image only with prior knowledge of the the second image... which seems pointless to most sane people. Quote Red ochre Plugin pack.............. Diabolical Drawings ................Real Paintings Link to comment Share on other sites More sharing options...
Reptillian Posted March 28, 2020 Share Posted March 28, 2020 (edited) I do have to agree that exact replication isn't possible, and I do noticed that there's more pixels on the second image. But, without re-scaling, and accepting the rounding errors that comes with pixel-processing, connecting it similar to the second image is certainly possible as it's not impossible to filter out the background based on area and filtering them separately. Eroding is used as an aid to extracting outline. Edited March 28, 2020 by Reptillian Quote G'MIC Filter Developer Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted March 28, 2020 Share Posted March 28, 2020 uh guys.....I think @skrubbed is looking to soften the pixelated edges. Or perhaps thicken them. Hence the use of Median. It's hard to say without sighting the original image. Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
skrubbed Posted March 30, 2020 Author Share Posted March 30, 2020 I added the original image. Quote Link to comment Share on other sites More sharing options...
Eli Posted March 31, 2020 Share Posted March 31, 2020 (edited) I see, you want to smooth your image. It is small and pixels have pointy edges. I would suggest to make your image very large, with lots of pixel (600 ppi). Then play with Median / Surface blur... / Sharpen + / Morphology plugins. Once you have smooth lines you can resize your image back to the original size. Edited March 31, 2020 by Eli Quote Link to comment Share on other sites More sharing options...
BoltBait Posted March 31, 2020 Share Posted March 31, 2020 Maybe what the OP is looking for is scaling algorithms: https://forums.getpaint.net/topic/23601-2d-image-scaling-algorithms/ 1 Quote Download: BoltBait's Plugin Pack | CodeLab | and a Computer Dominos Game Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted April 1, 2020 Share Posted April 1, 2020 Try this: Effects > Blurs > Gaussian Blur @ Radius = 2 Duplicate the layer Top layer, press F4 & set the Blend mode to Additive Lower the Opacity to around half to control the brightness You could then Flatten to a single layer and run Effects > Photo > Sharpen on it to crisp up the edges a little. Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted April 1, 2020 Share Posted April 1, 2020 Another thought is the recently released Grow plugin by Red Ochre. I got reasonable results by setting the Size Variety to 0 & the Mode to Magenta. Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.