2013年3月29日 星期五

簡單分享安全監控攝影機的數位除霧 IC (穿霧)原理

安全監控的數位除霧,對岸稱為穿霧…
英文稱之 De-fog or De-mist
目前有一間日本廠商及台灣廠商的 ic 設計公司在做強力的推廣..
在數位相機的世界中,網路上有許多教學文,告訴大家如何除霧…

單張照片的除霧
先探討單張有霧的照片將他除去的過程..
↓下圖是一張有霧到照片
20100321151940.m2ts_20110329_204202
↓如果我們打開photoshop 等後製軟體,將他的色階展開,會產生如下的色階分佈圖
色階-1
發現 0~255的色階分佈中,最前面的部分及最後面的部分是沒有任何資訊成分….

↓所謂的整區域除霧(global de-fog) 就是將輸入的範圍把他放大..意思是說,忽略最前面及最後面的資訊
色階-1-1


↓此時顯示出來的圖形如下
我們將色階縮小至48~222 , 處理後之後,在均勻的將48~222分配到0~255..
色階-2

單張照片當然可以很容易的用色階圖的定義出”適當的色階範圍”…
當我們在定義”適當的色階範圍” 就是業界所謂的”拉 Gamma….
講機率學的術語..就是做了一個隨機變數的變數變換…



除霧容易暗階變的更暗
數位除霧有沒有副作用 (side effect)?
這是肯定有的!
↓我們來分析除霧前除霧後的照片..
紅色圈起來的地方本來看的到,但是除霧後就看不到 ,產生一片死黑..
除霧前後比較


↓ 有鑑於此,後續一些人將一張照片分成若干等分去做.在每一個小格子去做色階分析..
整張圖-3


但可想而知,在每個格子的交界處就會產生不連續的現象…
把一張圖片分成若干的格子去除霧,這種稱之為 Local De-fog…
演算法的好壞將會關係到看起來自然不自然 及會不會產生不必要的無謂資訊 (如光暈等)





態影片的除霧
剛剛介紹的是單張照片的除霧,
如果考慮到動態影片,則又需要考慮到時間軸前後的影片,處理會不會不連續..
所謂不連續可能產生出來的現象就是 影片會閃耀閃爍..
講學術一點的說詞就是..”磁滯現象”…

另外,如何動態的拉gamma (隨機變數的變數變換 transformation)...

這些都會關係到動態影片的除霧效果..

因此,靜態做的好,不見得動態會做的好...

2013年3月27日 星期三

HD-CCTV camera + FE185C057HA-1魚眼鏡頭 簡單實測

那天拿到 慧友的HD-CCTV camera (EQH5200)
很好奇的將富士的 FE185C057HA-1 的魚眼鏡頭做測試

果然夠氣勢....

我將A/V線連接攝影機到 SDI to HDMI 的轉接盒上,轉接盒的HDMI 輸出至電視..




直接對著 他的包裝盒子..

因為很臨時的測試,手上沒有 好一點的 BNC線

我就去對面的50元專賣店,買一條50元A/V 的線做測試..

可能是線材太爛,測試期間,畫面有時候會斷線,

但之後拿一條色差的線做測試,這個現象就沒有發生...

果然,HD-CCTV 跟他的線材的材質有絕大的關係...


實際對著LCD Panel 照相..



因為魚眼鏡頭的背焦比較短,
本來擔心無法對焦問題,但測試結果還蠻順利...

2013年3月23日 星期六

FEBON 100 CVBS (TV OUT) UVC Grabber card user manual




Standard UVC Webcam Like
No Driver for MAC OSX  / widnows series

Works on Embedded Android / Linux







Why FEBON 100 USB CVBS UVC grabber Card

Follow standard UVC (USB VIDEO CLASS). USB webcam like!
Driver free for MAC and windows 
 

If you plug in UVC grabber card into your MAC,  MAC will think it is a general usb webcam.

It will be driver free on X86 system 32bit or 64bit.
Driver free for  MAC OSX , windows xp, windows 7, windows 8, VISTA.
 

For embedded system Linux or Android,


If you can let usb webcam work, FEBON 100 UVC grabber card will also work.
 To save your time! and easy build in in your embedded system. 






Good Video Quality 
3D comb filter , 3D De-interlace, 3D Noise Reduction  







FEBON 100 UVC grabber card build in pure hardware base video process.

Without using your computing power, it will let your video quality be better than others. 


includes 3D de-interlace , 3D comb filter and 3D Noise reduction.


Before
After


NO 3D comb filter 

no-3d-comb  




3D comb filter 

3d-comb
NO 3D de-interlace 

no-de-interlace  
3D de-interlace 

de-inerlace


 



Driver Free for MAC OSX

How to use on MAC? (Build-in QuickTime Player)


STEP 1
Plug in FEBON 100 UVC grabber

step-1




STEP 2
OPEN QuickTime player

step-2
STEP 3
choose the  "file" and then " new video record

step-3
STEP 4:

To click “▼” 



 step-4


STEP 5:

To choose “ usb camera”

and unknown audio

step5
STEP 6:





step-6

Woks on another professional Video AP software of MAC OSX

General speaking, if the software in MAC can get the video from external webcam,driver free uvc grabber also can work on it.

So far, just only one software iMovie can not work.
The most software on MAC for example,  QuickTime player, QuickTime player pro, FaceTime, PhotoBooth, SKYPE, YoTube , professional VJ (visual Jockey)  modul8,AVENUE, istopMotion,
ustream, Final cut pro x ( fcp x) , final cut pro x tutorial


The more demo are as the link as below
  







Driver Free for Windows.

FEBON 100 follow UVC. The level is  higher than directshow.

It works on  windows AP that follow NOT only directshow but also  usb webcm only .

If your software can let general usb webcam works ( for example, logitech C525 C310), FEBON 100 UVC grabber card will also work.


windows SKYPE, windows amcap, windows KMPlayer,  windows Youtube, Arcsoft webcam compression, windows VLC,









3~4 pics grabber card work on MAC /Windows at the same time 




Windows just can accept one video grabber card at the same time.

FEBON 100 have a special firmware design.

windows can accept more than one FEBON 100 UVC grabber card and at least 3 pics.


Not only windows But also MACbook and MACbook pro.




Directly plug in  Linux or Android







Android module platform



You must build in Linux UVC driver into Android OS.

It is NOT very easy. you must own the SDK of main android SOC chip!!
FEBON 100 UVC usb capture (grabber) card will be as an "UVC Bulk or ISO webcam"
If you can let general usb uvc webcam work (for example,Logitech c310 c525), FEBON 100 UVC grabber card will also work.

The demo is as below "Play from UVC Bulk Camera to Android UVC Player"



Android tablet



You must build in Linux UVC driver into Android OS.

It is NOT very easy. you must own the SDK of main android SOC chip!!
FEBON 100 UVC usb capture (grabber) card will be as an "UVC Bulk or ISO webcam"
If you can let general usb uvc webcam work (for example,Logitech c310 c525), FEBON 100 UVC grabber card will also work.






Raspberry Pi
FEBON 100 UVC grabber card + Raspberry Pi + usb wifi dongle= video server

On Raspberry pi, CVBS signal is captured by FEBON100  UVC grabber card and then transmitted video stream.

AUSUS NEXUS 7 capture the video stream by Wireless connecting.












backupcam
FEBON 100 UVC Grabber card + FEBON 220 UVC WIFI AP router

= Combo Wi-Fi   wireless video server with AP router

FEBON 220 UVC WIFI AP router  can connect with FEBON 100 UVC grabber.
it can broadcast the video stream to iPad / android
It also own AP router mode, user just connect SSID of “FEBON 220”.
It is vey easy to setup.



ASUS Google NEXUS 7

UVC Grabber card works on NEXUS 7

Before use, Please do the root and  follow two step
step 1:
http://forum.xda-developers.com/showthread.php?t=2100452
step 2:
http://forum.xda-developers.com/showpost.php?p=22884164&postcount=3













Mac専用の 必要はないドライバ(Driver free ) USBビデオキャプチャユニット



FAQ

 If UVC grabber card can NOT work, How to solve? 

 How to change F/W? 

2013年3月22日 星期五

febon220-chinese test









如何使用無線分享器???

STEP 1: 將USB 插入無線分享器









1.FEBON 220 Wireless station




febon220
 






+
2. USB Camera

  2.1 USB Document camera 

           ipevo

  

 







= Wireless Document camera






STEP 2: 選擇你要的觀看平台







3. Tablet / PC 4. Software / APP
   3.1 iPad /iPhone

         ipad


  +
4.1 iPad:
     FEBON CAM 
     1024by1024

    3.2 iPhone

    iphone


  +
4.2 iPhone:
      Camview 
 (付費軟體 30元台幣)
       camview


3.3 Android 

android




       +

4.3 Android :
 IP camera viewer lite
    ipcamera


   3.4 PC 

    

      macair




  +

4.4 PC : 
      SAFARI browser
       safari































iPad  使用更方便!!(iPad+ APP "FEBON CAM")



STEP 1:

 插入usb 攝影機



         febon220-step1
STEP 2:

將電源插入



      febon22-step2
StTEP 3:

To connect SSID “ Wireless 11n AP”



      FEBON22-STEP3


STEP 5:

打開 APP “ FEBON CAM

(For example: use in iPad)



febon220-step4


STEP 6:

  去連線 ip   10.10.1.1 

         default port 8196


febon220-step5


STEP 7:

VIEW and capture





febon220-step6





額外特殊的連線方式 (如需幫您設定以下兩種,酌收服務費)



internet-1
如果你需要同時觀兩台以上usb 攝影機,那麼可以參考左邊的設定

我們的無線分享器有自動連線功能。
這麼多台無線分享器中,一台調成 "router mode",剩下的調成"client mode" ,這樣他們自動會串起來。

您的平板電腦 只要連線 設成 router mode 的那一台,
就可以同時觀看


 inernet-4





I

如果你的環境已經有自己的路由器,

可以設定無線分享器去連線您的路由器,

如果您的路由器本身可以上網,那麼就可以邊看畫面邊上網


只要將無線分器調整成 client mode,經過設定即可











FEBON220 English user Manual







febon220-document
febon220-microscope





How Does FEBON 220 WI-FI Wireless station  work?

STEP 1: To choose your application









1.FEBON 220 Wireless station



febon220
 













  +
2. USB Camera

  2.1 USB Document camera 

           ipevo

  

  2.2 USB FEBON Microscope

           knig_usb_microscope



  2.3 USB FEBON webcam

        webcam

 

2.4  FEBON100 UVC Grabber card



uvc-grabber





= Wireless Document camera










= Wireless Microscope










=  Baby Moniotr












= Wireless video Server


STEP 2: How to Watch?








3. Tablet / PC 4. Software / APP
   3.1 iPad /iPhone

         ipad


  +
4.1 iPad: (Free)
     FEBON CAM 
     1024by1024
    3.2 iPhone

    iphone


  +
4.2 iPhone:(US$1)
      Camview 
       camview

3.3 Android 

android




       +
4.3 Android : (Free)
 IP camera viewer basic
    ipcamera



   3.4 PC 

    

      macair




  +
 4.4 PC : (Free)
      webcamxp
    





























                    3.5iPhone              

+ 4.5 iPhone:(Free)

Netcamviewer




Simple Steps! (iPad+ APP "FEBON CAM")





STEP 1:

plug in usb camera and switch to   router mode



         febon220-step1
STEP 2:

Turn on the DC 5V min usb power adapter.



      febon22-step2
StTEP 3:

To connect SSID “ Wireless 11n AP”



      FEBON22-STEP3


STEP 5:

open APP “ FEBON CAM”

(For example: use in iPad)



febon220-step4


STEP 6:

  connect!

  The default ip is 10.10.1.1 

         default port 8196

febon220-step5


STEP 7:

VIEW and capture





febon220-step6





Advanced application setup


internet-1

If there are more one document camera or microscope in this environment and need to watch them at the same time.



FEBON 220 have auto link mode.  FEBON 220 –big brother is as “router mode”. others FEBON 220 switch to “client mode”. “Client mode” is as “little guy” and will under big brother.

You just connect with FEBON 220 big brother and then you also can see  "little guy 1" and "little guy 2"


 inernet-4





If you want to go to internet and watch the document camera or microscope at the same time, FEBON 220 can be as “client mode”.



At Client mode, FEBON 220 will connect with your Router that can go to internet.  your tablet just connect with your present router .








Video Demo

Wireless WIFI Document camera




 










USB camera:

IPEVO Ziggi-HD High-Definition USB Document Camera


display: iPad mini


OS: iOS6


APP: FEBON CAM (FREE)





Wireless WIFI Document camera
 



ipevo
USB camera: IPEVO p2v document cam

display: iPad mini

OS: iOS6

APP: FEBON CAM (FREE)




Wireless WIFI Microscope

microscope USB camera: USB FEBON Microscope

display: iPad mini

OS: iOS6

APP: FEBON CAM (FREE)



Wireless WIFI IP camera


  webcam
USB camera: USB FEBON webcam

display: iPad mini

OS: iOS6

APP: FEBON CAM (FREE)


Wireless WIFI Document camera
 

   dc120
USB camera: Lumens DC 120

display: iPad2 , MAC OSX, PC

OS: iOS4, MAC OSX,  windows 8



APP/software: 

1. SAFARI ( iPad can use on iOS4 iOS5)

2. FIRFOX (MAC OSX)

3. Chrome (window 8)



Wireless WIFI Video server




  uvc-grabber

USB camera: FEBON100 uvc graber card 

display: iPad mini
OS: iOS6

APP:
FEBON CAM (FREE) for video
Oplayer (Free) for audio


4CH HDMI VIDEO SERVER






End User Fedback


Many teachers in Taiwan  use FEBON220 wireless station.

The link as below is user's blog link






Q & A

 1. If I has had usb camera, could it work on FEBON220 Wi-Fi wireless station?

  2. How to upgrade the f/w firmware of FEBON 220 / FEBON230

  3. How to change USB camera resolution in FEBON220 Wi-Fi wireless station?

  4. Reset to default 

  5.Parameter setting of FEBON220 Wi-Fi Wireless station
 
  6.TTL (4pin TX RX GND 3.3V) to ethernet ( RJ45 or WIFI Wireless ) FEBON 220 router 

  7.FEBON 230 setting



如何正確測試出視訊擷取卡的視訊延遲

 如何正確測試出視訊擷取卡的延遲? 有些廠商採用SWITCH的HDMI輸出連接分配器一路接電視, 一路接筆記電腦....然後, 算出 電視和筆電的差異的秒數  這樣的計算方式會有問題..... 如果測試的電視本身高延遲, 那麼測試出來的秒數差異就會變低, 會有低延遲的假象 就...