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

  • 大小: 1.2MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2022-06-08
  • 語言: C/C++
  • 標簽: canny??

資源簡介

純c語言實現邊緣檢測,工程目錄直接可以運行

資源截圖

代碼片段和文件信息

#include“canny.h“
?////////Read?the?parameters?of?bitmap///
/*void?BitmapRead(FILE*?fpBitmap?*bmp)
{
??DWORD?width?=0height=0line_width=0;
??WORD?bit_count?=0pal_length=0off_bits=0;
??fseek(fp100);
??fread(&off_bits41fp);
??fseek(fp180);
??fread(&width41fp);
??fread(&height41fp);
??fseek(fp280);
??fread(&bit_count21fp);
??pal_length=off_bits-54;
??if(bit_count==8)
??{
bmp->palette=(LPBYTE)malloc(pal_length*sizeof(BYTE));
????if(!bmp->palette)
printf(“palette?have?no?memory“);
??}
??else
??{
bmp->palette=0;
??}
??if(bmp->palette)
??{
fseek(fp540);
fread(bmp->palettepal_length1fp);

??}


??line_width=(width*bit_count?+31)/32*4;
??bmp->line_width=line_width;
??bmp->width=width;
??bmp->height=height;
??bmp->bit_count=bit_count;
??bmp->pal_length=pal_length;
??bmp->ptr=(LPBYTE)malloc(line_width*height*sizeof(BYTE));

??if(!bmp->ptr)
??{
??printf(“can?not?allocate?memory?for?the?bitmap.\n“);
??bmp->width=0;
??bmp->height=0;
??bmp->bit_count=0;
??}
??fseek(fpoff_bits0);
??fread(bmp->ptrline_width*height1fp);
?
??////////finish?read////////
??
}*/

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-05-14?06:32??bmp_canny\
?????目錄???????????0??2013-05-12?14:31??bmp_canny\Debug\
?????文件???????36864??2013-05-13?23:51??bmp_canny\Debug\bmp_canny.exe
?????文件??????380780??2013-05-13?23:51??bmp_canny\Debug\bmp_canny.ilk
?????文件??????445440??2013-05-13?23:51??bmp_canny\Debug\bmp_canny.pdb
?????目錄???????????0??2013-05-12?15:22??bmp_canny\bmp_canny\
?????目錄???????????0??2013-05-13?23:51??bmp_canny\bmp_canny\Debug\
?????文件????????2310??2013-05-13?23:51??bmp_canny\bmp_canny\Debug\CL.read.1.tlog
?????文件????????1050??2013-05-13?23:51??bmp_canny\bmp_canny\Debug\CL.write.1.tlog
?????文件?????????406??2013-05-10?14:08??bmp_canny\bmp_canny\Debug\bmp_canny.exe.embed.manifest
?????文件?????????472??2013-05-10?14:08??bmp_canny\bmp_canny\Debug\bmp_canny.exe.embed.manifest.res
?????文件?????????381??2013-05-13?23:51??bmp_canny\bmp_canny\Debug\bmp_canny.exe.intermediate.manifest
?????文件??????????55??2013-05-13?23:51??bmp_canny\bmp_canny\Debug\bmp_canny.lastbuildstate
?????文件????????6023??2013-05-13?23:51??bmp_canny\bmp_canny\Debug\bmp_canny.log
?????文件?????????208??2013-05-10?14:08??bmp_canny\bmp_canny\Debug\bmp_canny_manifest.rc
?????文件????????3119??2013-05-10?16:37??bmp_canny\bmp_canny\Debug\canny.obj
?????文件????????1278??2013-05-13?23:51??bmp_canny\bmp_canny\Debug\cl.command.1.tlog
?????文件???????????2??2013-05-13?23:51??bmp_canny\bmp_canny\Debug\link-cvtres.read.1.tlog
?????文件???????????2??2013-05-13?23:51??bmp_canny\bmp_canny\Debug\link-cvtres.write.1.tlog
?????文件???????????2??2013-05-13?23:51??bmp_canny\bmp_canny\Debug\link.7452-cvtres.read.1.tlog
?????文件???????????2??2013-05-13?23:51??bmp_canny\bmp_canny\Debug\link.7452-cvtres.write.1.tlog
?????文件???????????2??2013-05-13?23:51??bmp_canny\bmp_canny\Debug\link.7452.read.1.tlog
?????文件???????????2??2013-05-13?23:51??bmp_canny\bmp_canny\Debug\link.7452.write.1.tlog
?????文件???????????2??2013-05-13?23:51??bmp_canny\bmp_canny\Debug\link.7768-cvtres.read.1.tlog
?????文件???????????2??2013-05-13?23:51??bmp_canny\bmp_canny\Debug\link.7768-cvtres.write.1.tlog
?????文件???????????2??2013-05-13?23:51??bmp_canny\bmp_canny\Debug\link.7768.read.1.tlog
?????文件???????????2??2013-05-13?23:51??bmp_canny\bmp_canny\Debug\link.7768.write.1.tlog
?????文件????????1456??2013-05-13?23:51??bmp_canny\bmp_canny\Debug\link.command.1.tlog
?????文件????????2516??2013-05-13?23:51??bmp_canny\bmp_canny\Debug\link.read.1.tlog
?????文件?????????722??2013-05-13?23:51??bmp_canny\bmp_canny\Debug\link.write.1.tlog
?????文件???????25234??2013-05-13?23:51??bmp_canny\bmp_canny\Debug\main.obj
............此處省略22個文件信息

評論

共有 條評論