Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #29391

splitting numpy array unevenly

Newsgroups comp.lang.python
Date 2012-09-17 15:31 -0700
Message-ID <e9294cb3-855c-49d1-b98b-22365a4180a8@googlegroups.com> (permalink)
Subject splitting numpy array unevenly
From Wanderer <wanderer@dialup4less.com>

Show all headers | View raw


I need to divide a 512x512 image array with the first horizontal and vertical division 49 pixels in. Then every 59 pixels in after that. hsplit and vsplit want to start at the edges and create a bunch of same size arrays. Is there a command to chop off different sized arrays?

Thanks

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

splitting numpy array unevenly Wanderer <wanderer@dialup4less.com> - 2012-09-17 15:31 -0700
  Re: splitting numpy array unevenly Martin De Kauwe <mdekauwe@gmail.com> - 2012-09-17 16:43 -0700
    Re: splitting numpy array unevenly Wanderer <wanderer@dialup4less.com> - 2012-09-18 07:02 -0700
      Re: splitting numpy array unevenly Hans Mulder <hansmu@xs4all.nl> - 2012-09-19 08:26 +0200

csiph-web