Altera_Forum
Honored Contributor
13 years agoGet image from frame
I am working on a project and need to process image frames acquainted before it goes to display. From the VIP Camera example, I found this:
display = alt_video_display_only_frame_init(// ALT_VIDEO_DISPLAY_SGDMA_NAME, // char* sgdma_name FRAME_BUF_W, // int width FRAME_BUF_H, // int height ALT_VIDEO_DISPLAY_COLOR_DEPTH, // int color_depth SDRAM_BASE + 0x00800000, // int buffer_location 1 ); // int num_buffers I wish to process the image obtained in 3D arrays(R,G,B ) but I have difficulty extracting the values from "display" and also how to put back the processed image into "display". Can someone help to guide me? I am quite new in NIOS II, is there any documentation or guide on this alt_video_display library? Thank You