From: Sandip on
Hi,
I want to generate a grid (array of white spots on black background).
I prepare the image (a matrix of unit8 type). But after I populate the matrix by 254 or 0, its size goes up. and by imshow I see a bigger image than expected!
What am I missing?
Appreciate any help!!!
From: Nathan on
On Feb 24, 5:18 pm, "Sandip " <shal...(a)umd.edu> wrote:
> Hi,
> I want to generate a grid (array of white spots on black background).
> I prepare the image (a matrix of unit8 type). But after I populate the matrix by 254 or 0, its size goes up. and by imshow I see a bigger image than expected!
> What am I missing?
> Appreciate any help!!!

I have no idea. Why not show us your code so we can have a chance to
answer you correctly.

-Nathan