Vector graphics are very common in the field of graphic design, and their characteristics allow them to be fully utilized in scenarios that require flexibility and clarity. In order to meet the need for vectorization of such grayscale graphs, this paper proposes a method based on contour tracing algorithm and describes it. Firstly, the pixels in different intervals of the image are binarized, then the edge contours are traversed to get multiple closed polygons, the corners that meet specific requirements are smoothed, and then the images in each interval are accumulated and merged to get the final vectorized graph. Finally, the object-oriented operation software is designed under the MFC framework by using VS, and at the same time, the improved method is used to vectorize the image with more details and textures to get the vector graph and compare it with the original graph, and the accuracy of the vectorized graph and the original graph is obtained by calculating the RMSE as a measurement index, which verifies the accuracy of the scheme. The article concludes with an analysis of the SVG file format, and the output of the vectorization results of this paper is saved to a file in SVG format.
With the rapid development of integrated circuits, the number of electronic components on PCBs has multiplied. The increase in the number of components has led to more factors affecting the stability of PCB, with temperature being one of them. Excessive temperature can lead to functional failure or burnout of electronic components. A hybrid algorithm based on particle swarm optimization and simulated annealing algorithm is proposed to optimize the thermal layout of PCB electronic components. The article analyzes the principle and algorithm improvement process of thermal layout optimization, provides specific optimization cases, and verifies the feasibility of this method through MATLAB simulation experiments.
Access to the requested content is limited to institutions that have purchased or subscribe to SPIE eBooks.
You are receiving this notice because your organization may not have SPIE eBooks access.*
*Shibboleth/Open Athens users─please
sign in
to access your institution's subscriptions.
To obtain this item, you may purchase the complete book in print or electronic format on
SPIE.org.
INSTITUTIONAL Select your institution to access the SPIE Digital Library.
PERSONAL Sign in with your SPIE account to access your personal subscriptions or to use specific features such as save to my library, sign up for alerts, save searches, etc.