[visionegg] Re: uneven grating
- From: "matvey bossis" <bosism@xxxxxxxxx>
- To: visionegg@xxxxxxxxxxxxx
- Date: Sat, 17 Feb 2007 00:12:19 +0200
Thanks.
I was also wondering how to generate a checkerboard pattern.
On 2/14/07, Andrew Straw <astraw@xxxxxxxxxxx> wrote:
matvey bossis wrote:
> Hi
> I am trying to generate a square wave color grating using
> SinGrating2D. I have two problems:
> 1. The grating is uneven, for some reason. I get thicker and thinner
> stripes.
> 2. The border between the circles is blurred. I think also the borders
> between the stripes is not sharp enough.
Dear Matvey,
(Next time, please try to send python code as attachments -- it's a pain
trying to sort out the line-wraps.)
I think that increasing the num_samples parameter to your mask and
gratings will solve both of your issues.
-Andrew
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html
- References:
- [visionegg] uneven grating
- From: matvey bossis
- [visionegg] Re: uneven grating
- From: Andrew Straw
Other related posts:
- » [visionegg] uneven grating
- » [visionegg] Re: uneven grating
- » [visionegg] Re: uneven grating
matvey bossis wrote: > Hi > I am trying to generate a square wave color grating using > SinGrating2D. I have two problems: > 1. The grating is uneven, for some reason. I get thicker and thinner > stripes. > 2. The border between the circles is blurred. I think also the borders > between the stripes is not sharp enough. Dear Matvey, (Next time, please try to send python code as attachments -- it's a pain trying to sort out the line-wraps.) I think that increasing the num_samples parameter to your mask and gratings will solve both of your issues. -Andrew ====================================== The Vision Egg mailing list Archives: http://www.freelists.org/archives/visionegg Website: http://www.visionegg.org/mailinglist.html
- [visionegg] uneven grating
- From: matvey bossis
- [visionegg] Re: uneven grating
- From: Andrew Straw