MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Beginner : how to convert .bmp or .jpeg for digital processing

  • To: mathgroup at smc.vnet.net
  • Subject: [mg57152] Re: Beginner : how to convert .bmp or .jpeg for digital processing
  • From: David Bailey <dave at Remove_Thisdbailey.co.uk>
  • Date: Thu, 19 May 2005 03:08:24 -0400 (EDT)
  • References: <d6bv7e$pck$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

vandaalen at chello.nl wrote:
> e.g. : 
> 
> 1. digitized  emphasizing and contrast enhancing ( increasing and/or decreasing ) the wanted X-ray shadows and discerning and filtering out from the unwanted low energy scattering  and other unwanted backgrounds,
> 2. false colorizing regions of interest,
> 3. sharpening by emphasizing edge contrast,
> 4. and more simple processing.
> 
> For this purpose I need to get numerical arrays ( which I know how to handle )  which should be converted out of the imported digitized grayscale/jpeg/bmp files ( X-ray pics ).
> 
> Thanks for any help.
> Peter.
> 
> 
>>van: Chris Chiasson <chris.chiasson at gmail.com>
>>datum: 2005/05/17 di AM 04:46:53 MEST
>>aan: Peter van Daalen <vandaalen at chello.nl>
>>cc: mathgroup at smc.vnet.net
>>onderwerp: Re:  Beginner : how to convert .bmp or .jpeg for digital processing
>>
>>What do you mean by "improving"?
>>
>>On 5/16/05, Peter van Daalen <vandaalen at chello.nl> wrote:
>>
>>>I want a simple way of processing grayscale and .bmp and .jpeg bytes (
>>>for improving my digitized X-ray pics ).
>>>No advanced processing as per application " Digital Image Processing "
>>>is needed for me.
>>>
>>>Being a Mathematica beginner, I failed in finding the way to convert
>>>..jpeg and .bmp formats into 2D and 3D numerical ( 0-255) arrays.
>>>
>>>Thanks for any help.
>>>
>>>
>>
>>
>>-- 
>>Chris Chiasson
>>http://chrischiasson.com/
>>1 (810) 265-3161
>>
> 
> 
Try Inport["file.jpg"][[1,1]]

This will extract a 3-dimensional array of integers. The innermost 
dimension spans the three primary colours.

David Bailey
http://www.dbaileyconsultancy.co.uk


  • Prev by Date: Re: Crossing of 3D functions
  • Next by Date: Re: Book for Scientific data Analysis
  • Previous by thread: Re: Beginner : how to convert .bmp or .jpeg for digital processing
  • Next by thread: Re: Re: Beginner : how to convert .bmp or .jpeg for digital processing