Changes

Jump to navigation Jump to search
no edit summary
Line 96: Line 96:  
The parameters p(1) to p(6) are, in numerical order, (1) the amplitude of the function, (2) x location, (3)sigma x, (4) y location, (5) sigma y, and (6) an offset applied to eliminte background noise.  The function takes user inputs as an initial guess, then loops the search process to find more accurate values for the parameters.  Arbitrary values are chosen for p(1), p(3), p(5) and p(6) to begin, and are then readjusted based on the first output parameters.  Typicall, the closer these fit parameters are to the true paramters, the better the functin is at defining p(2) an p(4).
 
The parameters p(1) to p(6) are, in numerical order, (1) the amplitude of the function, (2) x location, (3)sigma x, (4) y location, (5) sigma y, and (6) an offset applied to eliminte background noise.  The function takes user inputs as an initial guess, then loops the search process to find more accurate values for the parameters.  Arbitrary values are chosen for p(1), p(3), p(5) and p(6) to begin, and are then readjusted based on the first output parameters.  Typicall, the closer these fit parameters are to the true paramters, the better the functin is at defining p(2) an p(4).
 
By knowing the change in pixel locaton betwen photos, as well as th angular displacment, a value for pixel change per mrad in the xdiection can be determined.  This proess is then repeaed for the y direction.  Once these tweo parameters are known, the video analyss can be used to fin both frequency nd amplitude.   
 
By knowing the change in pixel locaton betwen photos, as well as th angular displacment, a value for pixel change per mrad in the xdiection can be determined.  This proess is then repeaed for the y direction.  Once these tweo parameters are known, the video analyss can be used to fin both frequency nd amplitude.   
===Video analysis ===
+
==Video analysis ==
 
The same process used for the calibration images can be used to analyze the motion of the center of the lens flair over im.  Becaue of the number of images involved in a video at 1200 fps, a batching process was developed to automate the proces.  First, a built in Linux program, ffmpeg, is used to separate the images from the video.  Next, the automtion script is applied to the folder contaning the video stills.  This script uses the same code as the image analysis, but loops the search pocess through a large group of imags.   
 
The same process used for the calibration images can be used to analyze the motion of the center of the lens flair over im.  Becaue of the number of images involved in a video at 1200 fps, a batching process was developed to automate the proces.  First, a built in Linux program, ffmpeg, is used to separate the images from the video.  Next, the automtion script is applied to the folder contaning the video stills.  This script uses the same code as the image analysis, but loops the search pocess through a large group of imags.   
  
196

edits

Navigation menu