Re: python plugin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Emanuele Zattin <emanuelez@xxxxxxxxx> writes:

> my name is Emanuele Zattin and i'm developing a plug-in implementing
> a texture synthesis algorithm described in a paper ("Texture
> Synthesis by Non-parametric sampling" by Efros and Leung).  Here
> attached you can see my actual implementation which works on
> grayscale images. It is anyway VERY slow, which was anyway
> predictable judging from the complexity of the algorithm.  I was
> wondering if translating it to C would make it much faster or if
> there are some more speedup techniques i'm just missing.

You could try to speed it up by optimizing your pixel accessors.
Perhaps use a RowIterator as is done in the colorxhtml plug-in?


Sven
_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux