Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'odd': 0.07; 'builtin': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'rows': 0.09; 'python': 0.11; 'function?': 0.16; 'loop.': 0.16; 'numpy': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'separated': 0.16; 'stuff.': 0.16; 'thanks,': 0.17; 'wrote:': 0.18; 'separate': 0.22; 'header:User-Agent:1': 0.23; 'url:moin': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'url:wiki': 0.31; 'url:python': 0.33; 'basic': 0.35; 'there': 0.35; 'hi,': 0.36; 'url:org': 0.36; 'two': 0.37; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'even': 0.60; 'read': 0.60; 'commands': 0.60; 'new': 0.61; 'simple': 0.61; "you're": 0.61; 'email addr:gmail.com': 0.63; 'zip': 0.64; 'charset:windows-1252': 0.65 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Interlacing of images Date: Fri, 29 Mar 2013 15:34:11 +0000 References: <55801b9d-94ce-4b75-8798-86bdc899a605@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: host-92-18-20-125.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 In-Reply-To: <55801b9d-94ce-4b75-8798-86bdc899a605@googlegroups.com> X-Antivirus: avast! (VPS 130329-0, 29/03/2013), Outbound message X-Antivirus-Status: Clean X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1364571213 news.xs4all.nl 6866 [2001:888:2000:d::a6]:38526 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:42252 On 29/03/2013 14:52, hesoyam16@gmail.com wrote: > Hi, > I am new to python , and working on some basic stuff. I have separated the even and odd rows of a image into two separate images, now i want to combine them back, is there a simple way to do that using numpy or opencv commands or do I have to use a for loop. > > Thanks, > Eric > Use the builtin zip function? -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence