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. 《java与模式》

    2012年3月 随笔档案 - java_my_life - 博客园--此网友 12年的博客都是和模式有关的,希望可以多看看.http://www.cnblogs.com/java-my-life/ar ...

  2. vmware 14 密钥

    VMware 2017 v14.x 永久许可证激活密钥 FF31K-AHZD1-H8ETZ-8WWEZ-WUUVA CV7T2-6WY5Q-48EWP-ZXY7X-QGUWD 来源链接: http:/ ...

  3. 3D Slicer中文教程(四)—图像分割

    1.数据获取 (1)下载3D Slicer自带的样本数据 (2)选择自由的数据 (3)网上数据库等其他方式下载数据 2.分割工具 Segment Editor是一个用于分割的模块.细分(也称为轮廓)描 ...

  4. C++的一些小Tip

    string转数字: 一种是转换为char*后再使用atoi:atoi(s.c_str()).这个方法的神奇之处在于,如果s是负数也能顺利转化,但是,在leetcode显示,自己先判断是不是负数的话计 ...

  5. linux 乌班图 xshell链接不上服务器

    输入  ps -e |grep ssh ,如果没有任何反应则是没有安装 命令 sudo apt-get install openssh-server 然后出现是否同意-Y,同意进行自动下载 如果提示  ...

  6. 第十一篇:Mysql系列

    Python开发基础之路 第十一篇:Mysql系列 Python-数据库 基本SQL语句 Python-数据类型 主键auto_increment Python-多表关联 外键 级联 Python-s ...

  7. Excel-VBA入门(1): 基础 / 变量 /for / if/ 调试

    (一) 启动VBA 打开excel ,选项-自定义功能区-开发工具, 在界面的开发工具下选择 宏安全:  勾选 启用所有 excel保存xlsm后缀的格式才可以用宏! 若启动VBA编辑器(以下简称VB ...

  8. 10分钟理解JS引擎的执行机制

    首先,请牢记2点: (1) JS是单线程语言 (2) JS的Event Loop是JS的执行机制.深入了解JS的执行,就等于深入了解JS里的event loop 1.灵魂三问 (1) JS为什么是单线 ...

  9. 剑指offer数组2

    面试题39:数组中出现次数超过一半的数字 数组中有一个数字出现的次数超过数组长度的一半,请找出这个数字.例如输入一个长度为9的数组{1,2,3,2,2,2,5,4,2}.由于数字2在数组中出现了5次, ...

  10. labview出现系统998错误

    1.环境:xp,labview2015, 2.经过:初始状态正常,系统需要运行2016的打包的程序,运行不了,后下载了一个2016打包后的程序,点击安装,未提示异常.桌面添加了快捷方式,点击快捷方式, ...