36
1 6/26/2012 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD Laboratory for Product and Process Design, Advisor: Andreas Linninger Department of Bioengineering, University of Illinois, Chicago, IL, 60607, U.S.A.

V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

  • Upload
    others

  • View
    9

  • Download
    0

Embed Size (px)

Citation preview

Page 1: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

1 6/26/2012

VIDEO RECORDING, EDITING AND IMPORTING

TUTORIAL

Sukhi Basati, PhD

Laboratory for Product and Process

Design,

Advisor: Andreas Linninger

Department of Bioengineering, University

of Illinois, Chicago, IL, 60607, U.S.A.

Page 2: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

2 6/26/2012

PRESENTATION OUTLINE

Motivation

My research

Dynamic experiments / simulations

Product design

Previous Summer Videos

Video (Seth Baker)

Animation (Jennifer Hu)

Video importing, editing tutorial

Windows Movie Maker

ScreenCapture

Animation basics

MATLAB

IMAGEJ

Page 3: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

3 6/26/2012

MY RESEARCH

Can we design improved tools to better understand

and treat Hydrocephalus?

A

Internal shunt

Electrodes

Page 4: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

4 6/26/2012

VOLUME MEASUREMENT PRINCIPLE

Theory

• Induce an electric vector field within

ventricles

• Measure potential

• Potential changes with volume

• Calculate volume as a function

of voltage

•Current density remains within region

of higher conductivity

Advantages

• Monitor independent of pressure

• Monitor ventricular wall movements

Valid Concerns

• Neuronal Stimulation

• Electrode Drift

Page 5: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

5 6/26/2012

SCALEABLE SENSOR FABRICATION METHOD

Microautomation Dicing Saw

Sensor Fabrication

• Considerations:

• Hand stability

• Rigidity during implantation

• Robustness

• Integration with additional transducers

• Systematic approach to device fabrication

• started big small

• Cost effective!

B

C A

1 mm

Page 6: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

6 6/26/2012

WIRELESS UNIT FABRICATION AND PROTOTYPE IMPLANT

Novel Design Decisions

• Front and back side of PCB utilized

• Nano connectos plug in sensor

(Surgical consideration)

Prototype Unit

• Battery

• Integrated with shunt

• (Novel)

Page 7: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

7 6/26/2012

DYNAMIC EXPERIMENTS

Unedited video Edited video

Page 8: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

8 6/26/2012

DYNAMIC BENCH-TOP MODEL RESULTS

100 µL fluid infusion into detachable silicone balloon model

• 10 100 µL volume change dynamic range

• Adjust instrumentation

• Animal Model

Page 9: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

9 6/26/2012

ACUTE VOLUME MEASUREMENT PROTOCOL

Validate sensor measurement in acute study

Goal: Record volume changes with implanted sensor

Method:

• Induce hydrocephalus in weanling rats

• Implant sensor in lateral ventricles and control

volume

• Confirm with imaging

Phase 1

3

µL/min

Phase 2

6

µL/min

Phase 3

3

µL/min

Phase 4

30 µL/min

Volu

me

(µL

)

Time (min)

Purpose is to Validate Sensor

Volume Measurements

Page 10: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

10 6/26/2012

SENSOR VOLTAGE MEASUREMENTS

Phase 1

3

µL/min

Phase 2

6

µL/min

Phase 3

3

µL/min

Phase 4

30

µL/min

Volu

me

(µL

)

Time (min)

Voltage Data shunting and infusion single HC animal

• Data acquired using Labview

• sampled at 10kS/s

• Post-processing gain and low pass filter applied

• Data also plotted in matlab for averaging

• Min/Max value subtracted in order to plot relative

voltage changes.

Page 11: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

11 6/26/2012

VOLUME CONVERTED MEASUREMENTS

Calibrated Measurements

• Calibration performed

before implantation

• Equation applied to

shifted voltage data

Pressure Measurements

• Sensitivity from data sheet used to

calculate pressure

Shunting

• High correlation and

agreement

Infusion

• Small volume changes

calibration

calibration

Volume

Voltage

animal animalVolume Voltage

Page 12: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

12 6/26/2012

IMAGING CALIBRATION

Method to visualize ventricles and correct calibration

curve

• Philips Integris V3000 system

• X-ray (2d and 3d images)

• post processing (ImageJ)

• Iohexol contrast is infused which attenuates the xray.

Imaging measured

volume addition

Se

ns

or

Me

as

ure

d

Vo

lum

e

Herrera et. al, CT Ventriculography for diagnosis

of occult ventricular cysticerci. Surg Neurol Int

2010.

Page 13: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

13 6/26/2012

2D IMAGING OF INFUSION

30 µL/min infusion

• Sensor implant location confirmed

• Convective flow of contrast agent through ventricles

Page 14: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

14 6/26/2012

2D IMAGING

Page 15: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

15 6/26/2012

30 uL Injection

ROTATIONAL IMAGING

Page 16: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

16 6/26/2012

Angio measured volume addition (uL)

Ac

tua

l vo

lum

e a

dd

itio

n (

uL

)

IMAGING CALIBRATION

Purpose of imaging:

• Improve calibration of volume sensor in-

vivo

• Can we calculate volume from 2d images

that contains accumulation of intensity (not

a slice)

b

a

Volume A x dx

2

b

a

r dx

2

b

a

f x dx

Volumes of Solids of Revolution:

Page 17: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

17 6/26/2012

IMAGING CALIBRATION

Page 18: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

18 6/26/2012

FURTHER MOTIVATION

Link to TED Talk

Page 19: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

19 6/26/2012

PREVIOUS SUMMER RESEARCHERS

Page 20: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

20 6/26/2012

PREVIOUS SUMMER RESEARCHER (JENNIFER HU IMSA)

Page 21: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

21 6/26/2012

PREVIOUS SUMMER RESEARCHER (JENNIFER HU IMSA)

Page 22: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

22 6/26/2012

OVERVIEW OF TUTORIAL

• Demonstration of recording video, editing, and saving.

• Handouts of the steps are provided for reference.

• CD with related content is available.

• Brief overview of animation.

• Virtual Reality Modeling Library MATLAB (VRML)

Page 23: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

23 6/26/2012

STEP 1 (RECORDING VIDEO)

1. Turn Camera on.

2. Go into Camera settings.

(The LPPD camcorder

uses a touchscreen LCD)

3. Go into movie settings.

4. Change movie settings.

5. Go into rec mode.

6. Select record mode (LP mode is

recommended for less file size)

7. Press the go back button to exit

the menu.

8. Press Record button to record

video.

Page 24: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

24 6/26/2012

STEP 2 (CONNECTING CAMERA TO PC)

1. Connect camera to hub. (There

is a female – male connection

between the hub and camera)

2. Connect USB cable to computer

and hub. The power cable must

be plugged in as well.

3. Turn camera on.

4. You should see the LCD display

the connection screen.

5. Press the computer button.

Page 25: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

25 6/26/2012

STEP 3 (SAVING VIDEO TO COMPUTER)

1. With camera connected to

computer via hub, windows

should automatically detect the

hardware.

2. Open folder to view files.

3. Click on MP ROOT.

4. Click on 101PNV01.

5. Select and copy video files to

your designated hard drive

location.

Page 26: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

26 6/26/2012

STEP 4 (CONVERTING .MPG TO .WMV)

The video editing software we will use requires

windows media audio/video format.

1. Open MediaCoder 0.6.4. The program can be installed from the provided cd.

http://www.mediacoderhq.com/

1. Add file by clicking on add tab.

2. Then, in the bottom portion of the screen you can adjust your output audio and video settings by clicking on the audio and video tabs.

3. For audio output, use Windows Media Audio/

4. For video output, select Windows Media. In the container tab, you can specify .avi, .mpg, or another format. (select default)

5. Also note the location of the file to be converted. This can be specified in the top right portion of the window. (Click on the open tab)

6. Click the start tab to begin the process of converting.

Page 27: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

27 6/26/2012

STEP 5 (LOADING FILES INTO EDITING SOFTWARE)

The default program we will use is

windows movie maker which

comes pre-installed on windows

xp computers.

1. Open Windows Movie Maker

(usually under accessories –

entertainment)

2. Click on import video and select

file.

3. Disable the split large video into

smaller clips.

4. You should see your video clip in

the my collections pane.

5. To load a picture, follow a similar

procedure as adding a video clip.

(Click on import picture in the

tasks pane, and select the picture.

You should see the picture in the

my collections pane)

Page 28: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

28 6/26/2012

STEP 6 (EDITING AND SAVING YOUR MOVIE PROJECT)

In the bottom portion of your screen you will see a timeline of your movie.

1. To add a file to your timeline select it from my collections and drag it into the timeline.

2. To trim a video clip, place your cursor over one end of the clip. You will see an option to trim the clip.

3. To add a Title, or subtitles, you may click on the edit movie options in the movie tasks window. Follow the instructions and click done to return to the storyboard. You should see your Title clip in the bottom portion of the screen.

4. To smooth the transition of files in your movie project, click and drag the file in the timeline and slowly merge the two files together.

5. When done click finish movie and specify location.

Page 29: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

29 6/26/2012

SMARTPHONE / DROPBOX DEMO

Page 30: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

30 6/26/2012

SCREEN CAPTURE

• Want to record computer screen? • simulation, computer animation, etc.

• Free Screen Video Capture • http://www.topviewsoft.com/free-screen-video-capture.html

Page 31: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

31 6/26/2012

TECHNICAL DETAILS Compatibility

Advised to use wmv format

Presenting your movie: Make sure your movie plays in ppt before you present!

Make sure videos are saved in same folder!

Movie Name length should not be too long

Try inserting object link instead of insert movie

Check display settings on the computer Right click desktop

Select properties

Change resolution or

Click advanced decrease hardware acceleration or decrease screen refresh rate

Go to Slide Show Settings Use hardware acceleration

Option to use two monitors

Typing notes at bottom of presentation - set up slide show in presenter view

Page 32: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

32 6/26/2012

ANIMATIONS USING MATLAB

• Kinetics of your research

defined?

• MATLAB has virtual reality (vr)

toolbox that comes with

installation.

• Overview of Steps

• Install world editor

>>vrinstall

• Open Simulink and create

model file with VR sink

• Input dynamics of objects

and simulate.

• Example demonstrated…

Page 33: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

33 6/26/2012

ANIMATIONS USING MATLAB

Create virtual world using vrealm (comes installed with matlab)

Page 34: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

34 6/26/2012

IMAGEJ • Show process of creating a stack of images using ImageJ

• Recorded process using Free Screen Capture

Page 35: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

35 6/26/2012

SUMMARY

• Importance of media in presentations and education.

• Handouts of procedure are provided.

• Video recording, editing and importing.

• Animation basics.

• Succinctly explain process or decision decisions.

• Creativity and persistence beneficial.

Page 36: V RECORDING, EDITING AND IMPORTING TUTORIALvienna.bioengr.uic.edu/RET/Reports/VideoEditing_Sukhi_2012.pdf6/26/2012 1 VIDEO RECORDING, EDITING AND IMPORTING TUTORIAL Sukhi Basati, PhD

36 6/26/2012

RET TASK

• We would like you to create a draft video of your research experience at UIC

• Due next week!

• For this first draft of a video please include the above sections. We would like you

to learn how to open and use the software.

• If a video camera is needed, the LPPD camera is available.

Format:

Title slide: Title, Name, Date, Affiliation, Sponsors.

Content: This can be video, or pictures.

Credits: Acknowledgements including NSF grant, advisor(s), etc.