Research Topics in Computer Science - City University of ...
Research Topics in Computer Science
Information Retrieval – making search engines more accurate, faster
High Performance Computing – parallel processing
Game Programming – memory management on the iPhone
Image Processing – segmenting Brain MRI’s – finding lesions
Example – Image Processing
Different file formats
Jpeg; Tiff; BMP
Colors –
Binary – 1 bit per pixel
Grayscale – 8 bits per pixel – 256 colors
Color – 2 bytes per pixel
BMP – header portion followed by actual bytes of image
Can be processed as a two-dimensional array
Algorithm (in general)
Read header information to get number of rows, number of columns
Loop for each row
Loop for each column
Read each image byte
Process each image byte
Write new image byte
File format for a BMP file:
| |In general |For our case |
|Fixed header: |54 bytes |54 |
|Variable part: |4* numberOfColors |4*256 |
|Variable part: Image bytes: |rows*columns |128*128 |
Dynamic Allocation of Arrays
This program will dynamically allocate the image array since we do not know the size of the image until its file is opened and the numbers of rows and cols are read.
Example:
char array2Dstatic [3][5]; //size is known
//if size is not known, allocate dynamically:
int rows,cols;
//size is unknown
int ** array2D; //dynamic array
cin >> rows >> cols; // at run time get the size
array2D = new int * [rows]; //allocate the rows
// for each row, allocate the columns
for (int r =0; r ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- frontiers of health informatics research an innovative
- csuci computer science b
- cs 2001 research topics in computer science
- msc in computer science dissertation titles
- research proposal computer science m
- cover letter the university of tennessee at chattanooga
- research topics in computer science city university of
- writing a literature review
- curriculum vitae ucr computer science and engineering
Related searches
- sample research topics in education
- qualitative research topics in education
- project topics in computer science
- argumentative research topics in healthc
- research topics in global health
- new topics in computer science
- project topics for computer science students
- topics in computer science
- research topics for computer science
- controversial topics in computer science
- undergraduate topics in computer science
- hot topics in computer science