POV-Ray : Newsgroups : povray.binaries.images : Plenoptic camera Server Time
30 Jul 2024 06:28:16 EDT (-0400)
  Plenoptic camera (Message 8 to 17 of 17)  
<<< Previous 7 Messages Goto Initial 10 Messages
From: Stephen
Subject: Re: Plenoptic camera
Date: 30 Dec 2012 15:12:26
Message: <50e0a02a$1@news.povray.org>
On 30/12/2012 7:35 PM, Samuel Benge wrote:
> I might be missing something fundamental to the topic at hand (wouldn't be the
> first time;)  ), but why not just place the following in front of the camera?

I must be missing it too. My thought was to use a camera Ray 
Perturbation using a Leopard Normal. I am running an animation ATM 
varying the scale.

-- 
Regards
     Stephen


Post a reply to this message

From: MichaelJF
Subject: Re: Plenoptic camera
Date: 1 Jan 2013 12:00:01
Message: <web.50e314e2899893d51ff1b5910@news.povray.org>
"Samuel Benge" <stb### [at] hotmailcom> wrote:

>
> I might be missing something fundamental to the topic at hand (wouldn't be the
> first time ;) ), but why not just place the following in front of the camera?
>
> #declare ArrayRes = 96;
> box{
>  <-0.5, -0.5, 0>, <0.5, 0.5, 0>
>  pigment{rgb 0 transmit 1}
>  normal{
>   function{
>    (1-(x*x+y*y)/2)
>   } -4*2
>   translate x+y
>   scale 1/2
>   warp{repeat x}
>   warp{repeat y}
>   scale 1/ArrayRes
>  }
>  finish{diffuse 0}
>  interior{ior 1.5}
>  no_shadow no_reflection
> }
>
> That's what I used when rendering the light field for my integral imaging sim.
> My first attempt for this step used actual geometry, but too many artifacts were
> produced, so I settled on this quick-to-parse, fast-to-render solution.
>
> Sam

I dont think that you are missing something here. My idea was the first I had in
my mind as I saw Jaimes picture. So I gave it a fast test. I think your idea and
Stephens may work better, but I came not up with this.

For me it was just a short and welcome distraction from more urgent RL issues.
Meanwhile I wonder why we simulate this camera at all. I learned about the
existence of plenoptic cameras by Jaimes posting first and found soon an article
from the Stanford group. As I understand it, their mean goal is to get more
depth of field with this camera as with an usual one. Didn't we have the problem
to get less DOF using focal blur? If one is intended in photorealistic rendering
of the results of an plenoptic camera, then this pictures must be heavily
postprocessed by analysing every field and composing an image from them. This
maths seems to be not trivial.

Best regards,
Michael


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re: Plenoptic camera
Date: 1 Jan 2013 13:40:58
Message: <50e32dba@news.povray.org>

> For me it was just a short and welcome distraction from more urgent
> RL issues. Meanwhile I wonder why we simulate this camera at all. I
> learned about the existence of plenoptic cameras by Jaimes posting
> first and found soon an article from the Stanford group. As I
> understand it, their mean goal is to get more depth of field with
> this camera as with an usual one. Didn't we have the problem to get
> less DOF using focal blur? If one is intended in photorealistic
> rendering of the results of an plenoptic camera, then this pictures
> must be heavily postprocessed by analysing every field and composing
> an image from them. This maths seems to be not trivial.

   I explored this just because a guy asked for help simulating the
output of a plenoptic camera. I didn't get much information, but I guess
he is a researcher trying to validate his reconstruction or refocusing
algorithms in a cheap way, without having a real plenoptic camera at hand.

   And of course no, this isn't of much use for us, regular POVers...

--
Jaime


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re: Plenoptic camera
Date: 1 Jan 2013 13:46:10
Message: <50e32ef2$1@news.povray.org>

> I might be missing something fundamental to the topic at hand (wouldn't be the
> first time ;) ), but why not just place the following in front of the camera?
>
> #declare ArrayRes = 96;
> box{
>   <-0.5, -0.5, 0>, <0.5, 0.5, 0>
>   pigment{rgb 0 transmit 1}
>   normal{
>    function{
>     (1-(x*x+y*y)/2)
>    } -4*2
>    translate x+y
>    scale 1/2
>    warp{repeat x}
>    warp{repeat y}
>    scale 1/ArrayRes
>   }
>   finish{diffuse 0}
>   interior{ior 1.5}
>   no_shadow no_reflection
> }
>
> That's what I used when rendering the light field for my integral imaging sim.
> My first attempt for this step used actual geometry, but too many artifacts were
> produced, so I settled on this quick-to-parse, fast-to-render solution.
>

   Yes, could work... I myself tried something similar with the camera 
normal, but was not getting the exact lens geometry I wanted (my maths 
are not soooo go), so I resorted to model it by hand on Wings3D: anyhow, 
I would be using it with the mesh camera #3, so it will smooth the 
normals and get ride of any triangle artifacts.

--
Jaime


Post a reply to this message

From: Samuel Benge
Subject: Re: Plenoptic camera
Date: 1 Jan 2013 14:00:01
Message: <web.50e33139899893d5617f86270@news.povray.org>
Stephen <mca### [at] aolcom> wrote:
>
> I must be missing it too. My thought was to use a camera Ray
> Perturbation using a Leopard Normal.

Hmm, is leopard really an appropriate pattern to use here? Isn't that pretty
much the cosine of x, y & z summed? I was forced to use the posted function only
after trying a cylindrical normal with poly_wave 0.5, and seeing how it didn't
work too well. The goal, of course, was to find something that would behave like
a spherical lens, but on a 2D surface.


Post a reply to this message

From: Samuel Benge
Subject: Re: Plenoptic camera
Date: 1 Jan 2013 14:10:01
Message: <web.50e333dd899893d5617f86270@news.povray.org>
"MichaelJF" <mi-### [at] t-onlinede> wrote:
>
> Meanwhile I wonder why we simulate this camera at all.

In the words of George Mallory, "because it's there." :D

As for myself, I just wanted to play with integral imaging in POV. Even though
the idea has been a around for a while, the microlens array sheets still aren't
being developed. But when the manufacturing industry gets in line to start
producing the sheets, I'll have already developed a way to produce the source
images... using my favorite raytracer :)


Post a reply to this message

From: Samuel Benge
Subject: Re: Plenoptic camera
Date: 1 Jan 2013 14:30:01
Message: <web.50e338c5899893d5617f86270@news.povray.org>
Jaime Vives Piqueres <jai### [at] ignoranciaorg> wrote:

> > My first attempt for this step used actual geometry, but too many artifacts were
> > produced, so I settled on this quick-to-parse, fast-to-render solution.
>
>    Yes, could work... I myself tried something similar with the camera
> normal, but was not getting the exact lens geometry I wanted (my maths
> are not soooo go), so I resorted to model it by hand on Wings3D: anyhow,
> I would be using it with the mesh camera #3, so it will smooth the
> normals and get ride of any triangle artifacts.

I'm not sure I would trust meshes for this task; in fact, I'm sure I wouldn't.
I've seen too many optical artifacts produced by "smooth" meshes. No matter how
precise vertex normals are, they can never overcome the fact that a mesh is
still a mesh. A mesh representation of a smooth shape will never intersect space
the way a purely mathematical shape does.

Of course, all that doesn't account for the fact that I used a plane and not
real geometry, but I had my reasons ;)


Post a reply to this message

From: "Jérôme M. Berger"
Subject: Re: Plenoptic camera
Date: 1 Jan 2013 17:05:53
Message: <50e35dc1$1@news.povray.org>
Samuel Benge wrote:
> the microlens array sheets still aren't being developed.
> 
	Yes they are: https://en.wikipedia.org/wiki/Lytro

	I've had the occasion to play a little with one of these and I was
rather disappointed: the resulting resolution was very poor and the
possibilities of the provided software were pretty limited and far
from the demos they show on their web site :(

		Jerome
-- 
mailto:jeb### [at] freefr
http://jeberger.free.fr
Jabber: jeb### [at] jabberfr


Post a reply to this message


Attachments:
Download 'us-ascii' (1 KB)

From: Samuel Benge
Subject: Re: Plenoptic camera
Date: 2 Jan 2013 14:10:01
Message: <web.50e485b5899893d56612423e0@news.povray.org>
=?UTF-8?B?IkrDqXLDtG1lIE0uIEJlcmdlciI=?= <jeberger@free.fr> wrote:
> Samuel Benge wrote:
> > the microlens array sheets still aren't being developed.
> >
>  Yes they are: https://en.wikipedia.org/wiki/Lytro

For cameras, yes, but what about integral imaging applications such as 3D
displays or "magic" cards? Last I heard, mass production of the sheets for
inexpensive products is still a ways off.

>  I've had the occasion to play a little with one of these and I was
> rather disappointed: the resulting resolution was very poor and the
> possibilities of the provided software were pretty limited and far
> from the demos they show on their web site :(

If integral imaging is any indication of what one can expect from those cameras,
I'm not surprised. It takes a very large source image to produce an end result.
In integral imaging, the final resolution (what you see) is directly
proportional to the number of sub-regions on the source image. The /angular/
resolution depends on the resolution of each sub-region of the source image. So,
if you want an image with an apparent pixel resolution of 1024x1024, and with an
angular resolution of 256x256 (65536 distinct points of view), your source image
needs to be 262144x262144 pixels. And that's just for an image that falls way
below print standards.

Still, the technology itself is very promising. Surveillance systems ala Blade
Runner (tweaking the view to see around objects) don't seem all that outlandish
anymore.


Post a reply to this message

From: Alain
Subject: Re: Plenoptic camera
Date: 2 Jan 2013 19:40:16
Message: <50e4d370@news.povray.org>

> Stephen <mca### [at] aolcom> wrote:
>>
>> I must be missing it too. My thought was to use a camera Ray
>> Perturbation using a Leopard Normal.
>
> Hmm, is leopard really an appropriate pattern to use here? Isn't that pretty
> much the cosine of x, y & z summed? I was forced to use the posted function only
> after trying a cylindrical normal with poly_wave 0.5, and seeing how it didn't
> work too well. The goal, of course, was to find something that would behave like
> a spherical lens, but on a 2D surface.
>
You may try the quilted pattern here.


Post a reply to this message

<<< Previous 7 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.