Find Jobs
Hire Freelancers

Assignment

$10-30 USD

Status
Publicerad över sju år sedan

$10-30 USD

Betalning vid leverans
Paint Simulato: For this project will implement the basic functionality of a simple image editor (eg Microsoft Paint, Pinta, etc.). Specifically, the program will read your keyboard commands a series of image processing. Finally, the program will display the resulting image. The image will be represented by a matrix of pixels, width * height size. A pixel is represented by 3 bytes (numbers with values between 0 and 255) The channels are saved for each pixel in order of RGB (Red, Green, Blue). On each line read from the keyboard will be composed of an operation code and corresponding parameters. Example: Initialization from an existing image: 1 2 3 0 0 255 0 255 0 255 0 0 128 0 128 255 255 255 0 0 0 // This call replaces the current image with a new image having three rows and two columns. The pixel (0, 0) has the value rgb (0, 0, 255), therefore it is blue. The pixel (0, 1) is set to rgb (0, 255, 0), therefore it is green, etc. // and after that when user input those number and enter it, it should continue for the operation like if the user input: CROP: 2 start_col start_line end_col end_line// Following the operation, the current image is overwritten with the image bounded by drepunghiul having the upper left corner coordinates (start_line, START_COL) and lower right corner coordinates (end_line, END_COL). and when i will enter that operation and then print 8 it should crop my picture which in initialize in first. and then it should wait for my anther command from user. Resize: 3 width height // Changes the current image size. If one dimension is larger, new lines and / or columns will be filled with white pixels. If the new dimensions are smaller, the call is equivalent to an instruction by crop type: stained region: 4 start_col start_line end_col end_line r g b //Following the operation, the pixels in the upper left corner rectangle with coordinates (start_line, START_COL) and lower right corner coordinates (end_line, END_COL) will be overwritten with the pixel values r, g, b. Blur: 5 num_iter //Blur involves replacing each pixel with its neighbors arithmetic mean (Left, Right, Down, Up). The calculation will be performed separately for each color channel, and the result will be truncated to an integer. For pixels that are on the edge of the image, taking into account only the items in the image. This operation is repeated num_iter times. Rotation: 6 num_rot // Following the operation, the image will be rotated num_rot 90 degrees in clockwise. Fill (bonus): 7 start_col start_line r g b // Following the operation, the pixel at position (start_line, START_COL) will be overwritten with the pixel value r, g, b. The operation will be repeated recursively for all its neighbors (left, right, up, down) that were the same color pixel original (start_line, START_COL). If it has all the original pixel color (r, g, b) operation produces no effect. print: 8 // Following the operation, you will show the height and width stdout current image or the image itself. The image will be displayed in the same format as in step initialization. Exit: 0 //If receives instruction exit, the program stops successfully. and for more detail i have post the instruction and you can talk to me about this as well thanks :)
Project ID: 12255109

Om projektet

5 anbud
Distansprojekt
Senaste aktivitet sju år sedan

Ute efter att tjäna lite pengar?

Fördelar med att lägga anbud hos Freelancer

Ange budget och tidsram
Få betalt för ditt arbete
Beskriv ditt förslag
Det är gratis att registrera sig och att lägga anbud på uppdrag
Tilldelad till:
Använd avatar
Hey i have read your assignment and can do it in your time and budget hope to see you in chat with more details my previous record is showin in my profile you can check
$30 USD Om 1 dag
5,0 (49 omdömen)
4,9
4,9
5 frilansar lägger i genomsnitt anbud på $131 USD för detta uppdrag
Använd avatar
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on server side, using c++ under linux environment. I used c++ to make many great projects, for example, I made the tools which can convert java files into c++ scripts, of course garbage collection included, this job is very similar to a compiler, and is very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$80 USD Om 1 dag
4,9 (141 omdömen)
4,4
4,4
Använd avatar
Hi there! The project seems to be very interesting. Please let me know what library can I use for this project, especially I am interested in using openCV. It makes thing much easier due to many functions are already implemented there. Waiting for your response. P.s. You have created the similar project previously with another amount. Please say me your budget Regards, Valentin
$444 USD Om 14 dagar
5,0 (28 omdömen)
0,0
0,0

Om kunden

Flagga för AFGHANISTAN
morroco, Afghanistan
4,9
6
Medlem sedan sep. 25, 2016

Kundverifikation

Tack! Vi har skickat en länk för aktivering av gratis kredit.
Något gick fel med ditt e-postmeddelande. Vänligen försök igen.
Registrerade Användare Totalt antal jobb publicerade
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Laddar förhandsgranskning
Tillstånd beviljat för geolokalisering.
Din inloggningssession har löpt ut och du har blivit utloggad. Logga in igen.