|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi,
I suggest to implement the excellent work by Clemens Rabe:
http://www.clemensrabe.com/computer-vision/pov-ray/simulation-of-lense-distortion
about the new camera type with optical distorion.
Optical distortion modeling is increasingly important due to modern artificial
vision studies and applications.
After several searches, I didn't find much about this feature in Pov-Ray. If I'm
wrong and this feature is yet implemented (or in program) I apologize.
Thank you
igmar
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Le 05/10/2018 à 11:10, IGM a écrit :
> Hi,
> I suggest to implement the excellent work by Clemens Rabe:
> http://www.clemensrabe.com/computer-vision/pov-ray/simulation-of-lense-distortion
> about the new camera type with optical distorion.
>
> Optical distortion modeling is increasingly important due to modern artificial
> vision studies and applications.
>
> After several searches, I didn't find much about this feature in Pov-Ray. If I'm
> wrong and this feature is yet implemented (or in program) I apologize.
>
I see a patch for 3.6,1 but what is the license ?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Am 05.10.2018 um 19:20 schrieb Le_Forgeron:
> Le 05/10/2018 à 11:10, IGM a écrit :
>> Hi,
>> I suggest to implement the excellent work by Clemens Rabe:
>> http://www.clemensrabe.com/computer-vision/pov-ray/simulation-of-lense-distortion
>> about the new camera type with optical distorion.
>>
>> Optical distortion modeling is increasingly important due to modern artificial
>> vision studies and applications.
>>
>> After several searches, I didn't find much about this feature in Pov-Ray. If I'm
>> wrong and this feature is yet implemented (or in program) I apologize.
>>
>
> I see a patch for 3.6,1 but what is the license ?
IANAL, but by default it can probably be pressumed that the code is
placed under the v3.6 POV-Ray license.
Which means we can't simply copy the work, because the licensing terms
and conditions aren't compatible with the AGPL used by POV-Ray v3.7.
We'd have to contact the author to re-license his portions of the code
under AGPL-compatible terms and conditions.
As another note, it might be worth mentioning that POV-Ray already
supports several ways to achieve distortions beyond the standard pinhole
model:
- The `panoramic` and `fisheye` cameras are dedicated camera types
implementing distortions.
- Although not very widely known, a `normal` statement can be applied to
the camera to distort the image based on a pattern.
- The `mesh` camera introduced in v3.7 can be used to simulate arbitrary
camera projections, far beyond "simple" lens distortions (although it is
admittedly cumbersome to set up).
- The `user_defined` camera being introduced in v3.8 can also be used to
implement almost arbitrary camera projections, provided they can be
expressed as a set of functions mapping screen coordinates to ray origin
coordinates and direction vector components.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> - Although not very widely known, a `normal` statement can be applied to
> the camera to distort the image based on a pattern.
I didn't know this trick, it deserves a try.
> - The `user_defined` camera being introduced in v3.8 can also be used to
> implement almost arbitrary camera projections, provided they can be
> expressed as a set of functions mapping screen coordinates to ray origin
> coordinates and direction vector components.
This could be very useful. I hope that this feature will be well documented.
Nevertheless, I still think that an implementation of optical distortion
consistent with the literature definitions and terms (as in the followong
references) would be preferable and more useful (and appealing!) for the
community.
Bouguet model:
http://www.vision.caltech.edu/bouguetj/calib_doc/htmls/parameters.html
Open CV:
https://docs.opencv.org/2.4/doc/tutorials/calib3d/camera_calibration/camera_calibration.html
igmar
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |