I have watch this video.
And How does it do that Output Dual-Fisheye?
It’s a video from file, not a live stream.
When you save the video to the camera, it’s in dual-fisheye
How can I get this file?
I get the file which is equirectangular format.
The file is from Android “Theta S” APP.
plug your THETA V into your laptop or desktop computer with a USB cable, then open the camera as storage device.
So…I have a question
The Equirectangular image transfer to dual-fisheye image.
It must have fisheye coordinate parameter of r.
r is named radius.
And it is a constant? What is it value?
Are you looking for the precise lens parameter information, or a rough number?
this might be useful for you for the rough approximation. Ricoh does not release the specific lens parameter information…
/* global THREE */
'use strict';
/**
* Copyright (c) 2016 Ricoh Company, Ltd. All Rights Reserved.
* See LICENSE for more information
*/
class ThetaView {
_cyln2world(a, e) {
return (new THREE.Vector3(
Math.cos(e) * Math.cos(a),
Math.cos(e) * Math.sin(a),
Math.sin(e)));
}
_world2fish(x, y, z) {
let nz = z;
if (z < -1.0) nz = -1.0;
This file has been truncated. show original
class ThetaSphere {
// k : latitude
// s : longitude
PVector[][] vertices3D; // 3D vertices of hemisphere
PVector[][] t_vertices1; // 2D texture vertices of hemisphere (1 of 2)
PVector[][] t_vertices2; // 2D texture vertices of hemisphere (2 of 2)
// constructor(initialize)
ThetaSphere(int k_div, int s_div, int sphere_r, int xc1, int yc1, int xc2, int yc2, int img_r) {
vertices3D = calcHemisphereVertices( k_div, s_div, sphere_r );
t_vertices1 = calcHemisphereTextureVertices( k_div, s_div, xc1, yc1, img_r );
t_vertices2 = calcHemisphereTextureVertices( k_div, s_div, xc2, yc2, img_r );
}
// draw textured sphere
void draw(PImage t_img) {
drawHemisphere( vertices3D, t_vertices1, t_img );
This file has been truncated. show original
Yes, it is the fisheye lens parameter of focal length.
I want this value number which is Ricoh define.
When I get .mp4 file which is dual-fisheye format.
Which app can turn this .mp4 file to equirectangular format?
I will try to decompiler this app and find this value.
It sound so crazy…
Svendus
October 16, 2017, 6:06pm
10
Jiasheng_Wang:
Yes, it is the fisheye lens parameter of focal length.
I want this value number which is Ricoh define.
The lens parameter information is not publicly available. If you are involved in a large project, you may be able to contact Ricoh directly and negotiate access to the information under NDA.
Is this a potentially large project?
This person used JPEXS Flash Decompiler to access XMP data. I don’t think he accessed the data you’re looking for. The desktop app is made with Adobe Air.
Information is translated from this Japanese blog post which was written in 2013-11. I recently saw the article in connection to the AutoIt script originally written by Sven Neuhaus. In January of 2014, RICOH added PhotoSphere XMP metadata to THETA...
Reading time: 2 mins 🕑
Likes: 1 ❤