Re: [Image-SIG] Array to image problem.

2010-06-05 Thread Yury V. Zaytsev
Hi! I will not reply to any further messages you send me off the list! On Sat, 2010-06-05 at 21:40 +0300, Валери Милев wrote: > with .convert("L") and array=asarray(i) works! Thaks for the Tip!! > That is very strange because the values are the same like im my > method. The only difreance I not

Re: [Image-SIG] Array to image problem.

2010-06-05 Thread Yury V. Zaytsev
Hi! Please don't post off the list. I am under the impression that you are preparing the array in the wrong way: not only you need to have a 480x640 matrix for 640x480 image, but it also have to be transposed correctly. Also, if you need luminance only why wouldn't you just use the grayscale mo

Re: [Image-SIG] Array to image problem.

2010-06-05 Thread Yury V. Zaytsev
Hi Валери! Check this thread out for the explanation and my later postings for the cut and paste solution: http://mail.python.org/pipermail/image-sig/2010-April/006213.html -- Sincerely yours, Yury V. Zaytsev ___ Image-SIG maillist - Image-SIG@pyt

[Image-SIG] Array to image problem.

2010-06-04 Thread Валери Милев
Hello, I'm not a programer ,but i need to make a little program now and I need a little help. I'm using: Python 2.6.4 |EPD 6.1-1 (32-bit)| (r264:75706, Nov 11 2009, 19:42:36) [MSC v.1500 32 bit (Intel)] on win32 I have a array, which contains the pixel values for luminance in a picture. Now