IPB
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

Windows Bat Mania
djellison
post Apr 27 2005, 04:30 PM
Post #1


Founder
****

Group: Chairman
Posts: 14457
Joined: 8-February 04
Member No.: 1



Most of us here probably use PTGui, img2png and so on...

well - when I have a sols full of .imgs - I put img2png in it, and a bat file containing..

del *rat*.*
md IMG
move *r1*.IMG IMG
move *r2*.IMG IMG
move *r3*.IMG IMG
move *r4*.IMG IMG
move *r5*.IMG IMG
move *r6*.IMG IMG
move *r7*.IMG IMG
move *r8*.IMG IMG
move *L8*.IMG IMG
img2png *.IMG -r

move *.IMG IMG


Sometimes I have other things in there - like moving other filetypes ( IOsomething is one ) - and sometimes I just MD a thumb folder, and move the processed ones in there afterwards (this is what I do in my huuuge HDD of archived stuff - so I have all the IMG's, and all of them as PNG's, with left in the root, right in a subfolder and thumbs in a sub folder.

I use a photoshop action that takes L257 or whatever, and reduces it to a colour frame on L5 - then I cull the other frames, leaving me with all the colour frames from that sol as PNG's

THEN - I can use autopano.exe /project:ptgui which will create a new pts file for any and all mosaics it recognises

Anyhow - anyone know a way of writing a bat or something - which will go into folder consecutively, and run those bat files? i.e. I've got folders called Sol001 to Sol270 - and I can dump the img2png and my bat file into each - but then I have to go and run it 270 times to get the results - any ideas on shortcuts for that?

Doug
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 17th December 2024 - 06:15 AM
RULES AND GUIDELINES
Please read the Forum Rules and Guidelines before posting.

IMAGE COPYRIGHT
Images posted on UnmannedSpaceflight.com may be copyrighted. Do not reproduce without permission. Read here for further information on space images and copyright.

OPINIONS AND MODERATION
Opinions expressed on UnmannedSpaceflight.com are those of the individual posters and do not necessarily reflect the opinions of UnmannedSpaceflight.com or The Planetary Society. The all-volunteer UnmannedSpaceflight.com moderation team is wholly independent of The Planetary Society. The Planetary Society has no influence over decisions made by the UnmannedSpaceflight.com moderators.
SUPPORT THE FORUM
Unmannedspaceflight.com is funded by the Planetary Society. Please consider supporting our work and many other projects by donating to the Society or becoming a member.