Preview only show first 10 pages with watermark. For full document please download

Similar Pages

   EMBED


Share

Transcript

2D Color Analyzer for Display Inspection RICOH CV-10A User’s Manual Contents 1. Introduction ...................................................................................................................................................................... 1 2. Safety Precautions ........................................................................................................................................................... 1 3. Liability Disclaimer Items.................................................................................................................................................. 2 4. Precautions for Use.......................................................................................................................................................... 2 5. Before Using .................................................................................................................................................................... 2 6. Specifications ................................................................................................................................................................... 4 7. Software (CV-10A Player) ................................................................................................................................................ 5 8. SDK (Software Development Kit) ................................................................................................................................... 15 9. Annex ............................................................................................................................................................................. 21 1. Introduction Thank you for choosing the RICOH CV-10A. Always read this “User’s Manual” before use, and use the product correctly. Please store this document where you can use it quickly. 2. Safety Precautions About the Displays The displays in this document and on the product include various displays for ensuring safe and correct use of the product, and for preventing beforehand injury to you and others, and damage to property. The displays and their meanings are shown as follows. Danger Warning Caution This symbol indicates matters that may lead to imminent risk of death or serious injury if ignored or incorrectly handled. This symbol indicates matters that may lead to death or serious injury if ignored or incorrectly handled. This symbol indicates matters that may lead to injury or physical damage if ignored or incorrectly handled. Display Examples The symbol alerts you to actions that must be performed. The symbol alerts you to prohibited actions. The symbol may be combined with other symbols to indicate that a specific action is prohibited.  Sample Warnings Do not touch Do not disassemble To ensure safe use of this product, please observe the content below. Danger • Do not disassemble, repair, or modify this product. • If you see bad odors, smoke, excessive heat, or other abnormalities, immediately stop use of the product.? For repairs, please ask your contact at Ricoh. Warning • If you see smoke, strange odors, or other abnormal situations, immediately switch off the power. Quickly remove the AC adapter, taking due care for electric shocks or burns. Then notify your contact. Do not attempt to continue using while a breakdown or defect remains unfixed. • If a foreign substance (metal, water, other liquid, etc.) has intruded inside the product, immediately cut the power.. Quickly remove the AC adapter, taking due care for electric shocks or burns. Then notify your contact. Do not attempt to continue using while a breakdown or defect remains unfixed. • If the interior has been exposed by dropping or damage, do not use your bare hands to touch the interior. Quickly remove the AC adapter, taking due care for electric shocks or burns. Then notify your contact. Do not attempt to continue using while a breakdown or defect remains unfixed. • Do not use near ignitable gas or gasoline, benzene, or thinner. It could become a cause of explosions, fires, and burns. • Do not use in locations such as aircraft, etc., where use is restricted or prohibited. It could cause an accident, etc. • Do not use with anything other than the enclosed AC adapter and power cord. It could cause a breakdown. • Do not use at any voltage other than the displayed power voltage. It could cause a fire or electrical shock. • Do not scratch, damage, or process the power cord. In addition, heavy loads, pulling, or sharply twisting can damage the power cord, which could cause a fire or electrical shock. • When pulling out the power plug, always take the power plug in hand to pull out. Do not pull on the power cord. It could scratch the power cord, which could cause a fire or electrical shock. • If there is dust on the power plug, brush it completely off. It could cause a fire. • Do not use wet hands to pull out or plug in the power plug. It could cause an electrical shock. • Do not place in an unstable location for use. It could cause injuries due to falling over. • Do not leave this product where infants’ and children’s hands could reach it. With infants and children unable to understand the “Safety Precautions”, it could cause an accident. 1 Caution • For safety when handling, pull the power plug out of the wall receptacle and then proceed. When not using, for safety always pull the power plug out of the wall receptacle. • Do not use wrapped in a blanket, etc. It could cause a fire. Do not allow short circuits in the metallic parts of the terminal area or power cord. It could cause a fire. Do not use in kitchens or other locations subject to oil smoke or dampness, or in wet locations. It could cause a fire or electrical shock. • Do not leave the lens facing toward the sun for long periods. 3. Liability Disclaimer Items • Even if damage has occurred due to usage methods other than described in the User’s Manual, the Company assumes no liability whatsoever. • Even if collateral damage has occurred from use of this product, the Company assumes no liability whatsoever. • Even if PC error operation, or damage to other software, has occurred due to installation or startup of the product software, the Company assumes no liability whatsoever. • Even if damage has occurred due to user intent or negligence, the Company assumes no liability whatsoever. • Even if damage has occurred due to natural disaster, earthquake, or other conditions, the Company assumes no liability whatsoever. 4. Precautions for Use • Do not measure sunlight or other extremely bright objects. It could cause damage to the light receiving element, preventing measurement. • Do not remove the camera and lens. Removal will prevent accurate measurement. • Do not use in an environment with sudden changes in temperature or humidity. It could prevent accurate measurement. In addition, it could cause a breakdown. • Use within the required temperature and humidity conditions • Do not use with an ND filter or other optical filter attached to the lens front surface. It could prevent accurate measurement. • During use of the product, the main body may become high temperature. After use, cut the power and then wait awhile before handling. • This product uses precision optical parts. As a result, do not subject it to strong vibrations, dropping, or other shocks during use, during storage, or during transport. It could cause a breakdown. • If not using the product, attach the lens cap to protect the lens from particles or scratches. • Maintain a constant temperature and humidity for storage. In addition, always leave the AC adapter in a disconnected state during storage. • To maintain measurement precision, perform calibration about once a year. In addition, when shipping the unit for calibration, ship in a cardboard box filled with buffer materials. 5. Before Using (1) Accessories Check Before use, check that the main body and accessories are all there. • CV-10A main body (including lens cap) • AC adapter and power code • Tripod adapter (with 3 mounting screws; with hexagonal wrench) • Lock lever for focus ring 1 unit • Focus ring fixing screws 3 units Temporarily fixed at time of product shipping. For use, loosen the screws before use. • CD-ROM User’s Manual PDF (this document) Installer (application for measurement, CV-10A Player and SDK) Calibration file Image data for user calibration Calibration verification 2 (2) Names and Functions LAN connector USB connector Not used. Do not connect. Power connector Do not use. Tripod adapter mounting hole Tripod adapter mounting hole 3 6. Specifications Lens area Camera area AC adapter Focal distance 25 mm Aperture Fixed (7.0 equivalent) Field angle About 29 degrees (horizontal) About 22 degrees (vertical) Number of measurement points 120 × 90 Exposure time 2μ sec. to 64 sec. Measurement brightness range 1cd/m2 to 10000cd/m2 Brightness linearity (*1) ± 5% (Operating temperature 25 °C) Brightness repeatability characteristics (*1) ± 0.5% (2σ) Color precision (*1) ⊿ x ± 0.01 ⊿ y ± 0.01 (Operating temperature 25 °C) Peripheral error in chromaticity (*2) ⊿ x ± 0.005 ⊿ y ± 0.005 Color repeatability characteristics (*1) ⊿ x ± 0.003 ⊿ y ± 0.003 Peripheral error in the color repeatability characteristics (*2) ⊿ x ± 0.002 ⊿ y ± 0.002 Temperature characteristic (Operation temperature range) Brightness: ± 5% Chromaticity: ± 0.01 (Rates are base on the operating temperature 25 °C) Interface LAN (Gigabit Ethernet) Power source 12 VDC 2 A Consumption power 5.3 W Usage conditions Temperature Humidity 0 °C to 40 °C 85%RH or less (no condensation) Storage conditions Temperature Humidity -30 °C to 65 °C 85%RH or less (no condensation) External dimensions 46 mm × 46 mm × 125 mm (W × H × D) Weight About 314 g Power source AC 100 V to 240 V (50/60 Hz) Rated output 12 V 2 A Operations temperature 0 °C to 40 °C External dimensions 43.8 mm × 28.5 mm × 95.9 mm (W × H × D) Weight About 160 g (*1) Evaluation made using the average values for around 50% of the range at the center of the image. (*2) Error in the periphery for around 50% of the range at the center of the image. 4 7. Software (CV-10A Player) (1) Functions Overview The main functions are • Preview display: Serially captures images, and displays in real-time. • Color measurement: Measures the subject’s color. • Brightness measurement: Measures the subject’s brightness. • Display of measurement results: 1 False color display: The measurement results are displayed as a false color image. 2 Histogram: The measurement results are displayed in a histogram. 3 Chromaticity diagram: The measurement results are displayed in an xy chromaticity diagram. 4 Numerical display: The measurement results are displayed as numerical values. 5 ROI display: The average values and variance values of the specified intra-region measurement results are displayed. • Saving the measurement results: Saves the measurement results in CSV format. • User calibration: When the measurement results vary from the desired values, you can approach the desired measurement results. (2) Operating Conditions The recommended operating conditions for this software are as shown below. OS Windows® 7 Professional (32/64bit) * Windows® 8 (32/64bit) * CPU Intel Core i5 2.8 GHz or higher Memory 4 GB or more HDD 1 GB or more spare capacity LAN port Gigabit Ethernet 1 port Display 1280 × 800 or more 16.77 million colors (32 bit) or more * Windows® is a trademark or registered trademark of the U.S.-based Microsoft Corporation (3) Install Method You can use the CV-10A installer to perform install as shown below. • CV-10APlayer (program for measurement) • Driver • SDK (Software Development Kit) Copy the calibration file into any desired location. 5 (4) Windows Settings Before connecting the camera to a PC, perform the following settings. Change the network adapter Gigabit Ethernet Controller settings. Here below is an example of a setting in Windows® 7 Professional. Open the start menu, and open “Control Panel”. Then select “Hardware and Sound”. Select “Device Manager”. 6 From the “Device Manager” “Network Adapter”, select the Gigabit Ethernet Controller to be used, press rightclick, and select “Properties”. Select the Properties “Advanced” tab, and select the Property “Jumbo Frame”. Specify the value as “9KB (*)”. (*) The display may vary, depending on the Gigabit Ethernet Controller used. In addition, there may be cases where the 9KB setting cannot be performed. In this case, set the maximum value that is settable. This ends the setting procedure. 7 (5) Measurement Preparation • Connection with CV-10A Connect the CV-10A and PC with a LAN cable. Connect the AC adapter to CV-10A. Connect the AC adapter to an electrical outlet. With connection, the power is inserted. Start up the CV-10A Player, and press the “Connect” button. A dialog is displayed. Select the calibration file and press the “Open” button. Next, select CV-10A in the network. 8 If the connection was completed without problem, the “Connect” button is changed to “Disconnect”. Note The calibration file varies for each camera. Copy the calibration file in the CD-ROM to any desired folder, and select it. Be aware that, if the calibration file and camera are not correctly paired, the connection will fail. (6) Perform Measurement • While performing preview display, perform a check on the field angle and focus of the subject to be shot. To perform the preview display, press the “Preview Start” button. If you want to display grid lines on the preview display, insert a checkmark at “Grid Line”. For adjustment of field angle, perform adjustment while changing the distance and position of the camera and subject. For the focus, perform adjustment while rotating the lens focus ring. When focus adjustment is completed, use “Distance” to set the rough distance between the subject and camera (front edge of lens). 9 (Here follows the case where the distance between the subject and camera is 0.7 mm) Next, set the exposure time for when performing measurement. When performing measurement, we recommend setting the Exposure Mode to “Auto”. It is automatically adjusted so that the exposure time is suited to measurement. You can check that the region matches the exposure by inserting a checkmark at “AE Area”. To change the region position, you can place the mouse cursor on the yellow frame, and press the left-click button to move. If you want to change the size of the frame, you can select three types of size from “AE Area”. If repeating shots of a subject that has already had measurement performed once, you can change the Exposure Mode setting to “Manual”, to prevent automatic adjustment of the exposure time and shorten the measurement time. The exposure time measured in “Auto” is displayed. Set this exposure time to “ExposureTime”, and then perform measurement. In addition, while you can set to any desired exposure time, there may be cases where an accurate color measurement cannot be obtained. Settable exposure time is 2μ sec to 64 sec. 10 If the field angle, focus, and exposure time settings are completed, preparation for color measurement is complete. Before measuring the color, stop the preview display. To stop the preview display, press the “Preview Stop” button. Pressing the “Measure” button starts the color and brightness measurement. If the Exposure Mode setting is set to “Auto”, measurement may last from 1 second up to a maximum of as much as180 seconds. The darker the subject, the longer the time required. Once measurement has started, you cannot cancel. (7) Check the Measurement Results a) False Color Image The measured results are displayed in false color. 11 Items displayable in false color are the measurement results x,y, and Luminance. You can select them in ViewMode. You can change the Scale MAX and MIN numerical values to change the color allocations in false color. Measurement values smaller than the MIN setting value are displayed in black, and measurement values larger than the MAX setting value are displayed in white. In addition, you can check whether the measured colors come within the desired color range. Set the standard x value to the ⊿ x, ⊿ y “x”, the standard y value to “y”, the x range to “ ⊿ x”, and the y range to “⊿y”. In ViewMode, select any of “⊿x”, “⊿y”, or “⊿xy”. Based on the setting value, display the results below. If the x measurement value ≤ “x” setting value ± “⊿x”: OK If the y measurement value ≤ “y” setting value ± “⊿y”: OK If other than above: NG In false color, OK is displayed as green, and NG as red. 12 If the ViewSetting setting content is changed, pressing the Update button updates the display to match the setting. b) Histogram The measurement results are displayed in a histogram. The horizontal axis is the measurement value, and vertical axis is the count number. c) xy Chromaticity Diagram The measurement results are displayed in an xy chromaticity diagram. d) Numerical Display The measurement results are displayed in numerical values. Double-clicking the left-click button of the mouse on the false color image moves to the cell showing those coordinate results. 13 e) ROI Display The measurement results are partitioned into desired regions, and the average value and variance displayed for each region. The region specification method can include a method that uses a mouse to specify the region, and reading in a CSV file with the coordinates set. If using a mouse to specify the region, specification of the region is performed by moving the mouse while pressing the left-click button on the false color display. After the region is determined, press the Add Region button to register the region. When the registration is completed, the average value and variance of the specified region is displayed. If reading in the CSV file to perform region specification, press the Load button to read in an already prepared CSV file. The CSV file format consists of the upper left horizontal coordinate in Column A, the upper left vertical coordinate in Column B, the lower right horizontal coordinate in Column C, and the lower right vertical coordinate in Column D. The specifiable range is: Horizontal coordinate: 0 to 119 Vertical coordinate: 0 to 89 The example below shows a case specifying nine regions. In addition, the number of registerable regions is a maximum of 50 units. (8) Saving the Measurement Results To save the measurement results, press the DataView Save button. The save format is the CSV format only. In the CSV file, the y, X, Y, and Z values are saved in order. The respective data is two-dimensionally recorded. The column direction is the horizontal direction, and the row direction is the vertical direction. (9) User Calibration User calibration is a function that lets you approach the desired measurement results when the measurement results differ from the desired values. When performing user calibration, follow the procedure below. a) Image Preparation User calibration is performed by a four-color image of white, red, green, and blue in the FPD measurement target. Use the image data for user calibration that is stored in the CD. If not suitable for the FPD resolution, align with the FPD resolution, and use the four images below. Note that the R, G, and B values are all numerical vales in 8bits. White image: (R, G, B) = (255, 255, 255) Red image: (R, G, B) = (255, 0, 0) Green image: (R, G, B) = (0, 255, 0) Blue image: (R, G, B) = (0, 0, 255) 14 b) Desired Numerical Value Settings Display the four-color image in the measurement target FPD, and use a color luminance meter, etc., in hand to measure the desired measurement values (Luminance, x, y). If you already know the desired measurement value, or if you have the desired measurement value through calculation of theoretical values, etc., there is no need to perform the measurement. Set the desired numerical value to UserCalibrationSetting. c) Executing and Saving the User Calibration Establish the measured FPD, and perform field angle and focus adjustment. When the measurement preparations are complete, press the Calibration button. Pressing the button displays the File Save dialog. Specify the save location and file name for the user calibration data. After that, a message is displayed stating that the white, red, green, and blue images will be displayed in order in the FPD. When the image is displayed, press the OK button. When the four-color measurement is completed, the user calibration data is saved. d) Measurement Method Using User Calibration If performing measurement to reflect the user calibration data, press the Disconnect button, and temporarily cut the connection with the camera. After that, insert a checkmark at UserCalibration, and press the Connect button to perform connection with the camera. A dialog for reading in the calibration data and user calibration data stored in the CD-ROM is then displayed. Specify the files in suitable order. This enables measurement using the user calibration data. Perform this operation in te same way as normal measurement. 8. SDK (Software Development Kit) (1) Functions Overview You can use SDK to perform the desired software development (2) Operating Conditions The recommended operating conditions for this SDK are as shown below. OS Windows® 7 Professional (32/64bit) * Windows® 8 (32/64bit) * CPU Intel Core i5 2.8GHz or higher Memory 4 GB or more HDD 1 GB or more spare capacity Development environment Microsoft VisualStudio 2008 Professional Development language C++ * Windows® is a trademark or registered trademark of the U.S.-based Microsoft Corporation 15 (3) Description The configuration for this SDK is as shown below. CV10A_Lib Folder -------- |---- lib folder lib file stored |---- include folder header file stored Here below is an example using VisualStudio 2008. If using this SDK to create software, perform the following project settings. In Project menu  Properties C/C++ “Additional Include Directory”, specify the path up to the SDK include folder. In the Linker “Additional Include Directory”, add the path up to the SDK lib folder. This SDK is composed of five classes. • CV10ACamControl class: Class performing connection with the camera, capture of preview image, and the color measurement process • CV10ABuffer class: Buffer class where preview image is stored • CV10AMeasureResult class: Class storing the color measurement results • CV10AResult class: Class storing the process results • CV10AUserCalibData class: Class storing user calibration data The content of each class is listed below. CV10CamControl class Function Content Model Description Return value CV10Result See the CV10Result class Argument (in) char* calibFileName Specifies the full path to the file for calibration Argument (in) char* userCalibFileName Specifies the full path to the file for user calibration Function Performs connection with camera. Also performs the necessary initialization Return value void – Argument void – Function Releases the connection with camera Connect Disconnect 16 CV10CamControl class Return value CV10Result See the CV10Result class Argument (in) int x : Specifies region start coordinates (horizontal) int y : Specifies region start coordinates (vertical) int dx: Specifies the region horizontal size int dy: Specifies the region vertical size SetAutoExposureArea GetMaxExposureTime Function If using the auto exposure function to perform preview display and color measurement, specifies the region being matched with exposure. The maximum range of specifiable region is x + dx <= 120 y + dy <= 90 x,y starts at 0 Return value Int Argument void Function Capture the settable longest exposure time. In the case of this camera, 64 seconds Return value CV10Result See the CV10Result class Argument (in) long exposureTime Exposure time (usec) 0 : Auto exposure 1 to 64000000 : Manual exposure time Function Performs start of preview operation (connect from camera, and capture the image for display). If 0 is specified for the exposure time, automatically performs control of range specified in SetAutoExposureArea, to obtain suitable exposure. Return value void Argument void Settable longest exposure time (usec) StartPreview StopPreview Function GetPreviewImage Performs stop of preview operation CV10Buffer class pointer where image for display is performed. If capture has failed, 0 (null) Return value CV10Buffer* Argument void Function After StartPreview() is called, this function is used to capture the image for display 17 CV10CamControl class CV10Measure Result* Color measurement results class pointer Argument (in) long exposureTime Exposure time (usec) 0 : Auto exposure 1 to 64000000 : Manual exposure time Argument (in) focusLengthEnum focusLength Specifies the lens focus distance. Argument (in) Bool userCalib true: User calibration validity Function Performs color measurement operation. If 0 is specified for the exposure time, automatically performs control of range specified in SetAutoExposureArea, to obtain suitable exposure. Return value CV10UserCalibData* Argument void Function Captures the data for calibration data calculation, for performing each color calibration. Use the captured data in CreateUserCalibFile() Return value void Argument CV10UserCalibData* Function Releases data captured in GetUserCalibrationData() Return value CV10Result See the CV10Result class Argument (in) char* Full path + File name of saved file Argument (in) CV10UserCalibData* wData Data pointer captured in GetUserCalibrationData() (white) Argument (in) CV10UserCalibData* rData Data pointer captured in GetUserCalibrationData() (red) Argument (in) CV10UserCalibData* gData Data pointer captured in GetUserCalibrationData() (green) Argument (in) CV10UserCalibData* bData Data pointer captured in GetUserCalibrationData() (blue) Function Creates and saves the user calibration data Return value Measure GetUserCalibrationData ReleaseUserCalibration Data CreateUserCalibFile 18 Data for each color calibration Released CV10UserCalibData pointer CV10Buffer class member Model Description ImageData char* Pointer to buffer where preview image is stored Width int Image horizontal size Height int Image vertical size Channels int Image channel number Depth BIT_DEPTH Image bit depth CV10MeasureResult class Function GetWidth GetHeight GetExposureTime Get_x Content Model Description Return value int Horizontal size Argument void Function Captures the horizontal size of measurement results Return value int Argument void Function Captures the vertical size of measurement results Return value long Argument void Function Captures the exposure time during measurement Return value double Color measurement results (x) int h : Horizontal position (specifiable range is 0 to 119) v : Vertical position (specifiable range is 0 to 89) Argument (in) Vertical size Exposure time Function Return value Get_y Argument (in) Captures the color measurement results (x) double Color measurement results (y) int h : Horizontal position (specifiable range is 0 to 119) v : Vertical position (specifiable range is 0 to 89) Function Return value Get_z Argument (in) Captures the color measurement results (y) double Color measurement results (z) int h : Horizontal position (specifiable range is 0 to 119) v : Vertical position (specifiable range is 0 to 89) Function Captures the color measurement results (z) 19 Return value Get_X Argument (in) double Color measurement results (X) int h : Horizontal position (specifiable range is 0 to 119) v : Vertical position (specifiable range is 0 to 89) Function Return value Get_Y Argument (in) Captures the color measurement results (X) double Color measurement results (Y) int h : Horizontal position (specifiable range is 0 to 119) v : Vertical position (specifiable range is 0 to 89) Function Return value Get_Z Argument (in) Captures the color measurement results (Y) double Color measurement results (Z) int h : Horizontal position (specifiable range is 0 to 119) v : Vertical position (specifiable range is 0 to 89) Function Captures the color measurement results (Z) CV10Result class Function IsOK GetCode Content Model Description Return value bool True: OK Argument void Function Judges whether result is OK Return value Int Argument Void Function Captures the process results code Content Model Description Return value Return value CV10Result Argument (in) Double x Sets the x target value Argument (in) Double y Sets the y target value Argument (in) Double L Sets the L target value Function Sets the target value (x,y,L) to data for calibration calculation captured in the CV10CamControl class GetUserCalibrationData(). Results code CV10UserCalibData class Function SetTargetValue 20 (4) About the Sample Software In the sample project, SDK is used to realize the functions below. • Connection/disconnection with camera. • Display of preview image • Execution of measurement • Saving of measurement values • User calibration Please utilize for reference in development of the desired software. 9. Annex (1) About the Guarantees If there be a breakdown with this product, repairs shall be provided free of charge for the first one year after the purchase date. Please apply to your contact at Ricoh. In addition, a portion of inter-company freightage charges may be assumed, depending on the shipping method. Note that the above guarantee shall not apply to the following cases, even during the above guarantee period. (1) Breakdown arising from errors in use (error operation deviating from the User’s Manual, etc.) (2) Breakdown due to repairs, modifications, or complete disassembly and cleaning, performed at other than the repair handling location designated by the Company (3) Breakdown due to fire, natural disaster, learthquake, lightning strike, or abnormal voltage, etc. (4) Breakdown arising from water intrusion, dropping, mud, or sand, etc., due to errors in use (5) Breakdown due to lack of storage preparedness (listed in User’s Manual) or lack of preparedness in handling We must refrain from making guarantees for secondary damage arising from breakdowns of this product (various expenses required for records and replay, and loss of expected earnings due to records and replay, etc.). (2) For more information, visit: http://www.ricoh.com/fa_security/support/contact/ RICOH Industrial Solutions Inc. 3-2-3, Shin-Yokohama, Kohoku-ku, Yokohama-shi, Kanagawa 222-8530, Japan Phone +81-45-477-1551 Business hours: 9 a.m. to 12 p.m., 1 p.m. to 5 p.m. (Closed Sat., Sun., National Holidays, and Company Holidays) * The listed services and other details including scheduled business hours are subject to change at any moment without prior notice. We ask for your understanding and cooperation with regards to this matter. 3-2-3, Shin-Yokohama, Kohoku-ku, Yokohama-shi, Kanagawa 222-8530, Japan 2015 October 21