From: ImageAnalyst <>
Newsgroups: comp.soft-sys.matlab
Subject: Re: coloured checkerboard
Date: Wed, 18 Apr 2012 03:18:31 -0700 (PDT)
Lines: 12
Message-ID: <>
References: <jmkf6l$apu$> <>
 <> <jmlubr$p0b$>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: 1334744312 29422 (18 Apr 2012 10:18:32 GMT)
NNTP-Posting-Date: Wed, 18 Apr 2012 10:18:32 +0000 (UTC)
Injection-Info:; posting-host=; posting-account=0rLUzAkAAABojYSRC64DkTbtiSCX77HH
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0,gzip(gfe)
Xref: comp.soft-sys.matlab:764969

On Apr 18, 4:35 am, "David Epstein"
<> wrote:
> Thanks for posting the code. You made a checkerboard with only two colours (not seven). My basic image size is 1000x1000 and I want a checkerboard with 7 colours consisting of 4x4 blocks, each block in a single colour. These 7 colours should follow each other in cyclic order along each row, and in cyclic order along each column. In my 1000x1000 matrix, you will see all 7 colours in each row and all 7 colours in each column.

Luckily my code is general enough to adapt so that you have 7 colors.
It should be no problem.