JAI TS(C)-2030EN, TS(C)-2076EN, TS(C)-1327EN manual Jpeg Format, UDP Image Transfer on Setup Channel

Page 50

EN Camera Series

6.7.2JPEG Format

JPEG is the industry-standard format for lossy image compression. Output file size, quality and speed of the encoding depends on the quality setting. The user can set the proper quality setting by accessing the "JPEG Quality Factor" config register (Address = 46). The factory default is 85.

Access to “Image Acquisition 1” and “Image Acquisition 2” config registers (Address = 3 and 9, respectively) and turn on JPEG format. Factory default setting is TIF format only.

If JPEG quality factor is high (above 85) and image contains complex detail information, the output file size of JPEG encoding becomes larger. JPEG image size must be properly defined in “Storage Setup” of JPEG. If the output file size exceeds the pr defined JPEG image size, the result JPEG image will not contain the full resolution of the image. Please refer to Section 6.9, “Image Buffering,” on page 44).

For the EN Camera (color) model, the user should not deal only with the JPEG format image, because this format will not retain detailed color pixel information.

Please refer to the “LC to EN Interface” document for details about the JPEG header.

6.8Image Transfer

6.8.1UDP Image Transfer on Setup Channel

The EN camera can send video images over TCP (message-based) on the control channel, or UDP (sniffing mode) on the setup channel, or both. Image transfer over UDP is intended for live video display to focus lens or for sniffing external triggers (HW TTL trigger, Ethernet Trigger, or RS485 Serial Trigger) without disturbing continuous normal operation with Lane Controller. The “Live” or “Snap” buttons on the UDP setup channel do not send images to the FTP server or the lane controller on TCP (message-based) image transfer. Half image and quarter images are supported only on the UDP setup channel. The raw image format is the only one supported by the UDP setup channel; JPEG is not supported.

UDP setup images are easy to enable and disable. The user can access the “EN Setup Trigger Source” register (Address = 111) and “EN Setup Image size” register (Address = 112) to change the trigger source and image size. Live image transfer can be slowed down by setting “EN Setup UDP Inter-Packet Delay” register (Address = 110). It is important to note that when multiple host PCs (clients) connect to the EN camera, only the last client who changes the “EN Setup Trigger Source” register or “EN Setup Image size” register will receive the UDP setup image.

6.8.2TCP Message-Based Image Transfer on the Control Channel

Image transfer over TCP is intended for more secure image transfer. Even if the packet is corrupt, the TCP/IP mechanism automatically resends the missing/corrupt packets. Full size, Odd field, or Even field images are supported and both raw TIF images and compressed JPEG images are supported on TCP control channel.

Unlike the setup channel that can send only one uni-cast UDP image to a single client (host PC), the control channel can send the identical image to multiple host PCs (clients) over TCP. However, the host PC has to respond to “DATA_RDY” message that the EN camera sends when an external trigger is input (HW TTL trigger, Ethernet trigger, or RS-485 trigger). If the host PC sends a “SEND_DATA” message to the EN camera, then the EN camera sends TCP image (TIF, or JPEG, or both) over the Control channel.

For detailed register and interface information, please refer to the “EN to LC Interface” document.

As a default, the EN setup software receives all images over UDP (setup channel). However, if you prefer to switch to TCP images, you can do so by enabling the "Use TCP/IP" option. This is under the "View" menu on the Video Window.

 

 

 

50

Camera Features

Image 50
Contents EN Camera Series Page Certifications WarrantyDisclaimer EN Camera SeriesMailtrafficsales.americas@jai.com Trafficsales.emea@jai.com Table of Contents OP-IR OP-RED List of Figures List of Figures ViiEN Camera Series Viii List of Figures List of Tables List of TablesEN Camera Series List of Tables Related Documents IntroductionScope of this Manual Key Functions of the EN CameraEN Camera Series Product Description Required Equipment Network SettingsGetting Started Getting StartedInstalling the Required Software Image Capturing Start Up the EN Setup SoftwareTutorial TutorialCamera Properties Live Image Capturing/Focusing Live Image Capturing Measuring Box Position Quad Size Image Button Image Properties FTP Image Transfer EN Camera Series Image TransferADR Automatic Dynamic Range Control Light Sensor ConnectionEN Camera Series Flash Nighttime Light Control EN Camera Series Time Synchronization Static IP Address AssignmentDhcp Client EN Camera Series Maintenance Debug CountersFirmware Upgrade Firmware Names and Descriptions3 RS-232 PowerPC Debug Port EN Camera Series EN Camera Series Updating the EN Application Software Uploading the FirmwareTo Verify Version Numbers for all Firmware Uploading FirmwareUpdating the OS Image Updating the Fpga BitfileUpdating the Lib/Drv File Updating the Camera’s H8 FirmwareUploading Firmware Connectors and Cables Connectors and CablesConnector Pin Configurations 1 12-Pin Connector10/100 BaseT Ethernet Pinout Configuration JAI Inc. Power Cables Power Supplies and Power Cable SetupPower Supplies EN Camera Series RS-232 Communication CableAttaching the Camera Lens Building Your Own Power CableAttaching the Power Cable to the Connector Lens Mount FormatCamera Features Camera FeaturesAsynchronous Reset Progressive ScanningTiming Chart 1 TSC-2030EN Timing Chart 2 TSC-1327EN Timing Chart 3 TSC-4032EN EN Camera Series ADR Automatic Dynamic Range Control Camera ADR Control Related RegistersElectronic Shutter Factory Default Settings of the ADR Shutter Min. and Max EN Exposure TimesGain Table Color EN Camera Video Amplifier Gain ControlGain Table BW EN Camera HDR Mode 4032EN Only Flash/Nighttime Light Control 1 RS-485 External ControlColor Filter Array Color Version EthernetImage Formats TIF FormatTCP Message-Based Image Transfer on the Control Channel UDP Image Transfer on Setup ChannelJpeg Format 10 FTP Factory Default Storage Setup of Image BufferingImage Buffering EN Camera Series NTP Network Time Protocol Frequently Asked Questions and Troubleshooting FAQ and TroubleshootingFAQ and Troubleshooting Problem 11 Light Sensor Connection is Not reliable Problem 12 IO Board Communication ErrorInformation and Support Resources Problem 15 FlashErorr Appears in the Error RegisterProblem 16 Timestamp is Not Set to Current Local Time Appendix SpecificationsEN Camera Series Product Specifications Tables Processor Module Model TS-4032EN/TSC-4032EN Physical Dimensions TSC-2030EN/TSC-2076EN/TSC-1327EN Physical Dimensions TSC-4032ENSpectral Response B/W CCD Spectral Response B/W CCD TS-1327ENSpectral Response B/W Cmos TS-4032EN Spectral Response Color CCD TSC-1327EN IR Cut Filter Response for monochrome cameras Color filter spectrum response of TSC-1327EN OP-RED Configurable Order Options for EN CamerasOP-IR OptionsPage Europe, Middle East & Africa