Write a program for adding, deleting, and modifying the city on an image
Source: Internet
Author: User
Write a program to add, delete, and modify a map of the city in jpg format, with the names of major cities on it, and write a program for adding, deleting, and modifying the city on the map! Write a program for adding, deleting, and modifying a city on a map image.
A jpg map with the names of major cities on it. you can write a program for adding, deleting, and modifying cities! Map Image City
------ Solution --------------------
First, there is an image (this image is a picture of no city)
Then, based on your actual situation, such as which city is needed
Write the coordinates of the response on the image
Output Image
------ Solution --------------------
Your response has been delayed for 24 hours, so I will respond to you after 240 hours at most.
1. neumeng ancient is a provincial area, not a city.
2. the algorithm is also very simple:
A) positioning
B) use the pixels on the left of the positioning point to replace the pixels on the positioning point.
D) positioning point = positioning point + 1
E) repeat B until the positioning point pixel = the pixel on the left of the initial positioning point
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service