comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » sub-images
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: sub-images [message #2795 is a reply to message #2792] Wed, 14 September 1994 11:39 Go to previous message
velt is currently offline  velt
Messages: 19
Registered: June 1994
Junior Member
> I am working on some images. I have some images of size 256X256 and my problem
> is to divide these images into 8X8 sub-images and get the pixel intensity
> values of those images. If somebody has already done this kind of thing on IDL
> or know about it plz post or E-mail me.
>
> Thanks


Probably the simplest way of doing what you want is this:

IDL> smallims=reform(im,8,32,8,32)

You can index the (xs,ys) 8x8 subimage as smallims(*,xs,*,ys).

Robert Velthuizen,
Digital Medical Imaging Program of the
H. Lee Moffitt Cancer Center and Research Institute at the
University of South Florida.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL license prices
Next Topic: sound card interface?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Tue Dec 02 06:21:30 PST 2025

Total time taken to generate the page: 1.11880 seconds