final-falah-micro2

final-falah-micro2 - Falah Talea Final Project ECE 3552...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Falah Talea Final Project – ECE 3552 Microcomputer Systems 2 Dr. Këpuska – Spring 2009 Problem Statement: The goal of this project to apply many filters to an image and the main points of it 1-To create and apply filters on image. 2- When we push one of the buttons on the board it will apply one of the filters. Detailed explanation of selected solution and its implementation and results: EX_INTERRUPT_HANDLER(FlagA_ISR) { if(*pFIO_FLAG_C == 0x0100) { medianFilter((unsigned char *)&imgInput, 128, 128, (unsigned char *)&imgOutput); } if(*pFIO_FLAG_C == 0x0200) { performSobel((unsigned char *)&imgInput, 128, 128, (unsigned char *)&imgSobelOutput); } if(*pFIO_FLAG_C == 0x0400){ performNegative((unsigned char *)&imgInput, 128, 128, (unsigned char *)&imgNewOutput); } if(*pFIO_FLAG_C == 0x0800){ performSobel((unsigned char *)&imgOutput, 128, 128, (unsigned char *)&imgSobelOutput); int i; for(i = 0; i < 16384; i++) { imgOutput[i] = imgSobelOutput[i];}
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
} // confirm interrupt handling FIO_ANOM_0311_FLAG_W(0x0F00,pFIO_FLAG_C);//*pFIO_FLAG_C = 0x0100, workaround for anomaly 05000311. // toggle direction of moving light sLight_Move_Direction = ~sLight_Move_Direction; } void medianFilter(unsigned char *imgIn, int width, int height, unsigned char *imgOut)
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/10/2012 for the course ECE 3552 taught by Professor Staff during the Fall '10 term at FIT.

Page1 / 7

final-falah-micro2 - Falah Talea Final Project ECE 3552...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online