Detect IR filter switch

Post Reply
JeDi
Posts: 41
Joined: Thu Mar 10, 2011 3:59 am

Detect IR filter switch

Post by JeDi »

Hi,

I am using V120:SLIM cameras in a custom tracking setup, and want to query the available options of the cameras. Specifically, we have cameras with and without IR filter switch.

When I use the IsFilterSwitchAvailable method of the cameras though, the result is always true, also for the cameras without filter switch installed.

Is this a bug in the SDK, or does the method just indicate whether this type of camera is compatible with a filter switch? Right now, the only way to detect the presence of a filter switch is by listening to the click sound it makes when switched (or looking at the resulting camera image).

Greetings,
JeDi
steven.andrews
NaturalPoint Employee
NaturalPoint Employee
Posts: 737
Joined: Mon Jan 19, 2015 11:52 am

Re: Detect IR filter switch

Post by steven.andrews »

Hello JeDi,

The IsFilterSwitchAvailable operation is only supposed to report true if the filter switcher is present in the device.

Could you please provide us with the camera model and serial number so that we can investigate this?

Thanks,
Steven
--
Steven Andrews
OptiTrack | Customer Support Engineer
JeDi
Posts: 41
Joined: Thu Mar 10, 2011 3:59 am

Re: Detect IR filter switch

Post by JeDi »

Hi, thanks for the quick response. This is the dump I do with information about all attached cameras. In this case, the cameras with IDs 2 and 5 have a filter switched installed, and the others don't.

Code: Select all

Camera: V120:SLIM #205041
  ID: 6
  UID: 1
  Serial: 205041
  Model: 4
  Sub Model: 2
  Revision: 14
  Hardware Interface: 0
  Filter switch available: yes
  Filter switch enabled: yes
  Frame Rate: 100
  Actual Frame Rate: 120
  Frame Decimation: 0
  Grayscale Decimation: 0
  Precision Cap: 16000
  Shutter Delay: 0
  Exposure: 200
  Threshold: 200
  Intensity: 15
  Video Type: 101
  Data Rate: 0
  Packet Size: 0
  Grayscale support: yes

Camera: V120:SLIM #205045
  ID: 3
  UID: 2
  Serial: 205045
  Model: 4
  Sub Model: 2
  Revision: 14
  Hardware Interface: 0
  Filter switch available: yes
  Filter switch enabled: yes
  Frame Rate: 100
  Actual Frame Rate: 120
  Frame Decimation: 0
  Grayscale Decimation: 0
  Precision Cap: 16000
  Shutter Delay: 0
  Exposure: 200
  Threshold: 200
  Intensity: 15
  Video Type: 101
  Data Rate: 0
  Packet Size: 0
  Grayscale support: yes

Camera: V120:SLIM #205402
  ID: 5
  UID: 3
  Serial: 205402
  Model: 4
  Sub Model: 2
  Revision: 14
  Hardware Interface: 0
  Filter switch available: yes
  Filter switch enabled: yes
  Frame Rate: 100
  Actual Frame Rate: 120
  Frame Decimation: 0
  Grayscale Decimation: 0
  Precision Cap: 16000
  Shutter Delay: 0
  Exposure: 200
  Threshold: 200
  Intensity: 15
  Video Type: 101
  Data Rate: 0
  Packet Size: 0
  Grayscale support: yes

Camera: V120:SLIM #205043
  ID: 1
  UID: 4
  Serial: 205043
  Model: 4
  Sub Model: 2
  Revision: 14
  Hardware Interface: 0
  Filter switch available: yes
  Filter switch enabled: yes
  Frame Rate: 100
  Actual Frame Rate: 120
  Frame Decimation: 0
  Grayscale Decimation: 0
  Precision Cap: 16000
  Shutter Delay: 0
  Exposure: 200
  Threshold: 200
  Intensity: 15
  Video Type: 101
  Data Rate: 0
  Packet Size: 0
  Grayscale support: yes

Camera: V120:SLIM #205040
  ID: 4
  UID: 5
  Serial: 205040
  Model: 4
  Sub Model: 2
  Revision: 14
  Hardware Interface: 0
  Filter switch available: yes
  Filter switch enabled: yes
  Frame Rate: 100
  Actual Frame Rate: 120
  Frame Decimation: 0
  Grayscale Decimation: 0
  Precision Cap: 16000
  Shutter Delay: 0
  Exposure: 200
  Threshold: 200
  Intensity: 15
  Video Type: 101
  Data Rate: 0
  Packet Size: 0
  Grayscale support: yes

Camera: V120:SLIM #205404
  ID: 2
  UID: 6
  Serial: 205404
  Model: 4
  Sub Model: 2
  Revision: 14
  Hardware Interface: 0
  Filter switch available: yes
  Filter switch enabled: yes
  Frame Rate: 100
  Actual Frame Rate: 120
  Frame Decimation: 0
  Grayscale Decimation: 0
  Precision Cap: 16000
  Shutter Delay: 0
  Exposure: 200
  Threshold: 200
  Intensity: 15
  Video Type: 101
  Data Rate: 0
  Packet Size: 0
  Grayscale support: yes
steven.andrews
NaturalPoint Employee
NaturalPoint Employee
Posts: 737
Joined: Mon Jan 19, 2015 11:52 am

Re: Detect IR filter switch

Post by steven.andrews »

Hi JeDi,

When used with the V120:Slim, the Camera SDK will always return true for IsFilterSwitchAvailable. It will also attempt to control the filter switcher if you try to set IR or visible spectrum, even if the filter switcher is not physically installed. This is because the V120:SLIM is an a-la-carte camera, and once it leaves the factory there is no way to know how users will configure it.

I hope this information helps with your question, and that you continue to enjoy using your camera and the SDK. If we can do anything else for you, please feel free to reach out to us at help.naturalpoint.com

Cheers,
Steven
--
Steven Andrews
OptiTrack | Customer Support Engineer
Post Reply