microsoft / HoloLensForCV

Sample code and documentation for using the Microsoft HoloLens for Computer Vision research
MIT License
472 stars 156 forks source link

TransformVlcBitmap: Why we need to convert the bitmap from 160x480 to 240x320 #81

Open TooSchoolForCool opened 5 years ago

TooSchoolForCool commented 5 years ago

In the file FrameRenderer.cpp. What is the function TransformVlcBitmap() going to do?

I believe the image stream from the VisibleLight cameras is 160x480.

However it the function TransformVlcBitmap() it tries to store such 160x480 bitmap into a 240x320.

Why we need to do this?

yogihamdani commented 5 years ago

My guess from several raw pictures that I took, is that in 160x480 the image is stretched. Meanwhile with 240x320, the image is at its correct scale. Though, I am not completely sure about this. I am also looking for a proper specification and details regarding the environment understanding sensor camera.

TooSchoolForCool commented 5 years ago

Right. Literally, there are not many official documentations for HoloLens research mode...