Wednesday, 2 May 2012

Monitor Calibration with Argyll CMS

How to get to Windows Command Prompt

Method 1: Under Windows 7, go to START and type cmd into the search bar and hit Enter.

Method 2: In windows, navigate to the folder which you want to open a command prompt, hold down the SHIFT key, right click on the folder, select from the menu Open command window here and click on it to start a new instance of the command prompt. 
 

Preliminary Setup
.  Download latest version of Argyll CMS for Windows HERE.
.  Create folder cms in root directory of c: and unzip content of the downloaded file into this directory.
.  Install USB driver for the measuring device, refer to the following USB installation notes.

Installation of USB Driver
Your present measuring device may work with either basiCColor display 5 or i1Profiler, but it may not communicate with Argyll CMS. The Argyll USB drivers can be found in c:\cms\usblib1 if the above setup procedure is followed. To install Argyll CMS device driver, a Filter driver is needed and such driver can be downloaded from libusb-win32-releases. Click libusb-win32-info and microsoft filter drivers for related information and on how to install the corresponding driver for working with Argyll cms.

Here is the argyll command for testing of device connectivity:
dispcal –r    (testing calibrated monitor)
dispcal -R    (testing uncalibrated monitor)

Can Arygll CMS driver and Windows HID/Inbox driver co-exist?
Yes, with the Filter driver, both baiCColor display 5 and Argyll CMS can work with i1Display pro without the need for re-installing the usb driver when running the different profilers.
As for i1pro, to switch between x-rite and argyll driver, you must go to device manager to re-install the device driver.
a) run inf-wizard in libusb-win32 to switch driver for Eye-One to Argyll i1Pro driver.
b) run x-rite XRDManager version 2.3.1 or higher version to remove and then re-install the driver.

DOS Path
PATH c:\csm\bin
All Argyll 's executable files are located in c:\cms\bin.  For ease of access, setup a PATH in DOS to c:\cms\bin with the above command.

Working Directory
Use c:\cms as the working directory. All generated files will be contained in this folder.
Go to the working directory by entering the command cd c:\cms

Argyll CMS Command Interface

Step 1: Calibration
            dispcal -v -yn -m -qh -t6500 -G2.2 -b100 cal1 
  where
  -yn       set monitor type to LCD, -yn for i1Display Pro, -y1 for i1Pro
  -m       skip monitor control adjustment, typical for laptop PC
  -qh      set calibration quality to High (Low, Medium, High, Ultra high)
  -t6500 set daylight color temperature to 6500K, default to monitor native if this option is ignored.
  -G2.2  set target effective gamma to 2.2
  -b100  set target white brightness to 100 cd/m²
Notes:
a)   set  screen brightness to its maximum before executing the above command.
b)  video LUT will be initialised automatically before start of calibration.
c)  cal1.cal will be created upon successfully completion of this step.
d)  -K should not be specified for i1display pro or else command line becomes invalid.

Step 2: Creation of Test Patches (for icc profiling)
            Skip this step if test patches (.ti1) has been generated.
            targen -v -d3 -g31 -f200 patch200 
where
-d3      for video RGB colorants or monitor mode
-g31    include 31-step gray scale
-f200   define total of 200 test patches

Step 3: Creation of Chart Reading File .ti3
            dispread -v -yn -k cal1.cal patch200

The option -k cal1.cal  will direct the command to save the calibration data into the vcgt tag which is preferably, to be included in patch200.ti3. If this option is unspecified, vcgt tag would be ignored from the icc profile created with colprof and that the display will be read in whatever calibration state it is in. So, use dispwin cal1.cal to load calibration data manually into video LUT, if -k option is unspecified.

Step 4: Creation of icc Profile
            colprof -v -D"2012-05-01_argyll-as" -qh -as patch200
   where
   -D   profile internal name “2012-05-01_argy11-as”
   -qh  create profile of High quality (Low, Medium, High, Ultrahigh)
   -as   use sharper+matrix algorithm, for minimum dE color difference.

The above command will generate the icc profile based on the information in patch200.ti3.
Upon successfully completion of the profile creation, patch200.icm will be generated.

Configure Windows 7 Monitor Profile
In Windows, right click and install profile patch200.icm. The file will be copied to the system color profile directory. Now go to  Control Panel   >  Color Management and at the Devices menu, click on the Add... button, select patch200.icm and set it as the Selected Default Profile.

General Information
Recommended Settings for Monitor Calibration & Profiling
Whitepoint: 6500K
White level: 120cd/m² for working in an good brightness environment
                    100cd/m² for darker viewing condition
Black level:  use monitor native
Gamma:       2.2
Profile type: –as uses sharper+matrix algorithm, for minimum dE color difference.
                   -ag uses gamma+matrix algorithm, for smoother color rendering.

Commands for Testing Calibration file (.cal)
Clear video LUT: dispwin -c
Setup video LUTl: dispwin cal1.cal

Command for switching Background/Foreground Colors in DOS shell
COLOR 9F
This command changes Background to LIGHT BLUE and foreground to BRIGHT WHITE (Light Blue=9, Bright White=F). If no argument is specified, colors will be restored to DOS default.

Realated Argyll's Commands and theirs References
dispcal     http://www.argyllcms.com/doc/dispcal.html
targen      http://www.argyllcms.com/doc/targen.html
dispread  http://www.argyllcms.com/doc/dispread.html
colprof     http://www.argyllcms.com/doc/colprof.html
dispwin    http://www.argyllcms.com/doc/dispwin.html

2 comments:

  1. đồng tâm
    game mu
    cho thuê nhà trọ
    cho thuê phòng trọ
    nhac san cuc manh
    số điện thoại tư vấn pháp luật miễn phí
    văn phòng luật
    tổng đài tư vấn pháp luật
    dịch vụ thành lập công ty trọn gói
    nước cờ trên bàn thương lượng
    mbp
    erg
    nghịch lý
    chi square test
    nghệ thuật nói chuyện
    coase
    thuyết kỳ vọng
    chiến thắng con quỷ trong bạn
    cân bằng nash

    - Đi thôi, Quốc Đống, chẳng qua chỉ là ăn một bữa thôi mà, giữ vững thái độ là được. Cho người ta mặt mũi đi, đừng làm mất lòng nhau quá. Nghỉ ở đây cũng được, khách sạn Văn Hoa này cũng ổn.

    Triệu Quốc Đống cười khổ một tiếng. Trịnh Kiện là người trầm ổn nhất trong đám này, có thể ngồi ở vị trí giám đốc ngân hàng xây dựng An Đô thì tất nhiên có điểm thành công. Giống như y nói vậy, nắm chặt thái độ, cơm có thể ăn, cũng có thể cùng nhau đi chơi, nhưng liên quan tới vấn đề công việc thì khống chế mình là được.
    - Quốc Đống, Chủ tịch Tô rất hài lòng về bài viết mà chú và Lôi Hướng Đông viết. Chủ tịch rất vui vì sở ta có nhân tài. Lần này mời các tập đoàn quốc tế tới An Nguyên khảo sát mặc dù hơi đột ngột nhưng chủ tịch Tần cũng lên tiếng giúp chúng ta. Lãnh đạo sẽ không nói thêm gì nhưng về sau không được phạm sai lầm như vậy.

    - Ha ha, Thái ca, nếu đi theo con đường bình thường thì kéo đến bao giờ chứ? Em dám cược chúng ta dù đưa ra ý kiến thì một hai tháng cũng không có ý kiến. Nếu chờ đến khi báo lên Ủy ban kế hoạch phát triển quốc gia phê chuẩn, sau đó mới mời các tập đoàn đến khảo sát, em thấy sang năm đã là nhanh. Không bằng làm nhanh một chút, hơn nữa đây cũng không phải tiền trảm hậu tấu mà.

    - Chú quy củ một chút cho anh, theo trình tự là nhất định phải làm. Lúc này là trường hợp đặc biệt nên mới được làm như vậy. Nếu là chuyên j khác thì chú đã sớm bị cách chức, còn truy cứu trách nhiệm của chú.
    Thái Chánh Dương trầm giọng nói.

    - Em hiểu, lần sau sẽ không dám làm như vậy nữa.
    Triệu Quốc Đống thấy Thái Chánh Dương sa sầm mặt liền không cười nữa.
    - Chỉ là hiệu suất làm việc của các cơ quan trên tỉnh quá chậm, hơn nữa quan niệm cổ hủ. Em thấy Ủy ban kế hoạch phát triển không đồng ý với việc nhà đầu tư bên ngoài tiến vào đường cao tốc. Cũng may Phó chủ tịch Trương vừa phụ trách tài chính, vừa phụ trách Ủy ban kế hoạch phát triển nên trình tự mới nhanh một chút. Nếu không em không rõ Ủy ban kế hoạch phát triển quốc gia sẽ có ý kiến vào lúc nào.

    ReplyDelete
  2. I am thankful to this blog giving unique and helpful knowledge about this topic.
    Buy laptop monitor

    ReplyDelete