In general, the required bandwidth for a camera interface depends on the number of cameras used, captured images per second, the resolution and the data format, this all can be summarized in the following formula:
Data Rate_{ }= Resolution * Frame rate * number of bytes per pixel
However, as the D400e camera series uses more than one type of data formats (depth, rgb and infrared), the total required bandwidth is the sum of all data rates for each stream, therefore the final calculation can proceed as follows:
Data Rate_{total }= Data Rate_{depth }+ Data Rate_{infrared1 }+ Data Rate_{infrared2 }+ Data Rate_{rgb}
It’s important to have in mind that the theoretical maximum throughput on a Gigabit Ethernet link is 125MB/s. Also notice the formula above does not include the overhead in the link, which also impacts in the link’s Bandwith.
To know how many bytes per pixel does have every data format, please follow the table below:
Stream Type | BPP (Bytes/pixel) |
Depth | 2 |
Infrared1 | 1 |
Infrared2 | 1 |
RBG | 2 |
Example 1:
Calculation for the following configuration for 1 camera:
- Depth 640x480@30fps with both infrared streams enabled
- RGB 640x480@30fps
Data Rate_{total }= (2*640*480*30)_{depth }+ (1*640*480*30)_{infrared1 }+ (1*640*480*30)_{infrared2 }+ (2*640*480*30)_{rgb}
Data Rate_{total = }55296000 Bytes/s >> 55.30MB/s
Example 2:
Calculation for the following configuration for 1 camera:
- Depth 848x480@30fps with infrared streams disabled
- RGB 1280x720@30fps
Data Rate_{total }= (2*848*480*30)_{depth }+ (2*1280*720*30)_{rgb}
Data Rate_{total = }79718400 Bytes/s >> 79.72MB/s
The excel file attached contains a calculator preconfigured. Please use it to calculate quick and easy the data rate to know the required bandwidth.