freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

圖像增強(qiáng)直方圖均衡化處理c語(yǔ)言實(shí)現(xiàn)-預(yù)覽頁(yè)

 

【正文】 ADER*);int CreatePalette(RGBQUAD);int ReadPixelData(BYTE*);LONG GetLineBytes(int,int);int SaveAsImage(char*);int main(){char saveasfilepath[256];int i;DWORD dwLineBytes;readData();dwLineBytes=GetLineBytes(,);N=(int)dwLineBytes*;HistTrans();printf(Save as another path(://)\n);scanf(%s,saveasfilepath);i=SaveAsImage(saveasfilepath);if(i==1){printf(Error:failed to save the image.\n);}return 0;}void readData(){int i,k,h;DWORD dwLineBytes;i=ReadFileHeader(amp。amp。bmfhbfType,sizeof(WORD),1,dataFile)!=1){printf(Can not read bfType in the file header.\n);fclose(dataFile);return1;}if(fread(amp。bmfhbfOffBits,sizeof(DWORD),1,dataFile)!=1){printf(Can not read bfOffBits in the file header.\n);fclose(dataFile);return1;}fclose(dataFile);return 0;}int ReadInfoHeader(BITMAPINFOHEADER*bmih){FILE*dataFile;dataFile=fopen(,r);fseek(dataFile,14,SEEK_SET);if(fread(amp。bmihbiPlanes,sizeof(WORD),1,dataFile)!=1){printf(Can not read biPlanes in the info header.\n);fclose(dataFile);return1;}if(fread(amp。bmihbiXPelsPerMeter,sizeof(LONG),1,dataFile)!=1){printf(Can not read biXPelsPerMeter in the info header.\n);fclose(dataFile);return1;}if(fread(amp。,sizeof(WORD),1,dataFile)!=1){printf(Can not write bfType in the file header.\n);fclose(dataFile);return1;}if(fwrite(amp。,sizeof(DWORD),1,dataFile)!=1){printf(Can not write bfOffBits in the file header.\n);fclose(dataFile);return1;}if(fwrite(amp。,sizeof(WORD),1,dataFile)!=1){printf(Can not write biPlanes in the info header.\n);fclose(dataFile);return1;}if(fwrite(amp。,sizeof(LONG),1,dataFile)!=1){printf(Can not write biXPelsPerMeter in the info header.\n);fclose(dataFile);return1;}if(fwrite(a
點(diǎn)擊復(fù)制文檔內(nèi)容
數(shù)學(xué)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1