Overview

Image viewer is a typical application for large display. It makes use of the high-resolution large display and lead to more efficient way for viewing images. Image viewer utilizes the output of the calibration phase (geometric result file and alpha masks), makes the necessary geometric and photometric correction and shows the resulted image on the multi-projector display. With the benefit of the much larger display area and higher resolution, uses can see both the overall picture and details at the same time.

Algorithms

In order to display the image on the multi-projector based large display, the input image texture shown on every projector need to be warped according to the calibration result. This includes geometric correction and photometric correction. The details of the algorithms are introduced below.

    For geometric correction, we use what we called Piecewise-Linear Methods. The basic idea is to apply a piecewise-linear mapping of the projector coordinates to camera coordinates. The tessellation is implemented using standard Delaunay triangulation. The geometric correction is implemented using bilinear interpolation of these mappings at the vertices of the triangles. This method needs minimum calculation and only need to apply interpolation triangle-by-triangle to the corresponding tessellated mesh in the projectors coordinate space. The final result is a geometrically correct image in the camera's view (or in the view of the person who stand at the spot of the camera). The algorithm is also very robust and can apply to curved surface or even corner of the wall. For a more specific explanation, please refer to Chapter 3.3.4 of Reference [1].

    For photometric correction, we use the blending techniques to address overlapped regions and try to smooth color transitions across different projectors. The smooth transitions can be achieved by using a linear or cosine ramp, which attenuates pixel intensities in the overlapped region. For one pixel in the overlapped area, the more it near the boundary of the projector, the less the intensity of this pixel in the projector will be. In order to control the intensity of each pixel, we generate an alpha map for each projector in the calibration stage. The generation of alpha map follows these steps: first, we identify the display area each projector occupied in the camera image; then we calculate the distance transform image for each projector; next, we use the value of the distance transform image as weight and normalize it to 0~255. We save this normalized image as alpha image. During the photometric correction, each of the pixels to be shown will use this alpha image as an alpha mask. A gamma corrrection may also apply. For a more specific explanation, please refer to Chapter 4.4.3 of Reference [1].

Download

Please go to the downloadpage.

How to use the code

Before you start, you should first choose the configuration you would like to adopt according to your intention and available hardware. We provided codes for multi-projector multi-PC configuration and multi-projector single-PC configuration. Below are the step-by-step instructions about how to use the code.

Multi-Projector Multi-PC Configuration:

  1. Download the corresponding binary package named ImageClient (control client running on master PC) and ImageServer (render server running on render PC) from the above "Download" Section;
  2. Connect the PCs and projectors as showed in Figure 3 except not necessary to connect the camera;
  3. Copy the calibration result file (result2x2.txt), alpha image (Px.bmp) and the demo images to the working directory of all the render servers;
  4. Run the following program on all the rendering PCs from command line with:
    ImageServer.exe
  5. Modify the configuration file named Client4.cfg according to your actual configuration (IP address, port, gamma, etc);
  6. Run the control client program on the master PC from command line with:
    ImageClient.exe Client4.cfg demo1.bmp
  7. If everything goes well, you will see the image demo1.bmp showing on the large display correctly;
  8. You can use mouse and keyboard to zoom in/zoom out, change the position and so on, please see the command line help of the program.

Multi-Projector Single-PC Configuration:

  1. Download the corresponding binary package named MMonImageViewer from the above "Download" Section;
  2. Connect the PCs and projectors as showed in Figure 4 except not necessary to connect the camera;
  3. Make sure that you have multiple graphics cards installed properly;
  4. From the desktop of your Windows XP, go to "Right-Click->Properties->Settings", enable all the monitors connected by select the "Extend my Windows desktop onto this monitor" check box; Make sure the top left projector is set as primary display and drag the monitor icons to match the physical arrangement;
  5. Copy the calibration result file (result2x2.txt), alpha image (Px.bmp) and the demo images to the working directory of the PC;
  6. Run the following program on the PC from command line with:
    MMonImageViewer.exe Client4.cfg demo1.bmp
  7. If everything goes well, you will see the image named demo1.bmp showing on the large display correctly;
  8. You can use mouse and keyboard to zoom in/zoom out, change the position and so on, please see the command line help of the program.

Multi-Projector Based Display Code ---- ImageViewer的更多相关文章

  1. Multi-Projector Based Display Code ------- Home

    Overview This project provides you with the tools and techniques you need to create your own large-a ...

  2. Multi-Projector Based Display Code ---- FAQ

    Frequently Asked Question How do I know that my camera has a proper lens? Answer: If you can see exa ...

  3. Multi-Projector Based Display Code ---- ModelViewer

    Overview Model viewer is another application we provided for large display. It is designed for viewi ...

  4. Multi-Projector Based Display Code ---- Calibration

    Overview As mentioned previously, there are two main steps in generating a seamless display. The fir ...

  5. Multi-Projector Based Display Code ---- Download

    The code providing are for your reference. Please download the code according to your hareware confi ...

  6. Peer Code Reviews Made Easy with Eclipse Plug-In

    欢迎关注我的社交账号: 博客园地址: http://www.cnblogs.com/jiangxinnju/p/4781259.html GitHub地址: https://github.com/ji ...

  7. Code Pages

    https://docs.microsoft.com/en-us/windows/desktop/intl/code-pages Most applications written today han ...

  8. 设备管理 USB ID

    发现个USB ID站点,对于做设备管理识别的小伙伴特别实用 http://www.linux-usb.org/usb.ids 附录: # # List of USB ID's # # Maintain ...

  9. Oracle Database 11g express edition

    commands : show sys connect sys as sysdba or connect system as sysdba logout or disc clear screen or ...

随机推荐

  1. Windows下的wget,命令行下载url

    1.进命令行(Win + R,输入"cmd") 2.输入:start powershell 3.等待PowerShell窗口启动 4.PowerShell窗口依次输入: $clie ...

  2. Error while Installing APKs

    这一篇帖子 会写的比较简单 不过相信大家也可能遇到这些问题   为了怕自己忘记  记录下来  顺便也和大家一起分享 描述:在一些机型上安装软件 提示卸载原先的软件  但是又安装不上新软件DELETE_ ...

  3. 27)django-form操作示例(动态Select数据,自定义字段验证,全局验证等)

    1)普通传递select数据 # -*- coding:utf-8 -*- __author__ = 'shisanjun' from django import forms from django. ...

  4. 克隆虚拟机+Linux互相登录+秘钥认证(四)

    1.虚拟机右键管理_克隆 修改虚拟机名称后完成! 2.开机启动虚拟机 随时保存快照 3.开启两台虚拟机,进行互相登录切换!(W命令查看系统负载) 补充: IP登录: ssh IP: 例如:ssh 19 ...

  5. Java_运算符

    目录 一.算术运算符 二.关系运算符 三.位运算符 四.赋值运算符 五.条件运算符 六.instanceof 运算符 七.逻辑运算符 一.算术运算符 加 减 乘 除 取余 自增 自减(+ - * / ...

  6. js的逆向解析

    过程: 知道如何寻找登录的接口 知道如何确定js的位置 知道如何观察js的执行过程 知道js的执行方法 1. 确定网站的登录的接口登录的form表单中action对应的url地址通过抓包可以发现,在这 ...

  7. 金蝶K/3 审批相关SQL语句

    金蝶K/3 审批相关SQL语句 --http://127.0.0.1/lightApp/todocheckTask.aspx?AccID=84&&FClasstypeID=1071&a ...

  8. 学习笔记: MD5/DES/RSA三类加密,SSL协议解析

    1. 不对称可逆加密的 的2种用法 (1)保证信息不被篡改 (2) 保证信息只能被我看到 2. CA证书的基本原理 流程如下:  百度公司 向CA机构报备 持有者姓名, 有效期, 要发布的公钥 , 扩 ...

  9. Codeforces 947F. Public Service 构造

    原文链接https://www.cnblogs.com/zhouzhendong/p/CF947F.html 近5K码量构造题,CF血腥残暴! 题解 这里先定义 $FT(k)$ 表示一个菊花树多 k ...

  10. JavaScript之扑朔迷离的this

    JavaScript这门语言中,最令人迷惑的地方有三个,闭包.this.原型.针对大多数人,可以利用词法作用域等避开this的坑,但是我们不能一直生活在舒适区,要敢于打破砂锅问到底,对我们来说也是一种 ...