Anaglyph to Stereo Pair Conversion (o... Log Out | Topics | Search
Moderators | Register | Edit Profile

stereo3d.com webboard » General 3D Discussion » Anaglyph to Stereo Pair Conversion (or how to create a full color Shrek movie) « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Peter Wimmer

Rating: N/A
Votes: 0 (Vote!)

Posted on Saturday, November 06, 2004 - 8:27 pm:   Edit PostDelete PostView Post/Check IPPrint Post

I'm thinking about creating full color versions of Shrek 3D and Spy Kids (they are only available as anaglyph DVDs, as far as I know). There are two solutions to do this.

1) Find two different editions of the movie, where the first on contains the left view as 2D version and the second one the right view. All of you who own one of these two movies, could you check whether left or right view is used as 2D version and tell me? I own the PAL edition of both movies which use the left view for 2D.

2) Use the left and anaglyph image to restore the right image. To evaluate if this is possible and what quality can be achieved, I've written an application called "DeAnaglyph" to do this. More information can be found here:

http://mitglied.lycos.de/stereo3d/deanaglyph.htm
Top of pagePrevious messageNext messageBottom of page Link to this message

Puppet Kite Kid

Rating: N/A
Votes: 0 (Vote!)

Posted on Sunday, November 07, 2004 - 7:42 am:   Edit PostDelete PostView Post/Check IPPrint Post

I am very busy at the moment and can't try your software, but how did you accomplish this? Did you "map the red to luminance"? I have played with this idea, but only for experimenting with recreating the anaglyph as an "optimized" version, so my right perspective remained cyan and I recreated the new left perspective from the 2D versions, which are the left view in my NTSC videos.
Also, as I mentioned in the Yahoo 3DTV group:
There were a few problems, though... there were a couple of scenes (I think in Shrek) with size (resolution) differences between the anaglyph and the 2D version, and a couple of scenes (I think in Spy Kids) of the 2D version that used the the right view instead of the left view.
Sorry, I didn't record the details, but I just noticed these problems during a quick study of the two movies.

PKK
Top of pagePrevious messageNext messageBottom of page Link to this message

Peter Wimmer

Rating: N/A
Votes: 0 (Vote!)

Posted on Sunday, November 07, 2004 - 11:48 am:   Edit PostDelete PostView Post/Check IPPrint Post

DeAnaglyph implements an adaptive pattern matching algorithmus in the spatial domain using variable block sizes. To say it in simple words, the algorithm takes blocks of the anaglyph's blue and green channel and tries to locate them in the left image. The red value of the found block is copied to the resulting image, green and blue values are taken directly from the anaglyph image.
Top of pagePrevious messageNext messageBottom of page Link to this message

Pedro

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, January 12, 2005 - 5:54 am:   Edit PostDelete PostView Post/Check IPPrint Post

I'll check the NTSC version of Shrek3D and find out which eye it is. I have had this thought before about 3D movies released on DVD (like House of wax, Hondo etc.) in the hope that different transfers may happen to come from the left or right versions, allowing a full 3D version to be reconstructed. Maybe we should post a full list of old 3D movies released on DVD and get people from different regions to check which eye their's is.
Top of pagePrevious messageNext messageBottom of page Link to this message

M.H.

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, January 12, 2005 - 10:33 am:   Edit PostDelete PostView Post/Check IPPrint Post

Jut a notice to Shrect3D ...
There are de-facto 3 views on the scene on the DVD ...
1) From cental camera(the 2D track)
2) From left camera (R chanel on the anaglyph)
3) From right camera (GB chanel on the anaglyph)

I had reconstructed relatively good full color stereo version by putting in lefte eye the full color version from central camera and by putting to right eye the GB chanel from right camera + R adjuted to brigtnes of the GB ...
It worsks, but the R chanel of the right track is not perfect ...

Peter - any chance your algorithm can
reconstruct the full right RGB track ?
Maybe the full colored central track could be helpful ...
Top of pagePrevious messageNext messageBottom of page Link to this message

M.H.

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, January 12, 2005 - 11:27 pm:   Edit PostDelete PostView Post/Check IPPrint Post

I had tested the Shreck resonstruction ...
It works ...
But the saved image at 720x576 have aprox. 10 pixel white border ...
Your Spice Kid example at the same resolution does not have such a problem ...
What is wrong ?
Any plane to relesa a version working in some Multi image processing mode ?
I am sure the both Shreck3D ans SpiceKid moves are worth the half yer neccesary to recomputation :-)
Top of pagePrevious messageNext messageBottom of page Link to this message

Puppet Kite Kid

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, January 13, 2005 - 1:38 am:   Edit PostDelete PostView Post/Check IPPrint Post

I'm trying to remember exactly how I did this... it's been quite a while ago. I did it with After Effects and got a pair that looked almost perfect.
I removed the red from both the anaglyph and the right perspective, which I think is the 2D version in both movies, then added back an overall "tint" of red equally to both perspectives... again, at least in After Effects, this technique worked much better than expected, for whatever reason.
I have partially documented the results of this on the web of the Spy Kids conversion by showing the reconstruction of the anaglyph, using my anaglyph method, but I did not upload or include the reconstructed discrete stereo pairs that I created that anaglyph from, and I didn't include any specific details on how to do it, either.
http://www.puppetkites.net/comanamoviedemos/SK3D.htm
At least you can see a huge improvement in the anaglyph quality (almost no retinal rivalry), which is a good indication that I used a decent reconstructed stereo pair as the source :-)


PKK
Top of pagePrevious messageNext messageBottom of page Link to this message

Puppet Kite Kid

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, January 13, 2005 - 2:50 am:   Edit PostDelete PostView Post/Check IPPrint Post

Wow, I just now finally tried Peter's software and it works perfectly, but takes a long time to render one frame, as he mentioned.
Even though I can "get some of the red back" with After Effects, I can't figure out a way to actually map the red back to it's proper spot... it's more of an overall red cast, not a specific mapping.
Obviously, Peter's tool uses some very specific algorithms :-)

PKK
Top of pagePrevious messageNext messageBottom of page Link to this message

Peter Wimmer

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, January 13, 2005 - 5:37 pm:   Edit PostDelete PostView Post/Check IPPrint Post

Hello,

The white border is a limitation of the current implemenation. I just was too lazy to implement the details with handling the border, it should be no problem to calculate the border, too. When I have more time (which can take quite a while), I'll also improve speed and implement it as Avisynth filter.

I still hope that somebody will release a shutterglasses version of Shrek and Spy Kids to that it's not necessary to work DeAnaglyph...
Top of pagePrevious messageNext messageBottom of page Link to this message

GregK

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, January 13, 2005 - 10:25 pm:   Edit PostDelete PostView Post/Check IPPrint Post

...or in the case of "Spy Kids 3-D": just wait for the upcoming Sensio 3-D DVD version due in February.
Top of pagePrevious messageNext messageBottom of page Link to this message

Anonymous

Rating: N/A
Votes: 0 (Vote!)

Posted on Sunday, January 16, 2005 - 4:02 am:   Edit PostDelete PostView Post/Check IPPrint Post

Spy Kid's 3d would be good
Where can you buy Sensio movies online?

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image

Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | User List | Help/Instructions | Program Credits Administration