Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Basics | ||||||||
Line: 28 to 28 | ||||||||
3. In terminal, enter "mda-homography metadata.xml < cam1.mda > cam1_out.mda" | ||||||||
Added: | ||||||||
> > | Note: 1) Unless you're doing homography on only a few frames ( by a few, I mean less than 5 ), I'd suggest to resize the mda first. Thirteen 1920x1080 frames took me almost two hours to run and eventually abort. It will be a lot faster to process one frame at a time. 2) Depends on whether or not you flip one of the image/video before computing the homography matrix, the steps can be a little different. We assume one of the image ( cam1.jpg or cam2.jpg ) is flipped. If not, just comment out the flip function call in hdrcamalign.m. 3) When running mda-homography, if you see the error: "terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted" It means that the mda files is too big that your computer runs out of memory when processing it. Try to resize it or process fewer frames at a time. | |||||||
Temporal Figure Alignment | ||||||||
Line: 50 to 62 | ||||||||
| ||||||||
Deleted: | ||||||||
< < |
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Basics | ||||||||
Line: 28 to 28 | ||||||||
3. In terminal, enter "mda-homography metadata.xml < cam1.mda > cam1_out.mda" | ||||||||
Added: | ||||||||
> > |
Temporal Figure Alignment1. Run im_putIndex on both mda files. Identify which camera starts shooting first and starting which frame both images are synchronized. Record the frame number. 2. Run mda-cutframe to cut the unsynchronized frames out of the mda file. | |||||||
Note: 1) HDRCamera_Project.pdf is included here to explain more in-depth. | ||||||||
Changed: | ||||||||
< < | 2) im_putIndex is a shell script I wrote to put index on each frame in an image sequence. The purpose of it is to ease the trouble identifying the first synchronized frame, so you can see the image and then crop the mda file directly knowing where to cut. | |||||||
> > | 2) im_putIndex is a shell script I wrote to put index on each frame in an image sequence. The purpose of it is to ease the trouble identifying the first synchronized frame, so you can see the image and then crop the mda file directly knowing where to cut. Usage: im_putIndex mdaFileName | |||||||
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Basics | ||||||||
Line: 40 to 40 | ||||||||
-- Main.rachteo - 14 Jul 2009 | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Basics | ||||||||
Line: 24 to 24 | ||||||||
1. Once you have two mda files, let's call them cam1.mda and cam2.mda, one from each camera, extract one frame from each of them with full checkerboard in sight, rename them to cam1.jpg and cam2.jpg. | ||||||||
Changed: | ||||||||
< < | 2. Copy image files to where you store the HDRCamAlign Matlab scripts, run Matlab and and run hdrcamaligh. metadata.xml is automatically generated by running hdrcamalign. Move file to where two mda files are. | |||||||
> > | 2. Copy image files to where you store the HDRCamAlign Matlab scripts, run Matlab and and enter hdrcamalign. metadata.xml is automatically generated by running hdrcamalign. Move file to where two mda files are. | |||||||
3. In terminal, enter "mda-homography metadata.xml < cam1.mda > cam1_out.mda" | ||||||||
Deleted: | ||||||||
< < | 4. Done | |||||||
Note: 1) HDRCamera_Project.pdf is included here to explain more in-depth. | ||||||||
Line: 37 to 35 | ||||||||
2) im_putIndex is a shell script I wrote to put index on each frame in an image sequence. The purpose of it is to ease the trouble identifying the first synchronized frame, so you can see the image and then crop the mda file directly knowing where to cut. | ||||||||
Deleted: | ||||||||
< < | Attached File List:
| |||||||
-- Main.lancefu - 16 Jul 2009
-- Main.rachteo - 14 Jul 2009
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Basics | ||||||||
Line: 11 to 11 | ||||||||
4. Attach the Arduino control to the cameras and place the box over the setup. In the event that the box is unavailable, place some black material directly to the left of the setup. If there is anything between the beamsplitter and the black material, it will show up on the cameras. | ||||||||
Added: | ||||||||
> > | MDA HDR1. Download the files to your computer and convert them from .MTS files to MDA files. 2. Perform a homographic calibration on the files and stack the MDA files from each camera for easier processing. 3. Run mda-hdr on the stacked files. Command: mda-hdr brighter.mda darker.mda (mda-hdr-single combines individual frames) | |||||||
Homographic Calibration | ||||||||
Added: | ||||||||
> > | 1. Once you have two mda files, let's call them cam1.mda and cam2.mda, one from each camera, extract one frame from each of them with full checkerboard in sight, rename them to cam1.jpg and cam2.jpg. | |||||||
Added: | ||||||||
> > | 2. Copy image files to where you store the HDRCamAlign Matlab scripts, run Matlab and and run hdrcamaligh. metadata.xml is automatically generated by running hdrcamalign. Move file to where two mda files are. | |||||||
Added: | ||||||||
> > | 3. In terminal, enter "mda-homography metadata.xml < cam1.mda > cam1_out.mda" | |||||||
Changed: | ||||||||
< < | MDA HDR | |||||||
> > | 4. Done | |||||||
Changed: | ||||||||
< < | 1. Download the files to your computer and convert them from .MTS files to MDA files. | |||||||
> > | Note: | |||||||
Changed: | ||||||||
< < | 2. Perform a homographic calibration on the files and stack the MDA files from each camera for easier processing. | |||||||
> > | 1) HDRCamera_Project.pdf is included here to explain more in-depth. | |||||||
Changed: | ||||||||
< < | 3. Run mda-hdr on the stacked files. Command: mda-hdr brighter.mda darker.mda (mda-hdr-single combines individual frames) | |||||||
> > | 2) im_putIndex is a shell script I wrote to put index on each frame in an image sequence. The purpose of it is to ease the trouble identifying the first synchronized frame, so you can see the image and then crop the mda file directly knowing where to cut.
Attached File List:
| |||||||
Added: | ||||||||
> > |
| |||||||
Changed: | ||||||||
< < | -- Main.lancefu - 13 Jul 2009 | |||||||
> > | -- Main.lancefu - 16 Jul 2009 | |||||||
-- Main.rachteo - 14 Jul 2009 | ||||||||
Added: | ||||||||
> > |
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < | Testing | |||||||
> > | Basics1. Setup the cameras. For best results, adjust each camera and/or the beamsplitter so that the image seen in the camera viewfinders are as lined up as possible. This is simplest if the white guide lines are turned on. Note that one of the images will be reflected. 2. Adjust the exposures. There is a small knob near the front of the camera. Press and hold this knob to bring up the controls. Twist the knob to highlight "Exposure" and press the knob again to select it. Twisting the knob will now change the exposure level. 3. Set the zoom. Given that we currently have no means of ensuring that the amount of zoom on both cameras will always be identical, zooming all the way in or all the way out is the most accurate zoom setting at present. 4. Attach the Arduino control to the cameras and place the box over the setup. In the event that the box is unavailable, place some black material directly to the left of the setup. If there is anything between the beamsplitter and the black material, it will show up on the cameras.Homographic CalibrationMDA HDR1. Download the files to your computer and convert them from .MTS files to MDA files. 2. Perform a homographic calibration on the files and stack the MDA files from each camera for easier processing. 3. Run mda-hdr on the stacked files. Command: mda-hdr brighter.mda darker.mda (mda-hdr-single combines individual frames) | |||||||
-- Main.lancefu - 13 Jul 2009 | ||||||||
Added: | ||||||||
> > | -- Main.rachteo - 14 Jul 2009 |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
|