Panomorph Record, Post-Process, and Player.

Table of Contents:

Panomorph Record .......................................................... 1
Video Recording ............................................................... 1
Live Display ..................................................................... 2
Inspection Data................................................................ 2
Record Controls ............................................................... 2
Panomorph Post-Process ................................................. 2
Command Line Mode ....................................................... 3
Standalone Mode............................................................. 3
Panomorph Player............................................................ 4
Command Line Usage ...................................................... 4

Panomorph Record.


The Panomorph Record application allows the capture of Panomorph Video and Data. The Record application requires a Sensoray 2253 Encoder and an XBOB4 Video Text Overlay/ Distance Encoder. There are four areas of the Panomorph Record: Video Recording, Live Video, Inspection Data, and Record Controls.

Video Recording.

The Video Recording frame allows the end user to configure the device settings and adjust the brightness/ color settings for the recording device. The Device
dropdown selects the recording device which will be Sensoray
2253 Capture A. The input source will be Composite. The
Size dropdown will be 720x480 for full D1 video capture. The SubType will be set to MJPG capturing. MP4V may also be used but will slow down video processing and have slightly reduced final output quality. The Analog Standard should be set to the region standard of the camera module, in North America this will be NTSC M.
To adjust the colors and brightness of the camera, start the encoder preview by pressing the Start Preview button. Then press the Adjust Colors button.

When using the Sensoray 2253 adjusting the colors of the A channel will also change the preview B channel. During the initial setup, it may be necessary to Default all the options in order to see a picture. Press the Default button and all the sliders will move to their center 0 position. Move each slider left or right to decrease or increase the settings. Once the desired picture has been acquired press the Close button to save the settings and close this window.

Live Display.

The Live Display frame allows the user to see a live output of the camera as it travels. The live display will use the Device: Sensoray 2253 Capture B. The input source will be Composite. The Size may be 320x240, 640x480, or 720x480 depending on the quality desired while inspecting. The Size dropdown will also set the size of captured picture (Take
Snap Shot) while performing an inspection. The SubType should be set to MP4V or MJPG. MJPG creates smaller file sizes, seems faster, and has less artifacts than MP4V. The Analog Standard should be set to the region standard of the camera module, in North America this will be NTSC M. After setting the correct dropdowns, ensure the Display Live Video box has been checked to see a live image of the camera. If no image is seen, check to ensure the Video Recording (Encoder) has been properly setup and the color adjustment has been performed. If this has been checked, ensure the FFDSHOW codecs have been installed on the workstation.
While performing an inspection the user may choose to display the live video in Full Screen. Pressing the Full Screen button will maximize the video on the monitor. To close Full Screen press the Escape button on the keyboard.
When the inspection recording has been completed the user may Post-Process the video by pressing the Post-Process Inspection button. When the Post-Process has completed the window will close. To review the inspection with flat video synchronized the user may press Open Pano Player. This will shut down the recording application and open the
Panomorph Player.

Record Controls.

The Panomorph Record Controls allow the user to control the XBOB Overlay, Video Encoder, and Picture Capture during an inspection. The XBOB is necessary to count distance pulses from the reel and to place a distance on
the video and data file. The Find Overlay button will search all serial communication ports on the computer for an
XBOB. The XBOB must be setup for 38400 baud rate for the application to find the overlay. The Calibration text box will accept numeric values that tell the XBOB how many pulses per revolution the encoder has. The Set Distance button will set the XBOB’s encoder to the specified distance.
Once the XBOB has been setup, and the distance of the camera in the pipe has been set, the user may record video

by pressing Start Record. The Status and Time boxes will

Inspection Data.

The Inspection Data frame allows the user to enter required information for an inspection. These fields include Upstream Manhole, Downstream Manhole, Material, and most important, Pipe Size. The Size field will only accept numeric values and must be the correct size of the pipe or unwrapping may not perform correctly.

Once the inspection fields have been entered, press the Start New Inspection button to save this data and create an inspection folder. This folder will be created in a folder called Video in the same directory as the application. Below is a sample of an inspection folder after an inspection has been performed with the InspectionData.ini file containing the required inspection fields. The Panomorph.avi video file and Panomorph.txt data file will be created when the inspection wis recorded.
now begin to show the current status of the recording and time. The user may pause the video by pressing the now activated Pause button. During the inspection, a snap shot may be taken by pressing the Take Snap Shot button. This will open the snap shot in separate window to allow the user to print the picture. The images will be stored as JPG images
in the inspections folder. When the inspection is complete the Stop Recording button will stop the video encoder. If the Start Record button is pressed again it will verify that overwriting the previous recording is intentional. Choosing No will cancel the recording, choosing Yes will delete the current video and data file and start a new file.

Panomorph Post-Process.

The Panomorph Post-Process application will convert a Panomorph recorded video and data file into an unwrapped image and PDF file for review. Currently, there are only two options for the end user to set. The Columns
Per Page sets the PDF layout to 1, 2, 3, or 4 column outputs. The more columns per page used allows more pipe per page to be displayed but also shows a smaller image of the pipe. The user may optionally choose to clear the temporary work folders after the process has completed. Clearing Temp After Smoothing check box should always be used in production to save space. When testing the PDF Column output it can save

POSM Panomorph // Panomorph Record, Post-Process, and Player. // Page 2


time by skipping step 1 if the temp folder isn’t cleared. Once the user has made these two decisions the software is ready to process Panomorph data. All settings are stored when the application closes.

The Post-Process application may be run in Standalone Mode or Command Line Automatic Mode.

Command Line Mode.

The Command Line Mode allows the user to input a folder, video file, and/or pipe size to encode. When starting the PanoPostProcess.exe application, command line arguments may be used to tell the application what to process.

/F Folder Name

The /F argument followed by a folder name will tell the application which folder contains Panomorph data.

/V Video Name

The /V argument followed by a video file name will tell the application the video file to be processed.

/P Pipe Size

The /P argument followed by a numeric value will specify a pipe size to unwrap. When the /P argument is used, an InspectionData.ini inspection file is not required to unwrap the video. Otherwise, if this file is not present, the Post-Process will cancel. An example of command line processing is as follows:
PanoPostProcess.exe /F C:\Program Files\Panomorph\ Video\1_2_18_10112011_102706\ /V Panomorph.avi /P 18
This will tell Panomorph Post-Process to process a Panomorph folder with Panomoprh.avi video file and unwrap an 18" pipe. When the application has extracted its frames, smoothed the output images, and created the inspection PDF, it will close.

Standalone Mode.

When the PanoPostProcess.exe application is launched without command line arguments, it is running in Standalone Mode. In this mode the user must open a Panomorph folder by pressing the Open Pano File button. The Locate Panomorph Data window will appear.

The Locate Panomorph Data window is filtered only to show video file extensions. Select the Panomorph video
file to process and then press the Open button. If the folder is missing the InspectionData.ini inspection header file or Panomorph.txt data file, the application will display an error message and not continue. When the file has been opened, the application will read the Header Inspection file and set its output settings depending on the Pipe Size. The most important setting is the Pixel Offset value. These values are set in the PanomorphSetup.ini from the applications folder.
If the current pipe size is not in this list, an error will be displayed. The user may also fine tune outputs if necessary by adjusting these values.
The Play, Pause, Prev and Next buttons allow the user to preview the video and unwrapped stripes.
• Play will play the video forward.
• Pause will pause the video.
• Prev will move the video back one frame.
• Next will move the video one frame forward.

POSM Panomorph // Panomorph Record, Post-Process, and Player. // Page 3


To process the Panomorph data the user will perform three steps:

1. Process Pano will extract all the necessary images from the video at the correct distance points and unwrap them into stripes.

2. Smooth Pano Output will merge the output of step one into columns of images.

3. Smooth BMP to PDF will create a PDF file of the images with distances as text.

The user may choose to press the Process All to perform all three steps in one action as well.

Once the processing is complete the Post-Process application can be closed by pressing the Red X in the upper right hand corner. Navigating to the inspection folder the user will find two new folders, PanoPDF and TempBMP. The PanoPDF
folder contains the PDF file for this inspection. The TempBMP contains the step two images necessary for the Panomorph Player to run.

Panomorph Player.

The Panomorph Player allows a user to view Panomorph
To control the video the user may press the Play (1X, 2X or
4X ) or Rewind (1X, 2X) buttons. The user may also Pause, Frame Forward and Backwards with the (Play Pause Forward and Backwards) buttons. The raw video and Panomorph flat view windows both have play controls that operate together.
Pressing the Restore Pano button will move the Flat View to the right of the video player window.
The user may also move the slider below the raw video
to move to a specific time stamp. The estimated distance position in the video is displayed above the slider.
The user may also measure objects in the flat view window. The options allow the user to measure with a Line, Rectangle or Circle. To measure, select the measurement type and then draw a line on the flat view window. The measurement will be drawn with a red line. When the left mouse button is released the Distance Measured will appear in a text box at the end of the measurement line.

Command Line Usage.

The command line mode allows the user to input a folder, video file and/or pipe size to encode. When starting the PanomorphPlayer.exe application command line arguments may be used to tell the application what to process.

/F Folder Name

The /F argument followed by a folder name will tell the application which folder contains Panomorph data.

/V Video Name

The /V argument followed by a video file name will tell the application the video file to be processed.

recorded video and unwrapped images simultaneously.

POSM (Pipeline Observation System Management)

www.posm.us // info@posm.us // 859-274-0041

To open a video file press the Open Pano File button. If the
InspectionData.ini or TempBMP folder are missing an error
will occur. When the video opens the Panomorph Edit window will appear with a flat view of the pipe, and the current distances will be on the left.

POSM Panomorph // Panomorph Record, Post-Process, and Player. // Page 4