Day 12!
Today brought more hardships as Hudson and I battled our way through error after error. I worked on creating for loops that would splice new file names together from the given directories, and save the altered images to the new name. The method used to run through each folder within a folder does not save each image in the correct order. Due to this issue, we needed to create a way to correctly align each image to the correct white image. I attempted to create a for loop for this... First, I created two lists that held the wavelength numbers for both the images, and the corresponding white images. Then, I instantiated a variable within another for loop, which was running through the images wavelengths, called 'num.' Within the for loop, I created a while loop that said :
while i != whiteImagesWavelengths[num]:
num+=1
Which would mean that the rest of the code would not run until the white images wavelength matches the actual images.
However, I am running into an issue with saving the images now. I keep getting an error that says the file directory I am trying to save to already exists - even when it didn't before I ran the program. Hopefully, I will be able to resolve this issue tomorrow! I have a feeling I will be up all night thinking about it.
Monday, July 23, 2018
Subscribe to:
Post Comments (Atom)
Day 28-29
Days 28 and 29 were spent on modifying the presentation. Yesterday, we did a dry run in front of our advisors and fellow interns. Before tha...
-
Today I fixed the issue we were having with stitch together the two mosaicks for the palimpsest. All I had to do was crop out the portion wi...
-
Today Hudson wasn't here because he had soccer try-outs. Because of his absences, I did not do any drastic work on the presentation. Not...
-
Day 15! Today I worked more on using ENVI to analyze the Italian Palimpsest. I spent most of the day on it, and my time yielded more re...
No comments:
Post a Comment