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


Groups > comp.lang.python > #7548

Re: working with raw image files

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!gegeweb.org!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'scipy': 0.05; 'int,': 0.07; 'slice': 0.07; 'terry': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'subject:files': 0.09; 'subject:image': 0.09; 'pm,': 0.10; 'wrote:': 0.14; '2:18': 0.16; 'bit.': 0.16; 'numpy': 0.16; 'reedy': 0.16; 'subject:raw': 0.16; 'pil': 0.19; 'jan': 0.20; 'header:In-Reply-To:1': 0.21; 'worked': 0.24; '(or': 0.24; 'code': 0.24; 'checked': 0.25; 'bit': 0.30; 'one)': 0.30; 'subject:working': 0.30; 'header:X-Complaints-To:1': 0.32; 'to:addr:python-list': 0.33; 'list': 0.33; 'question': 0.34; 'however,': 0.34; 'there': 0.35; 'header:User-Agent:1': 0.35; 'data,': 0.36; 'think': 0.38; 'received:org': 0.38; 'but': 0.38; 'size,': 0.38; 'subject:: ': 0.38; 'some': 0.38; 'printed': 0.39; 'header:Mime-Version:1': 0.39; 'list,': 0.39; 'subject:with': 0.39; 'to:addr:python.org': 0.39; 'medical': 0.65; 'noise': 0.67; 'here.': 0.69; 'specialized': 0.69; 'pro': 0.89; '8bit': 0.91; 'something.': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: working with raw image files
Date Mon, 13 Jun 2011 14:49:36 -0400
References <0cd64f09-bd32-4b67-9266-46003dbea4b7@m4g2000yqk.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host rain.gmane.org
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10
In-Reply-To <0cd64f09-bd32-4b67-9266-46003dbea4b7@m4g2000yqk.googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.192.1307990990.11593.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 82.94.164.166
X-Trace 1307990990 news.xs4all.nl 49183 [::ffff:82.94.164.166]:39819
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:7548

Show key headers only | View raw


On 6/13/2011 2:18 PM, kafooster wrote:
> I am working on some medical image data, and I try to look into
> specific slice of   3d  *.raw image. I know voxels are 16 bit int, and
> dimensions are 352*470*96. I checked it in some pro medical image
> viewer, it is alright. However, with the code I use, I display just
> white noise image.(but worked well for other, 8bit raw image).
>   Also, printed size is half the original size, like it was 8 bit. I
> read some documentations on PIL, numpy etc but I think I just do not
> understand something.

You might get a better answer to such a specialized question on the 
scipy list (or PIL list, if there is one) than here.

-- 
Terry Jan Reedy

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


Thread

working with raw image files kafooster <dmozejko@gmail.com> - 2011-06-13 11:18 -0700
  Re: working with raw image files Terry Reedy <tjreedy@udel.edu> - 2011-06-13 14:49 -0400
  Re: working with raw image files Wanderer <wanderer@dialup4less.com> - 2011-06-13 13:08 -0700
    Re: working with raw image files Wanderer <wanderer@dialup4less.com> - 2011-06-13 13:20 -0700
      Re: working with raw image files MRAB <python@mrabarnett.plus.com> - 2011-06-13 21:36 +0100
      Re: working with raw image files kafooster <dmozejko@gmail.com> - 2011-06-13 13:41 -0700
        Re: working with raw image files Wanderer <wanderer@dialup4less.com> - 2011-06-13 13:52 -0700
          Re: working with raw image files kafooster <dmozejko@gmail.com> - 2011-06-13 13:58 -0700
            Re: working with raw image files Wanderer <wanderer@dialup4less.com> - 2011-06-13 14:28 -0700
              Re: working with raw image files Martin De Kauwe <mdekauwe@gmail.com> - 2011-06-14 00:49 -0700
                Re: working with raw image files Terry Reedy <tjreedy@udel.edu> - 2011-06-14 12:24 -0400
                Re: working with raw image files kafooster <dmozejko@gmail.com> - 2011-06-14 13:13 -0700
                Re: working with raw image files MRAB <python@mrabarnett.plus.com> - 2011-06-14 21:26 +0100
                Re: working with raw image files kafooster <dmozejko@gmail.com> - 2011-06-14 14:20 -0700
                Re: working with raw image files MRAB <python@mrabarnett.plus.com> - 2011-06-14 23:06 +0100
                Re: working with raw image files kafooster <dmozejko@gmail.com> - 2011-06-14 16:59 -0700
                Re: working with raw image files MRAB <python@mrabarnett.plus.com> - 2011-06-15 01:24 +0100
                Re: working with raw image files Dave Angel <davea@ieee.org> - 2011-06-14 19:25 -0400
                Re: working with raw image files kafooster <dmozejko@gmail.com> - 2011-06-14 17:02 -0700
                Re: working with raw image files Dave Angel <davea@ieee.org> - 2011-06-14 22:13 -0400
                Re: working with raw image files Nobody <nobody@nowhere.com> - 2011-06-15 02:29 +0100
                Re: working with raw image files Nobody <nobody@nowhere.com> - 2011-06-15 02:33 +0100

csiph-web