Re: framerate per second
Hi go.beavs,
For measuring the frame rate you need to find the VSYNC frequency, in order to find that you can just make a VSYNC counter signal, which means just assign '1' and '0' alternately to a signal for each VSYNC came. and just assign that signal as an output port and measure the frequency of that signal using a CRO, so you will get the frequency, the n the frame rate will be double of the measured value in the CRO...
for example
the code will be like this.
vsync_freq : out std_logic;
signal vsync_cnt : std_logic := '0';
process(vsync, reset)
begin
if (reset = hi) then
vsync_cnt <= '0';
elsif (rising_edge(vsync)) then
vsync_cnt = not(vsync_cnt);
end if;
end process;
vsync_freq <= vsync_cnt;
Also can you say which algorithm you are using for calculating the depth map of an image....
Because i am also looking for calculating the depth map of an image in order to convert the 2d image/video into 3d image/video