ĐỊNH DẠNG HÌNH ẢNH

Camera của công ty chúng tôi là Camera hỗ trợ DirectShow.

Chỉ cần cài Driver vào máy tính là có thể hiển thị hình ảnh bằng phần mềm Viewer chạy trên Windows

(1) Đương nhiên hoạt động bằng phần mềm Viewer kèm theo camera

映像フォーマット

(2) Hoạt động ngay cả với ứng dụng gắn với máy ảnh khác.

映像フォーマット

Về cơ bản để xác nhận camera có hỗ trợ DirectShow hay không thì chạy bằng AMCAP là biết được ngay.
Đây là phần mềm Viewer được Microscope cung cấp miễn phí cho các kỹ sư ( nếu có thể chạy bằng AMCAP thì là camera hỗ trợ DirectShow).

映像フォーマット

(3) Dĩ nhiên là Camera của chúng tôi cũng hiển thị hình ảnh với AMCAP

映像フォーマット

Tuy nhiên với thiết lập của phần mềm ứng dụng thì cũng có khi không hiển thị được.
Trong trường hợp đó thì cần phải chỉnh sửa chương trình của ứng dụng ( Đặc biệt trường hợp phần mềm chuyên dụng thì cần lưu ý )

(4) Những ứng dụng sau có thể nhận camera của công ty chúng tôi nhưng hình ảnh không hiển thị.

映像フォーマット

Một trong những lý do lớn nhất là sai định dạng của hình ảnh.

Định dạng hình ảnh thì có rất nhiều loại
YUY2, RGB24, RAW8・・・ khi tạo một ứng dụng, để tương thích với nhiều loại camera, sản xuất làm sao để nó có thể tương ứng với định dạng hình ảnh đa dụng.
Phần mềm ở trên do không hỗ trợ RAW8 nên camera của chúng tôi không hiển thị được. (Định dạng hình ảnh của Camera USB dòng DN là RAW8)

Nếu là Camera tương thích DirectShow, vì thuật toán cơ bản không có vấn đề gì, nên chỉ cần điều chỉnh định dạng hình ảnh tương thích thì sẽ vận hành được nhiều hơn.

映像フォーマット

弊社のカメラは DirectShow対応のカメラです。

PCにドライバーさえ入っていれば、Windowsで動くViewソフトで映像を映すことが可能です。

(1)カメラに付属しているViewerソフトでは勿論動きます。

映像フォーマット

(2)別のカメラに付属しているアプリケーションでも動作します。

映像フォーマット

基本的にDirectShow対応カメラかどうかはAMCAPで動かすとわかります。
これはマイクロソフト社がエンジニア向けに無償で配布しているViewerソフトです。(AMCAPで動けば、DirectShow対応カメラです。)

映像フォーマット

(3)勿論、弊社カメラもAMCAPで映像が映ります。

映像フォーマット

但し、アプリケーションソフト側の設定で映らない場合があります。
その場合はアプリケーション側のプログラムを修正する必要があります。(特に専用ソフトの場合は注意が必要です。)

(4)下記のアプリケーションでは、弊社カメラを認識していますが映像はうつりません。

映像フォーマット

その理由の一番大きなものとして、映像フォーマットの違いです。

映像フォーマットには何種類かあります。
YUY2、RGB24、RAW8・・・ アプリケーションを作成する際、色々なカメラに対応するには、汎用的な映像フォーマットに対応できるように製作します。
上記のソフトウエアはRAW8に対応していないので弊社のカメラが映りません。(弊社USBカメラDNシリーズの映像フォーマットはRAW8です。)

DirectShow対応のカメラであれば、基本的なアルゴリズムは問題ないので映像フォーマットさえ対応できるように修正すれば、動作することが多いようです。

Image format

Our camera is DirectShow compatible camera.

By installing a driver to your PC, the images will be displayed with

 Viewer software that runs on windows.

 

(1) Of course, it works with Viewer software attached to the camera.

映像フォーマット

 (2) It works even with the application attached to another camera.

映像フォーマット

Basically, you can see if running with AMCAP whether DirectShow-compatible camera.

This is Viewer software distributed free by Microsoft for engineers. (If you can install with AMCAP, DirectShow compatible camera is suitable too)

映像フォーマット

(3) Our camera also shows the images with AMCAP.

映像フォーマット

However, it may not be reflected in the setting on the application software.

In that case, you need to modify the application program. (It is necessary to pay attention for dedicate software)

(4) You can recognize our camera through these application software. But, the image does not show.

映像フォーマット

The biggest reason is to make video format diffrences.

 

There are several types of video formats.

YUY 2, RGB 24, RAW 8 … When making applications in order to match with various cameras, we will produce it so that it can deal with general video formats.

Since the above software does not support to RAW 8, our camera does not show. (Our video format of the USB camera DN series is RAW 8.)

 

For DirectShow-compatible cameras, if you modify video formats clearly, it seems to work in many cases.