From: Sandip on 24 Feb 2010 20:18 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 24 Feb 2010 20:31 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
|
Pages: 1 Prev: radius of curvature for wind tunnel Next: fprintf and textread |