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. Django过滤器

    在项目目录下建立templatetags文件 夹 建立 my_filter.py文件 from django import template register = template.Library() ...

  2. 关于sniff函数的一个小坑

    最近在用scapy模块写一个关于WiFi的脚本时用到sniff函数,其中遇到了一个小坑,记录如下: sniff函数是在指定网卡上每次嗅探到一个数据包后然后将它传给prn指定的函数.

  3. 2019春季训练02: JU Flash Contest Gym - 102035 训练报告与复盘

    这场题极其简单 Solved 19 / 19 A Gym 102035A N integers 略 Solved 10 / 33 B Gym 102035B Mahmoud the Thief 用ma ...

  4. Lua中的语句

    [赋值] 赋值的基本含义是修改一个变量或一个table中字段的值,这个和其它语言没有多少区别,但是对于Lua,有一个特性,它允许“多重赋值”,也就是一下子将多个值赋予多个变量,例如以下代码: , pr ...

  5. Linux 首先基本包安装(vim啊什么的),源,源优化,项目架构介绍, (LNMuWsgi)Django项目相关软件mysql,redies,python(相关模块)安装配置测试

    内容 补充: 查看已启动服务的端口 netstat -tulnp |grep (方式1) ss -tulnp|grep (方式2) 前期铺垫: . Linux要能上网 . 掌握Linux软件包安装方法 ...

  6. iOS 中的屏幕旋转shouldAutorotate和supportedInterfaceOrientations的先后关系

    这2个UIViewController的属性,都和旋转相关, 当设备发生旋转时,首先会查看根controller的shouldAutorotate是否允许旋转,如果允许,再通过 supportedIn ...

  7. 微信H5支付坑一--手续费未结算

    简单随笔小记: 场景:在微信H5支付的过程中,无论怎么支付完成,在微信商户后台查询手续费依然未扣除,当时手续费账户月为5元. 解决方法:起初无论怎么测试都不知道代码到底问题出在哪里了,想一下手续费账户 ...

  8. [原创]iFPGA-Cable FT2232H JTAG & UART调试器

    iFPGA-Cable FT2232H JTAG & UART调试器 [特性] 采用FT2232H,双通道接口: 支持UART: 支持JTAG,Digilent SMT-1,TCK最大时钟频率 ...

  9. [转] 如何写好.babelrc?Babel的presets和plugins配置解析

    什么是Babel The compiler for writing next generation JavaScript. 官网是这么说的,翻译一下就是下一代JavaScript 语法的编译器. 作为 ...

  10. .net core 2.x - 日志 - to elasticsearch - (2)

    你可能会有疑惑,怎么又来一偏,,,其实我也好奇,因为我已经忘记哪个能跑起来了,,,记忆中,这个好像是没问题的. 1.使用到的资源 关于es(elasticseach)在.net中的访问,可以参考es的 ...