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

Home » Public Forums » archive » Processing about 10,000 tif files
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: Processing about 10,000 tif files [message #91010 is a reply to message #90976] Sun, 24 May 2015 18:23 Go to previous messageGo to previous message
andrewcool777 is currently offline  andrewcool777
Messages: 27
Registered: November 2012
Junior Member
On Wednesday, 20 May 2015 06:37:39 UTC+9:30, livingw...@gmail.com wrote:
> Dear Gurus,
>
> I have RGB images in tif format and want to do simple arithmetic calculations.
> A big obstacle to me is number of files to be processed, about 10,000 images.
> Name of the image files has sequential id such as img_1.tif, img_2.tif, ....., img_10000.tif.
> And I have a text file containing image names, coefficients, and offsets.
> I think reading the text file as an array with three columns and lines matching number of files seems to be successful.
>
> I've tried to read image files with dialog_pickfile, but I've learned that the function limits byte length and can't seem to go beyond more than 2,000 files or so.
> And I've tried to read image files with file_search, but it didn't do calculation in sequential order.
>
> Would you give some suggestion how to read image files in order, so that following calculation should be in order from 1 to 10,000?
> Or a way to do calculation with image name corresponding lines in the text file?
>
> Thanks in advance,
> Kim

How about just rename the files img_00001.tif to img_09999.tif? Solve many problems in a very few lines of code.

And while you're at it, insert some useful coefficients and offsets ino the filenames too.

Andrew
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 3D point cloud visualization
Next Topic: Stretch color image with colorbar compatible issue

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

Current Time: Wed Oct 08 19:21:00 PDT 2025

Total time taken to generate the page: 0.00456 seconds