Post Reply 

[Easy] Sobel plugin parameters

Oct 6, 2014, 18:41
Post: #1
[Easy] Sobel plugin parameters
My code:

white=pdb.gimp_image_get_layer_by_name(img,"horizontal")
pdb.plug_in_sobel(img,white,1,0,0)

white=pdb.gimp_image_get_layer_by_name(img,"vertical")
pdb.plug_in_sobel(img,white,0,1,1)

What I want:
I want layer named ""vertical" to become a layer with only vertical edges detected and layer named "horizontal" layer with only horizontal edges detected. However no matter what I do I always get both vertical and horizontal lines in horizontal layer an dsometihng strang ein vertical.
Find all posts by this user
Quote this message in a reply
Oct 6, 2014, 20:33
Post: #2
RE: [Easy] Sobel plugin parameters
I think you are right about the order + sign is always working(no matter if you put 0 or 1).


#ofnuts_magic

Sorry for spamming this forum but google can't help me
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  GIMP Resynthesizer Plugin not working Mikkel Andersen 1 457 Jun 26, 2018 16:36
Last Post: paynekj
  Gimp 2.10 with old vignette from Plugin registry. DenisT 2 312 May 19, 2018 20:42
Last Post: DenisT
  Export Layers Plugin not working with 2.10? Imc7r 2 337 Apr 30, 2018 14:22
Last Post: Imc7r
Question beautify plugin ! i can not install it! unknown7 3 547 Feb 12, 2018 21:02
Last Post: unknown7
  Separate+ plugin doesn't show NathanD 5 5,134 Jan 28, 2018 20:44
Last Post: janrich

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS