Results 1 to 5 of 5

Thread: XDV360 replacement to convert from fisheye photo to equirectangular

  1. #1

    Default XDV360 replacement to convert from fisheye photo to equirectangular

    My fisheye camera came with XDV360 software, which converts in real time both images and videos from fisheye to "cropped equirectangular", i.e. shows only a small portion of the full dome (to be viewed with Head Mounted display).
    But I think the SW is designed for fisheye cameras with 180° FOV or less, but mine has 235° FOV (actually seeing behind itself!), thus resulting in images squeezed in height.
    I'd need a SW which allows customizing the FOV before reprojecting.
    Any suggestion?

  2. #2

    Default

    Example image, and drawing showing the problem.

    Click image for larger version. 

Name:	235fisheye1.jpg 
Views:	49 
Size:	244.0 KB 
ID:	98493

    Click image for larger version. 

Name:	235fisheye-error1.png 
Views:	29 
Size:	9.3 KB 
ID:	98494

  3. #3
    Guild Expert johnvanvliet's Avatar
    Join Date
    Jul 2012
    Location
    N 42.39 W 83.44
    Posts
    1,091
    Blog Entries
    4

    Default

    like this


    a very simple polar to cylindrical using the built in gimp tool

    there are other tools that would do a better job , MATLAB comes to mind ( or the opensource math tool Octave -- runs matlab m files )

    or even gmic ( there is a gimp plugin )
    Code:
    gmic 235.png -euclidean2polar 50%,50%,3,1 -o 123.png
    Last edited by johnvanvliet; 08-12-2017 at 01:58 PM.
    --- 90 seconds to Midnight ---
    --------

    --- Penguin power!!! ---


  4. #4

    Default

    This looks interesting, could you please provide some details about parameters used?
    But there is some tuning needed yet: your first image appears mirrored and squeezed w.r.t. the one obtained with XDV360:

    Yours:
    Click image for larger version. 

Name:	sQ4EZPcU.jpg 
Views:	43 
Size:	25.4 KB 
ID:	98510

    Mine:
    Click image for larger version. 

Name:	235fisheye_2.jpg 
Views:	31 
Size:	12.2 KB 
ID:	98508

    Additionally it looks like XDV360 crops the image when converting to equirectangular, I didn't notice it.

    Instead, the vertical ratio looks the same:
    Click image for larger version. 

Name:	235-comparison.png 
Views:	36 
Size:	560.3 KB 
ID:	98509
    (above XDV360 output, below your first image mirrored, enlarged 150% and cropped).

    But the person looks "vertically compressed" in the head up display, so probably the problem is somewhere else...

    About your second image, it looks not cropped, but it remembers me the "vertical squeezing" operated by XDV360.
    I see the black area starts around pixel 600 of 800, which means 6/8=3/4=0.75 , while 235°/360°=0.65 , but I don't know if ratio must be the same, don't know if there is linearity or non-linearity involved in the reprojection... any help?!? I'm getting confused.

    Are you able to obtain a circular image were the black area begins more far from the center? I'd like to try it in the head-up display. But I don't know where the black area should start from in the flat image to get such a circular image from it.

  5. #5
    Guild Expert johnvanvliet's Avatar
    Join Date
    Jul 2012
    Location
    N 42.39 W 83.44
    Posts
    1,091
    Blog Entries
    4

    Default

    MMPS remapps to this
    -- i RENAME the "project" program do to a naming collision with Proj4 and gmt
    Code:
    MMPSproject -i  orthographic -w 1600 -h 1600 -scale 1 -lat 90 -long 0 -f fisheye.ppm -out cor.ppm
    after cropping the top half
    --- 90 seconds to Midnight ---
    --------

    --- Penguin power!!! ---


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •