Unlock instant, AI-driven research and patent intelligence for your innovation.

Automatic framing method of calligraphy and painting based on edge detection and image mosaic

An image stitching and edge detection technology, applied in the field of image processing, can solve problems such as hindering the sales of oil paintings

Active Publication Date: 2019-01-25
HUAQIAO UNIVERSITY
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This kind of manual action has become a pain point in the industry that hinders the sales of oil paintings in the case of large-scale oil painting sales

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Automatic framing method of calligraphy and painting based on edge detection and image mosaic
  • Automatic framing method of calligraphy and painting based on edge detection and image mosaic
  • Automatic framing method of calligraphy and painting based on edge detection and image mosaic

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] see figure 1 , an automatic painting and calligraphy frame matching method based on edge detection and image stitching, realized through software programming, specifically, based on the cross-platform computer vision library OpenCV, which can run on operating systems such as Linux, Windows and Mac OS. Including the following steps:

[0044] Step 1, read the input frame image and portrait image to be processed.

[0045] Specifically, use the modal dialog box to obtain the relative address of the incoming image. The image types that can be used include images in .jpg, .png and other formats, and store them in the data structure of IplImage as pImgSrc and pyuantu, respectively Indicates the loaded frame image and portrait image.

[0046] Step 2, using the canny algorithm to perform edge detection on the picture frame image to obtain an edge information image.

[0047] Specifically, the following steps are included:

[0048] (1) Use the cvCvtColor function to convert th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention proposes an automatic framing algorithm for calligraphy and painting based on edge detection and image splicing, which includes: reading the frame image and the portrait image through a modal dialog box; performing grayscale transformation on the frame image, and using the canny algorithm to adjust the edges of the image. Detection; calculate the size of the connected area and filter the peripheral contour of the frame image; trim the frame image according to the peripheral contour; extract the feature point parameters of the frame image according to the contour; perform frame image splicing by setting the area of ​​interest; perform image stitching by setting the area of ​​interest in the image The splicing of the frame image and the portrait image, and finally the preview image is output, and the output image is saved through the modal dialog box. The invention is easy to use, can recognize digital photos, and can be processed in batches. It solves to a certain extent the problem of low efficiency caused by using other image processing software to manually make picture frames.

Description

technical field [0001] The invention belongs to the field of image processing, and in particular relates to an automatic frame matching method for calligraphy and painting based on edge detection and image splicing. Background technique [0002] For calligraphy and painting sellers, it is necessary to configure multiple frames for a painting to meet the needs of different customers. Moreover, the picture frame image material obtained by the merchant is generally a triangular frame. In the traditional mode, merchants use image processing technology to complete the triangular frame into a four-cornered circular frame, and then stitch and match it with the oil painting. This kind of manual action has become a pain point in the industry that hinders the sales of oil paintings in the case of large-scale oil painting sales. Contents of the invention [0003] The purpose of the present invention is to overcome the deficiencies in the prior art, and propose a method for automati...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06T11/60G06T7/13G06T3/00G06T7/62G06T7/90G06T5/00
CPCG06T11/60G06T2210/12G06T2200/32G06T3/04G06T5/70
Inventor 王华珍郑沂刘海建
Owner HUAQIAO UNIVERSITY