Image processing method and apparatus, electronic device, and storage medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsMeng Lv, Zehao Xu
Life of this patent
Estimating the term…
Abstract
An image processing method and apparatus, an electronic device, and a storage medium for obtaining a remaining mileage parameter of a vehicle; obtaining a start position of the vehicle on a map display interface; determining a target travel range on the map display interface according to the start position and the remaining mileage parameter; and displaying the target travel range on the map display interface.
Claims20
An image processing method, performed by an electronic device, the method comprising:
- starting an application program on the electronic device, and playing a startup animation on a display screen coupled to the electronic device;
- at the same time of playing the startup animation, determining a target travel range, comprising:
- receiving a remaining mileage parameter of a vehicle coupled to the electronic device;
- obtaining a start position of the vehicle on a map display interface;
- determining an original travel range on the map display interface according to the start position and the remaining mileage parameter;
- dividing the original travel range into at least one unit original travel range, and respectively determining candidate points in each unit original travel range, wherein a distance between neighboring points of the candidate points on an inner concentric circle in the original travel range is less than a distance between neighboring points of the candidate points on an outer concentric circle in the original travel range;
- identifying and removing, from the candidate points, a candidate point within a unit original travel sub-range located in the inner concentric circle of the original travel range, to obtain original candidate points, to make a distance between the neighboring points of the original candidate points on the inner concentric circle being approximately equal to a distance between the neighboring points of the original candidate points on the outer concentric circle;
- and
- determining the target travel range on the map display interface according to the original candidate points, the start position and the remaining mileage parameter;
- and
- stopping displaying the startup animation, and displaying, on the display screen, the map display interface that comprises the target travel range.
An image processing apparatus, comprising a processor and a memory,
- the processor being connected to the memory, the memory being configured to store a computer program, and the processor being configured to invoke the computer program to:
- starting an application program on the image processing apparatus, and playing a startup animation on a display screen coupled to the image processing apparatus;
- at the same time of playing the startup animation, determine a target travel range, comprising:
- receiving a remaining mileage parameter of a vehicle coupled to the image processing apparatus;
- obtaining a start position of the vehicle on a map display interface;
- determining an original travel range on the map display interface according to the start position and the remaining mileage parameter;
- dividing the original travel range into at least one unit original travel range, and respectively determining candidate points in each unit original travel range, wherein a distance between neighboring points of the candidate points on an inner concentric circle in the original travel range is less than a distance between neighboring points of the candidate points on an outer concentric circle in the original travel range;
- identifying and removing, from the candidate points, a candidate point within a unit original travel sub-range located in the inner concentric circle of the original travel range, to obtain original candidate points, to make a distance between the neighboring points of the original candidate points on the inner concentric circle being approximately equal to a distance between the neighboring points of the original candidate points on the outer concentric circle;
- and
- determining the target travel range on the map display interface according to the original candidate points, the start position and the remaining mileage parameter;
- and
- stop displaying the startup animation, and display, on the display screen, the map display interface that comprises the target travel range.
A non-transitory computer storage medium, storing a computer program, the computer program comprising program instructions, the program instructions, when executed by a processor, causing the processor of an electronic device to perform:
- starting an application program on the electronic device, and playing a startup animation on a display screen coupled to the electronic device;
- at the same time of playing the startup animation, determining a target travel range, comprising:
- receiving a remaining mileage parameter of a vehicle coupled to the electronic device;
- obtaining a start position of the vehicle on a map display interface;
- determining an original travel range on the map display interface according to the start position and the remaining mileage parameter;
- dividing the original travel range into at least one unit original travel range, and respectively determining candidate points in each unit original travel range, wherein a distance between neighboring points of the candidate points on an inner concentric circle in the original travel range is less than a distance between neighboring points of the candidate points on an outer concentric circle in the original travel range;
- identifying and removing, from the candidate points, a candidate point within a unit original travel sub-range located in the inner concentric circle of the original travel range, to obtain original candidate points, to make a distance between the neighboring points of the original candidate points on the inner concentric circle being approximately equal to a distance between the neighboring points of the original candidate points on the outer concentric circle;
- and
- determining the target travel range on the map display interface according to the original candidate points, the start position and the remaining mileage parameter;
- and
- stopping displaying the startup animation, and displaying, on the display screen, the map display interface that comprises the target travel range.
Dependencies are inferred from the claim text.