logo Sign In

Post #324782

Author
negative1
Parent topic
GOUT image stabilization - Released
Link to post in topic
https://originaltrilogy.com/post/id/324782/action/topic#324782
Date created
23-Jul-2008, 9:19 PM

ok,

we couldn't use the box method, because it wasn't fine grained enough for what we wanted, so lets improve it, by using a grid:

pixel line spacing = 10 pixels

------------------------------------

http://img61.imageshack.us/img61/4546/gridbwjt0.jpg

 

now lets use the overlay function again

------------------------------------------------------

# overlay 2 clips
# using a grid, and change opacity
# alter the opacity for different effects..

clip1 = Mpeg2Source("M:\data\movie\dvd\star wars ep 4-gout\VTS_03_1.d2v")

subs = ImageSource("C:\data\vid\to_sort\vidcap\mpg\grid-bw.jpg").ConvertToRGB32

Overlay(clip1, subs, mode="Difference", opacity=0.4).crop(0, 100,0,-100)

ShowFrameNumber(offset=9, text_color=$ff0000)
=================================

http://img61.imageshack.us/img61/1912/goutgrid7240sp3.jpg

 

also, did it for the gforce version..........and now you can watch a box, and see if the changes

within it 'shake', or watch a segment, and see how much movement there is !!!!!!!!!! quite a bit THROUGHOUT THE ENTIRE FILM..

[by the way, i compared it to the SE version, and they pretty much fixed all of it there.......]

 

so now, we take this result, combine it with splitscreen, and finally........................................

--------------------------------------------------------------------------------------------------------------------

# show clips in variables clip1/clip2 on top of each other (grid versions)
# clip1
# clip2

clip1 = AviSource("M:\data\movie\dvd\star wars ep 4-gout\grid-gout.avi")
clip2 = AviSource("M:\data\movie\dvd\star wars ep 4-gout\grid-gforce.avi")

clip2 = clip2.BilinearResize(720,300)

StackVertical (clip1,clip2)

ShowFrameNumber(text_color=$ff0000)

---------------------------------------------------------------------------------

http://img515.imageshack.us/img515/804/splitgrid7240hu9.jpg

 

so, now we have a way to VISUALLY see the changes, in a much easier fashion..................

-----------------------------------------------------------------------------------

 

i will post the videos shortly............................

 

next up, an in depth look at exactly what the gforce script does...(hopefully clearer to laymen like myself).........

later

-1