The invention provides a business platform display pictures of big data product contour drawing method, which comprises the following steps: (1) to obtain pictures; (2) to obtain classified information display products pictures; (3) according to the product classification information is selected from the contour of the given template library should be the product for a given contour (; 4) will display images into grayscale; (5) to CANNY algorithm using gray image edge detection by I scanning profile; (6) removing the edge noise by Gauss smoothing, II level scanning profile; (7) the II level scanning profile and product for a given contour fitting, corresponding the position of the II level scanning profile and product for a given contour is greater than the set threshold value part of the results given by the contour contour fill. The invention has the advantages that the algorithm is simple, contour acquisition can fully meet the need of color information analysis; less resource, quick reaction, the calculation process of short time, facilitate the analysis of massive data providers; multiple denoising, both to save resources reduce processing time and can ensure the processing accuracy.
【技术实现步骤摘要】
电商平台展示图片大数据的产品轮廓线绘制方法
本专利技术涉及图像处理
,具体是指一种电商平台展示图片大数据的产品轮廓线绘制方法。
技术介绍
为了统计获取电商平台展示图片的颜色分布等情况,由于背景干扰等原因,直接读取图片颜色信息会与实际情况相去甚远。专利号为201210472406.0提供一种较为精细的轮廓线绘制方法,但其计算过程耗时长占用资源多。难以适应海量图片的颜色信息提取。
技术实现思路
本专利技术的专利技术目的在于针对现有技术存在的上述问题,提供一种电商平台展示图片大数据的产品轮廓线绘制方法。上述专利技术目的通过以下方案实现:电商平台展示图片大数据的产品轮廓线绘制方法,包括以下步骤:(1)获取展示图片;(2)获取展示图片的产品分类信息;(3)根据产品分类信息从给定轮廓线模板库中选取对应的产品给定轮廓线;(4)将展示图片转换成灰度图;(5)对灰度图采用CANNY算法进行边缘检测得到I级扫描轮廓线;(6)通过高斯平滑去除边缘噪点,得到II级扫描轮廓线;(7)将II级扫描轮廓线与产品给定轮廓线拟合,II级扫描轮廓线与产品给定轮廓线对应位置距离大于设定阈值的部分通过 ...
【技术保护点】
电商平台展示图片大数据的产品轮廓线绘制方法,其特征在于包括以下步骤:(1)获取展示图片;(2)获取展示图片的产品分类信息;(3)根据产品分类信息从给定轮廓线模板库中选取对应的产品给定轮廓线;(4)将展示图片转换成灰度图;(5)对灰度图采用CANNY 算法进行边缘检测得到I级扫描轮廓线;(6)通过高斯平滑去除边缘噪点,得到II级扫描轮廓线;(7)将II级扫描轮廓线与产品给定轮廓线拟合,II级扫描轮廓线与产品给定轮廓线对应位置距离大于设定阈值的部分通过给定轮廓线补齐得到结果轮廓线。
【技术特征摘要】
1.电商平台展示图片大数据的产品轮廓线绘制方法,其特征在于包括以下步骤:(1)获取展示图片;(2)获取展示图片的产品分类信息;(3)根据产品分类信息从给定轮廓线模板库中选取对应的产品给定轮廓线;(4)将展示图片转换成灰度图;(5)对灰度图采用CANNY算法进行边缘检测得到I级扫描轮廓线;(6)通过高斯平滑去除边缘噪点,得到II级扫描轮廓线;(7)将II级扫描轮廓线与产品给定轮廓线拟合,II级扫描轮廓线与产品给定轮廓线对应位置距离大于设定阈值的部分通过给定轮廓线补齐得到结果轮廓线。2.根据权利要求1所述的电商平台展示图片大数据的产品轮廓线绘制方法,其特征在于步骤(7)中包括拟合预处理步骤(7-1):对展示图片进行缩放处理使之与给定轮廓线图片尺寸一致。3.根据权利要求1所述的电商平台展...
【专利技术属性】
技术研发人员:王振宇,杨克杰,
申请(专利权)人:温州市鹿城区中津先进科技研究院,
类型:发明
国别省市:浙江,33
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。