91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 11.54MB
    文件類型: .zip
    金幣: 2
    下載: 1 次
    發布日期: 2023-06-29
  • 語言: 其他
  • 標簽: lbp??VS??opencv??

資源簡介

利用VS2008+opencv2.3.1編寫的幾種經典LBP特征提取算法,包括經典LBP,統一模式LBP等。

資源截圖

代碼片段和文件信息

/******************************************************************************
*?File?Name??????????:?edge.c
*?Author?????????????:?Kid?Zhang
*?Version????????????:?v1.0
*?Date???????????????:?Nov?4?2011
*?Description????????:?This?file?is?help?user?to?abstract?the?edge?of?the?piture
********************************************************************************/
/*?Includes?------------------------------------------------------------------*/
#include?“stdafx.h“
#include?“edge.h“
/*?Private?typedef?-----------------------------------------------------------*/
/*?Private?define?------------------------------------------------------------*/
/*?Private?macro?-------------------------------------------------------------*/
/*?Private?variables?---------------------------------------------------------*/
/*?Private?function?prototypes?-----------------------------------------------*/
/*?Private?functions?---------------------------------------------------------*/
/*******************************************************************************
*?Function?Name??:?Pyr_Segmentation
*?Description????:?This?function?is?help?user?to?do?the?pyramid?segmentation?of?the?piture
*?Input??????????:?-?src:?The?point?of?the?original?picture
*?Output?????????:?-?dst:?The?destination?point?of?the?picture
*?Return?????????:?None
*******************************************************************************/
void?Pyr_Segmentation?(IplImage?*?src?IplImage?*dst)
{
????CvMemStorage*?storage?=?cvCreateMemStorage(0);??
????CvSeq*?comp?=?NULL;??
????cvPyrSegmentation(?src?dst?storage?&comp?4?200?50?);??
????cvReleaseMemStorage(?&storage?);
}
/*******************************************************************************
*?Function?Name??:?Abstract_Edge
*?Description????:?This?function?is?help?user?to?abstract?the?edge?of?the?piture
*?Input??????????:?-?src:?The?point?of?the?original?picture
*?Output?????????:?-?dst:?The?destination?point?of?the?picture
*?Return?????????:?The?destination?point?of?the?picture
*******************************************************************************/
void?Abstract_Edge(IplImage?*srcIplImage?*dst)
{
//IplImage?*?temp?=?cvCreateImage(cvGetSize(src)?IPL_DEPTH_8U3);
IplImage?*?temp?=?cvCreateImage(cvGetSize(src)?IPL_DEPTH_8U3);?
IplConvKernel?*kernel?=?cvCreateStructuringElementEx(3?3?1?1?CV_SHAPE_RECT);
cvMorphologyEx(srctempNULLkernelCV_MOP_GRADIENT1);//邊緣提取
Pyr_Segmentation?(dstdst);//金字塔分割
cvCvtColor(tempdstCV_BGR2GRAY);//轉為灰度圖像
//cvCvtColor(tempdstCV_BGR2GRAY);//轉為灰度圖像
}
/*********************END?OF?FILE*************************/

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2014-10-16?21:38??LBP\
?????目錄???????????0??2014-10-16?21:35??LBP\Debug\
?????文件???????49152??2014-10-16?21:38??LBP\Debug\LBP.exe
?????文件??????533732??2014-10-16?21:38??LBP\Debug\LBP.ilk
?????文件?????1747968??2014-10-16?21:38??LBP\Debug\LBP.pdb
?????目錄???????????0??2015-06-27?11:18??LBP\LBP\
?????文件????20007936??2014-10-16?22:19??LBP\LBP.ncb
?????文件?????????875??2014-10-13?16:15??LBP\LBP.sln
?????文件???????28672??2014-10-16?22:19??LBP\LBP.suo
?????文件???????91814??2014-09-21?14:43??LBP\LBP\0001.jpg
?????目錄???????????0??2014-10-16?21:38??LBP\LBP\Debug\
?????文件???????10382??2014-10-16?21:38??LBP\LBP\Debug\BuildLog.htm
?????文件??????129043??2014-10-16?15:56??LBP\LBP\Debug\edge.obj
?????文件??????134701??2014-10-16?21:38??LBP\LBP\Debug\hist.obj
?????文件?????????663??2014-10-13?16:26??LBP\LBP\Debug\LBP.exe.embed.manifest
?????文件?????????728??2014-10-13?16:27??LBP\LBP\Debug\LBP.exe.embed.manifest.res
?????文件?????????621??2014-10-16?21:38??LBP\LBP\Debug\LBP.exe.intermediate.manifest
?????文件??????129186??2014-10-16?16:49??LBP\LBP\Debug\LBP.obj
?????文件?????3211264??2014-10-13?16:23??LBP\LBP\Debug\LBP.pch
?????文件??????149535??2014-10-16?21:38??LBP\LBP\Debug\main.obj
?????文件??????????65??2014-10-16?21:38??LBP\LBP\Debug\mt.dep
?????文件???????11889??2014-10-13?16:23??LBP\LBP\Debug\stdafx.obj
?????文件??????150350??2014-10-16?17:05??LBP\LBP\Debug\uniform_LBP.obj
?????文件?????1190912??2014-10-16?21:38??LBP\LBP\Debug\vc90.idb
?????文件?????1167360??2014-10-16?21:38??LBP\LBP\Debug\vc90.pdb
?????文件????????2690??2014-10-16?15:56??LBP\LBP\edge.cpp
?????文件?????????965??2014-10-16?15:55??LBP\LBP\edge.h
?????文件????????2934??2014-10-16?22:19??LBP\LBP\hist.cpp
?????文件?????????964??2014-10-16?21:27??LBP\LBP\hist.h
?????文件????????2711??2014-10-16?16:49??LBP\LBP\LBP.cpp
?????文件?????????953??2014-10-16?15:55??LBP\LBP\LBP.h
............此處省略27個文件信息

評論

共有 條評論