It is currently Tue Apr 30, 2024 2:29 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 19 posts ] 
Author Message
 Post subject: new filter "WireframeMapSE" (w/o use of G'MIC)
PostPosted: Mon Jun 13, 2016 4:41 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
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 175 times


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

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

_________________
"Where am I ?"


Last edited by dinasset on Tue Jun 14, 2016 2:59 am, edited 2 times in total.

Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: new filter "WireframeMapSE"
PostPosted: Mon Jun 13, 2016 4:46 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
Output if User selected "Outcome on Transparent"

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


(it's really transparent BG, not White)

_________________
"Where am I ?"


Top
 Post subject: Re: new filter "WireframeMapSE"
PostPosted: Mon Jun 13, 2016 4:48 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
Outcome if User selected "Outcome on Black BG"

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

_________________
"Where am I ?"


Top
 Post subject: Re: new filter "WireframeMapSE"
PostPosted: Mon Jun 13, 2016 4:51 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
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 2787 times ]

_________________
"Where am I ?"


Top
 Post subject: Re: new filter "WireframeMapSE"
PostPosted: Mon Jun 13, 2016 4:54 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
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 2786 times ]


that's all.
Enjoy (possibly)

_________________
"Where am I ?"


Top
 Post subject: Re: new filter "WireframeMapSE"
PostPosted: Mon Jun 13, 2016 5:19 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
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 2762 times ]

_________________
"Where am I ?"


Top
 Post subject: Re: new filter "WireframeMapSE"
PostPosted: Mon Jun 13, 2016 5:46 am  (#7) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13019
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
:coolthup

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: new filter "WireframeMapSE" (w/o use of G'MIC)
PostPosted: Mon Jun 13, 2016 11:32 am  (#8) 
Offline
GimpChat Member
User avatar

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

_________________
Image
Macbook Air - MacOS Sierra 10.12
McGimp 2.8.14
G'mic 1.6.5


Top
 Post subject: Re: new filter "WireframeMapSE" (w/o use of G'MIC)
PostPosted: Mon Jun 13, 2016 2:45 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: Dec 10, 2013
Posts: 1004
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.

_________________
Image
Macbook Air - MacOS Sierra 10.12
McGimp 2.8.14
G'mic 1.6.5


Top
 Post subject: Re: new filter "WireframeMapSE" (w/o use of G'MIC)
PostPosted: Mon Jun 13, 2016 2:59 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
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....

_________________
"Where am I ?"


Top
 Post subject: Re: new filter "WireframeMapSE" (w/o use of G'MIC)
PostPosted: Mon Jun 13, 2016 3:17 pm  (#11) 
Offline
GimpChat Member
User avatar

Joined: Dec 10, 2013
Posts: 1004
dinasset, I did as instructed above - it doesn't show up anywhere. I also did a "Help" and typed it in with no success.

_________________
Image
Macbook Air - MacOS Sierra 10.12
McGimp 2.8.14
G'mic 1.6.5


Top
 Post subject: Re: new filter "WireframeMapSE" (w/o use of G'MIC)
PostPosted: Mon Jun 13, 2016 3:22 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
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...

_________________
"Where am I ?"


Top
 Post subject: Re: new filter "WireframeMapSE" (w/o use of G'MIC)
PostPosted: Mon Jun 13, 2016 3:32 pm  (#13) 
Offline
GimpChat Member
User avatar

Joined: Dec 10, 2013
Posts: 1004
You've done more than enough - don't go through that again. I'll admire and work with what I have :tyspin

_________________
Image
Macbook Air - MacOS Sierra 10.12
McGimp 2.8.14
G'mic 1.6.5


Top
 Post subject: Re: new filter "WireframeMapSE" (w/o use of G'MIC)
PostPosted: Tue Jun 14, 2016 3:22 am  (#14) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
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

_________________
"Where am I ?"


Top
 Post subject: Re: new filter "WireframeMapSE" (w/o use of G'MIC)
PostPosted: Tue Jun 14, 2016 4:28 am  (#15) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
Dalia, just a remind...(coming from a dear friend of mine)
Attachment:
Cattura.PNG
Cattura.PNG [ 45.2 KiB | Viewed 1334 times ]

_________________
"Where am I ?"


Top
 Post subject: Re: new filter "WireframeMapSE" (w/o use of G'MIC)
PostPosted: Tue Jun 14, 2016 11:48 am  (#16) 
Offline
GimpChat Member
User avatar

Joined: Dec 10, 2013
Posts: 1004
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

_________________
Image
Macbook Air - MacOS Sierra 10.12
McGimp 2.8.14
G'mic 1.6.5


Top
 Post subject: Re: new filter "WireframeMapSE" (w/o use of G'MIC)
PostPosted: Tue Jun 14, 2016 12:54 pm  (#17) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
Yuppie, I'm very happy !
Ande yes, you know how to use my filters, playing around with layers and modes !
Nice results indeed.

_________________
"Where am I ?"


Top
 Post subject: Re: new filter "WireframeMapSE" (w/o use of G'MIC)
PostPosted: Sun Jun 19, 2016 12:38 am  (#18) 
Offline
GimpChat Member
User avatar

Joined: Apr 09, 2011
Posts: 1764
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


Top
 Post subject: Re: new filter "WireframeMapSE" (w/o use of G'MIC)
PostPosted: Sun Jun 19, 2016 4:53 am  (#19) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
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"

_________________
"Where am I ?"


Top
Post new topic Reply to topic  [ 19 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) cli345's cartoon filter as a native GEGL Filter.

10

No new posts Attachment(s) Carve.. filter

3

No new posts Attachment(s) Made with new filter in G'mic

23

No new posts Attachment(s) what filter might help with this image?

7

No new posts Attachment(s) My last Aquarelle filter

21



* Login  



Powered by phpBB3 © phpBB Group