I have a stationary mono camera which captures a single image frame at some fps. Assume the camera is not allowed to move,how do i generate a stereo image pair of the acquired frame? Is there any algorithms exists for this? If so, do they available in Open-CV?
You can't. You have video of the scene from a single vantage point. Without depth information, you can't infer what the scene would look like from another vantage point.
The terms you probably want to google for are "inferring depth maps". Just like your brain tricks you into seeing 3d if you close one of your eyes, you can heuristically recover depth maps from single 2d images. See for example
- Make3D: Depth Perception from a Single Still Image
- Inferring Depth from Single Images in Natural Scenes
- Perceiving 3D from 2D images
Once you have a depth map you can compute a second camera's viewpoint if you also make some (rather bold) assumptions about textures in parts of the image your source camera can't see.
You might be able to do some creative hackery by having different color light sources from different directions, and then do some intense processing (don't ask me how) to figure out the shapes of things based on how much of which light color there is and then change perspective of the 2nd frame.
Or make a lens or mirror to attach to it that will give you 2 perspectives in each frame.
If you can capture an image, shift the scene sideways while keeping the camera stationary, then capture another image, that would produce similar results to having two cameras or having the camera move.