GIMP Chat
http://gimpchat.com/

new filter "WireframeMapSE" (w/o use of G'MIC)
http://gimpchat.com/viewtopic.php?f=9&t=14207
Page 1 of 1

Author:  dinasset [ Mon Jun 13, 2016 4:41 am ]
Post subject:  new filter "WireframeMapSE" (w/o use of G'MIC)

This filter has been created without the use of G'MIC functions, so that it can be used also by people like Dalia and any other user having a system where G'MIC is not running properly (Mac?).
Warning: it is not a special edition of mine filters either referring to Lyle's tut or Garagecoder's filters, because all of those strongly rely on G'MIC.This has a new sequence of steps created by me with the use of Gimp standard filters.

Flow implemented to get the final result:

1. Create a new image (size id a choice of the user)
2. Create a BG from the input layer
3. Save it on a buffer
4. Simplify the colours by using a conversion of the image to indexed (16 colours) then back to RGBA
5. Apply a strong Unsharp Mask
6. Add a layer
7. Create a Grid on this new layer (draw horizontal and vertical lines, size is a user choice)
8. Map displace the grid according to the BG layer
9. Add a layer
10.Apply Gimp Edges to the last created drawable
11.Remove black pixels from the Edges layer
12.Analyze type of final outcome requested by the user:
a) if Transparent: set current BG not visible
b) if Black: create an underlying BG black layer
c) if B&W image: desaturate current BG visible as well as the Edges layer
d) if Original: create an underlying BG from the saved buffer

Outcomes can be considered not as nice as those from my mentioned previous filters, anyhow it offers a "wireframed output" possibility to everybody (I hope).
Below you will see examples of the outcomes.

Once installed you find it under menu="<Image>/Diego/Wiremap"

Initial Release (all subsequent releases if any will be posted here)

Attachment:
DIEGO_WIREMAP_WireframeMap_SE.7z [2.9 KiB]
Downloaded 177 times


release for Dalia's tests (Dalia, see post at the end of the thread)
Attachment:
DIEGO_WIREMAP_WireframeMapSE1.7z [1.63 KiB]
Downloaded 107 times

Attachment:
DIEGO_WIREMAP_WireframeMapSE2.7z [2.92 KiB]
Downloaded 127 times

Author:  dinasset [ Mon Jun 13, 2016 4:46 am ]
Post subject:  Re: new filter "WireframeMapSE"

Output if User selected "Outcome on Transparent"

Attachment:
Outcome as Transparent.png
Outcome as Transparent.png [ 2.93 MiB | Viewed 2904 times ]


(it's really transparent BG, not White)

Author:  dinasset [ Mon Jun 13, 2016 4:48 am ]
Post subject:  Re: new filter "WireframeMapSE"

Outcome if User selected "Outcome on Black BG"

Attachment:
Outcome on Black BG.png
Outcome on Black BG.png [ 2.68 MiB | Viewed 2903 times ]

Author:  dinasset [ Mon Jun 13, 2016 4:51 am ]
Post subject:  Re: new filter "WireframeMapSE"

Outcome if User selected "Outcome as Black&White Image"

Attachment:
Outcome as B&W image.png
Outcome as B&W image.png [ 2.2 MiB | Viewed 2902 times ]

Author:  dinasset [ Mon Jun 13, 2016 4:54 am ]
Post subject:  Re: new filter "WireframeMapSE"

Outcome if User selected "Outcome on original coloured BG"

Attachment:
Outcome on original coloured BG.png
Outcome on original coloured BG.png [ 2.95 MiB | Viewed 2901 times ]


that's all.
Enjoy (possibly)

Author:  dinasset [ Mon Jun 13, 2016 5:19 am ]
Post subject:  Re: new filter "WireframeMapSE"

for fun
filling the Black Bg with a Chaos Texture
recreating the Visible Layer

Attachment:
Outcome with a Chaos BG.png
Outcome with a Chaos BG.png [ 3.81 MiB | Viewed 2877 times ]

Author:  Wallace [ Mon Jun 13, 2016 5:46 am ]
Post subject:  Re: new filter "WireframeMapSE"

:coolthup

Author:  Dalia [ Mon Jun 13, 2016 11:32 am ]
Post subject:  Re: new filter "WireframeMapSE" (w/o use of G'MIC)

dinasset, I'm on it ~ thank you again! I can now create along with my gimp friends. Will try it out soon. :tyspin

Author:  Dalia [ Mon Jun 13, 2016 2:45 pm ]
Post subject:  Re: new filter "WireframeMapSE" (w/o use of G'MIC)

dinasset, first I want to again say how much it is appreciated what you do - it doesn't go unnoticed. I downloaded the
"WireframeMapSE" w/o G'mic and it did not show up at all in the menu.

However, I went into my plugins folder and found so many others that I had downloaded and for a bit played with taking them out of the folder one-by-one and then placing only one back. The results and for your information in case it helps...

1. DIEGO_WIREMAP_WireframeMap_SE.py (does not show up).
2. jaz_DIEGO_WIREMAP_WireframeMap_Lyle 1.38.58 PM.py (does not show up)

DIEGO_WireframeMap_Lyle.py Shows up as “Diego Test” it works Example

Image


DIEGO_WIREMAP_WireframeMap_Lyle.py Shows up under “Diego” as Wiremap Example but gives an entirely different result.

Image

If I put both working plugins in the folder, only the one under "Diego Test" shows up.

Author:  dinasset [ Mon Jun 13, 2016 2:59 pm ]
Post subject:  Re: new filter "WireframeMapSE" (w/o use of G'MIC)

my suggestion now is:
- remove again all plug-in wireframe you have in your plug-in folder
- DELETE the pluginrc file you have in your gimp user directory
- restart Gimp (obviously no one wireframe plug-in should show up)
- close Gimp
- reintroduce in your plug-ins folder ONLY the last one (this one: WireframeMapSE)
- restart Gimp
crossing the fingers....

Author:  Dalia [ Mon Jun 13, 2016 3:17 pm ]
Post subject:  Re: new filter "WireframeMapSE" (w/o use of G'MIC)

dinasset, I did as instructed above - it doesn't show up anywhere. I also did a "Help" and typed it in with no success.

Author:  dinasset [ Mon Jun 13, 2016 3:22 pm ]
Post subject:  Re: new filter "WireframeMapSE" (w/o use of G'MIC)

no other suggestions at the moment
I can't see what could be wrong with this code
Tomorrow -fresh mind- I will carefully re-read each statement...

Author:  Dalia [ Mon Jun 13, 2016 3:32 pm ]
Post subject:  Re: new filter "WireframeMapSE" (w/o use of G'MIC)

You've done more than enough - don't go through that again. I'll admire and work with what I have :tyspin

Author:  dinasset [ Tue Jun 14, 2016 3:22 am ]
Post subject:  Re: new filter "WireframeMapSE" (w/o use of G'MIC)

Dalia,
I did go thru the code but didn't find any relevant modification to apply (did just some "peanuts" mod).
Thus I ask you -if you like so- to make a last test for me to understand whether the problem lies in the definition or in the code.
Please do as follows:
1-remove previous version
2-unzip/install DIEGO_WIREMAP_WireframeMapSE1.7z (see first post)
this version does nothing (only sends 2 messages), but has the whole set of filter definitions/registrations.
If once installed it doesn't appear on the menu, I have to do a further investigation on those and you may conclude this test.
If viceversa once installed it appears on the menu and you can run it (as said, you only get two messages in the error console), this means that the definitions/registration statements are accepted in your system.
You may then procede with the next step
3-remove the one installed at point 2
4-unzip/install DIEGO_WIREMAP_WireframeMapSE2.7z (see first post)
If it doesn't appear on the menu, I have to further investigate on the code to understand if possible which statements of the code are not well accepted in your system, and you may conclude this test.
If viceversa it does appear (magics!) just play with it, because it's the full version (but I'm not so optimistic....).
Thanks

Author:  dinasset [ Tue Jun 14, 2016 4:28 am ]
Post subject:  Re: new filter "WireframeMapSE" (w/o use of G'MIC)

Dalia, just a remind...(coming from a dear friend of mine)
Attachment:
Cattura.PNG
Cattura.PNG [ 45.2 KiB | Viewed 1450 times ]

Author:  Dalia [ Tue Jun 14, 2016 11:48 am ]
Post subject:  Re: new filter "WireframeMapSE" (w/o use of G'MIC)

dinasset! You're the master - look it worked! I didn't play around with the terminal but I did do the BatCHmod and your plugin showed up.


Result without any changes to any of the layers

Image

Result by duplicating the original image, placing on top and changing "Mode" to Grain Merge

Image

I do have a question :oops: - do you still have the original "DIEGO_WIREMAP_WireframeMap_Lyle.py"? This one worked and gave an entirely different effect.

Image

Author:  dinasset [ Tue Jun 14, 2016 12:54 pm ]
Post subject:  Re: new filter "WireframeMapSE" (w/o use of G'MIC)

Yuppie, I'm very happy !
Ande yes, you know how to use my filters, playing around with layers and modes !
Nice results indeed.

Author:  akky [ Sun Jun 19, 2016 12:38 am ]
Post subject:  Re: new filter "WireframeMapSE" (w/o use of G'MIC)

dinasset wrote:
Yuppie, I'm very happy !
Ande yes, you know how to use my filters, playing around with layers and modes !
Nice results indeed.

I am still battling...tried the batchmod thing but it wont let me unlock..not sure what I am doing wrong

Author:  dinasset [ Sun Jun 19, 2016 4:53 am ]
Post subject:  Re: new filter "WireframeMapSE" (w/o use of G'MIC)

I'm not a Mac user, unfortunately.
Maybe you can PM to Dalia and check with her.
I did what I could from my side (content of the filters), about the possibility to run python filters in Mac they told me they must be set (it's a flag) "executable"

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/