*OpenCV/Method to control of pixel value drawing in Qt Window [#i2801b9a] #multilang(ja){{ **概要 OpenCV 2.3.1(Qt有効版)で画像を表示した場合,デフォルトでは一定倍率以上拡大すると&br; 常に画素値が表示されます.本パッチはこの画素値表示機能の動的な切り替えを可能とします. &br;&br;&br;&ref(http://atinfinity.info/img/opencv/control_of_pixel_value_drawing.png);&br;&br;&br; **ダウンロード |Version|Filename|Size|Date|Type|Download| |BGCOLOR(white):1.0|BGCOLOR(white):opencv_qt_window_extension_v1.zip|BGCOLOR(white):37.3 KB|BGCOLOR(white):20111008|BGCOLOR(white):zip|BGCOLOR(white):[[http://www.atinfinity.info/img/download.gif:http://www.atinfinity.info/opencv/extension/opencv_qt_window_extension_v1.zip]]| **変更履歴 [#r0623499] |Version|Date|変更内容| |BGCOLOR(white):1.0|BGCOLOR(white):20111008|BGCOLOR(white):新規作成| **使い方 [#y37f5a4f] +上記リンクからopencv_qt_window_extension_v1.zipをダウンロードして展開します. +展開したhighguiディレクトリを下記ディレクトリに上書きして下さい. OpenCV-2.3.1\modules\highgui +CMakeで''WITH_QT''を有効にしてビルドしてください. **追加されるウィンドウプロパティと値[#ue3d7222] cv::setWindowProperty関数, cv::getWindowProperty関数で用いることができる&br; ウィンドウプロパティ,値として下記のものが追加されます. ***ウィンドウプロパティ [#z2cb2b02] |prop_id|BGCOLOR(white):CV_WND_PROP_DRAW_PIXEL_VAL| ***値 [#c8fa6050] |prop_value|BGCOLOR(white):CV_WINDOW_ENABLE_DRAW_PIXEL_VAL| ||BGCOLOR(white):CV_WINDOW_DISABLE_DRAW_PIXEL_VAL| **サンプルプログラム [#ked487d1] #code(c,nooutline,nonumber,http://www.atinfinity.info/opencv/sample/control_of_pixel_value_drawing.cpp) **Contact [#aa312bf4] 間違い・御指摘等ありましたら,&br;&br; &ref(http://atinfinity.info/img/mail.png); &br;&br;までメールにてご連絡ください. }} #multilang(en){{ **Abstract On the OpenCV 2.3.1(WITH_QT), if user zoom than above a certain value, the pixel value is always displayed.&br;This page describes the method to switch enable/disable drawing pixel value on OpenCV 2.3.1. On the OpenCV 2.3.1(WITH_QT), if you zoom in than certain value, the pixel value is always displayed.&br;This page describes the method to switch enable/disable drawing pixel value on OpenCV 2.3.1. &br;&br;&br;&ref(http://atinfinity.info/img/opencv/control_of_pixel_value_drawing.png);&br;&br;&br; **Download |Version|Filename|Size|Date|Type|Download| |BGCOLOR(white):1.0|BGCOLOR(white):opencv_qt_window_extension_v1.zip|BGCOLOR(white):37.3 KB|BGCOLOR(white):20111008|BGCOLOR(white):zip|BGCOLOR(white):[[http://www.atinfinity.info/img/download.gif:http://www.atinfinity.info/opencv/extension/opencv_qt_window_extension_v1.zip]]| **ChangeLog |Version|Date|Changes| |BGCOLOR(white):1.0|BGCOLOR(white):20111008|BGCOLOR(white):First Release| **Usage +Please download opencv_qt_window_extension_v1.zip. And, extract this file. +Please overwrite extracted highgui directory to the following directory OpenCV-2.3.1\modules\highgui +Please enable "WITH_QT" on CMake, and build OpenCV. **Added window property and values If you apply this patch, you can use the following window property and values &br;as arguments of cv::setWindowProperty and cv::getWindowProperty. ***Window property |prop_id|BGCOLOR(white):CV_WND_PROP_DRAW_PIXEL_VAL| ***Values |prop_value|BGCOLOR(white):CV_WINDOW_ENABLE_DRAW_PIXEL_VAL| ||BGCOLOR(white):CV_WINDOW_DISABLE_DRAW_PIXEL_VAL| **Sample program #code(c,nooutline,nonumber,http://www.atinfinity.info/opencv/sample/control_of_pixel_value_drawing.cpp) **Contact If you have question,please send e-mail to the following address.&br;&br; &ref(http://atinfinity.info/img/mail.png); }}