Forum Discussion
5 Replies
- Altera_Forum
Honored Contributor
The Nios 2 processor is not at all suitable for image processing. It is far too slow. A 10 year old PC would probably do it faster. However, you could use a Nios to control some FPGA code that did your image processing algorithm.
- Altera_Forum
Honored Contributor
Yes I know That. I am doing thesis on approximate computing on image processing. Is it possible to do simple edge detection in nios2 like what we do in matlab ??
- Altera_Forum
Honored Contributor
I think anything image processing related that you might find oriented toward NIOS will be limited to control tasks of hardware pipelines.
There isn't anything unique or interesting just running vanilla C image processing software on NIOS. As GCC is the compiler, porting your algorithm shouldn't be difficult. If you have a specific question or run into a problem, probably search the forum first or post a follow up thread. - Altera_Forum
Honored Contributor
--- Quote Start --- I think anything image processing related that you might find oriented toward NIOS will be limited to control tasks of hardware pipelines. There isn't anything unique or interesting just running vanilla C image processing software on NIOS. As GCC is the compiler, porting your algorithm shouldn't be difficult. If you have a specific question or run into a problem, probably search the forum first or post a follow up thread. --- Quote End --- Actually I have created qsys system and run hello world program on nios2. Now i want to read image in that helloworld.c file and apply some image processing algorithms on it so can you guide me how to read image in c file - Altera_Forum
Honored Contributor
--- Quote Start --- Actually I have created qsys system and run hello world program on nios2. Now i want to read image in that helloworld.c file and apply some image processing algorithms on it so can you guide me how to read image in c file --- Quote End --- Look into the Altera HAL Host-based File System. Indirectly via the JTAG connection, you will be able to use <stdio.h> fopen() and fread() just like on a PC.