哪位大神给个网站能帮我解决呢

请问哪位大神能帮我解决这个问题吗?_百度知道
请问哪位大神能帮我解决这个问题吗?
//d.baidu.jpg" target="_blank" title="点击查看大图" class="ikqb_img_alink"><img class="ikqb_img" src="/zhidao/wh%3D450%2C600/sign=571d3ad632a85edffad9f/359b033b5bb5c9eafee03af3b327.hiphotos.jpg" esrc="http电脑不知道怎么回事://d.baidu,老是说不是正版./zhidao/pic/item/359b033b5bb5c9eafee03af3b327.baidu,然后什么桌面图片也用不了····黑屏如图<a href="/zhidao/wh%3D600%2C800/sign=1b335c9f2bf5e0feee4d/359b033b5bb5c9eafee03af3b327://d
我有更好的答案
如果不能解决。可以先试着用 win7激活工具(百度搜下应该是安装了官方的系统更新,只能重装系统,有很多) 再激活一次,部分更新是专门检测盗版系统
我有激活软件
激活重启就可以了
没激活.用工具激活一下就行了
其他类似问题
为您推荐:
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁有哪位大神可以帮小弟我解释一下这段代码吗
&来源:读书人网&【读书人网():综合教育门户网站】
有哪位大神可以帮我解释一下这段代码吗?//
有哪位大神可以帮我解释一下这段代码吗?//============================================================================//&Name&&&&&&&&:&KinectTouch.cpp//&Author&&&&&&:&/robbeofficial//&Version&&&&&:&0.something//&Description&:&recognizes&touch&points&on&arbitrary&surfaces&using&kinect//&&and&maps&them&to&TUIO&cursors//&&(turns&any&surface&into&a&touchpad)//============================================================================*&*&1.&point&your&kinect&from&a&higher&place&down&to&your&table&*&2.&start&the&program&(keep&your&hands&off&the&table&for&the&beginning)&*&3.&use&your&table&as&a&giant&touchpad&*/#include&&iostream&#include&&vector&#include&&map&using&namespace&//&openCV#include&&opencv/highgui.h&#include&&opencv/cv.h&using&namespace&//&openNI#include&&XnOpenNI.h&#include&&XnCppWrapper.h&using&namespace&#define&CHECK_RC(rc,&what)\if&(rc&!=&XN_STATUS_OK)\{\printf("%s&failed:&%s\n",&what,&xnGetStatusString(rc));\return&\}//&TUIO#include&"TUIO/TuioServer.h"using&namespace&TUIO;//&TODO&smoothing&using&kalman&filter//---------------------------------------------------------------------------//&Globals//---------------------------------------------------------------------------//&OpenNIxn::Context&xnCxn::DepthGenerator&xnDepthGxn::ImageGenerator&xnImgeGbool&mousePressed&=&//---------------------------------------------------------------------------//&Functions//---------------------------------------------------------------------------int&initOpenNI(const&XnChar*&fname)&{XnStatus&nRetVal&=&XN_STATUS_OK;//&initialize&contextnRetVal&=&xnContext.InitFromXmlFile(fname);CHECK_RC(nRetVal,&"InitFromXmlFile");//&initialize&depth&generatornRetVal&=&xnContext.FindExistingNode(XN_NODE_TYPE_DEPTH,&xnDepthGenerator);CHECK_RC(nRetVal,&"FindExistingNode(XN_NODE_TYPE_DEPTH)");//&initialize&image&generatornRetVal&=&xnContext.FindExistingNode(XN_NODE_TYPE_IMAGE,&xnImgeGenertor);CHECK_RC(nRetVal,&"FindExistingNode(XN_NODE_TYPE_IMAGE)");return&0;}void&average(vector&Mat1s&&&frames,&Mat1s&&mean)&{Mat1d&acc(mean.size());Mat1d&frame(mean.size());for&(unsigned&int&i=0;&i&frames.size();&i++)&{frames[i].convertTo(frame,&CV_64FC1);acc&=&acc&+&}acc&=&acc&/&frames.size();acc.convertTo(mean,&CV_16SC1);}int&main()&{const&unsigned&int&nBackgroundTrain&=&30;const&unsigned&short&touchDepthMin&=&10;const&unsigned&short&touchDepthMax&=&20;const&unsigned&int&touchMinArea&=&50;const&bool&localClientMode&=&&//&connect&to&a&local&clientconst&double&debugFrameMaxDepth&=&4000;&//&maximal&distance&(in&millimeters)&for&8&bit&debug&depth&frame&quantizationconst&char*&windowName&=&"Debug";const&Scalar&debugColor0(0,0,128);const&Scalar&debugColor1(255,0,0);const&Scalar&debugColor2(255,255,255);int&xMin&=&110;int&xMax&=&560;int&yMin&=&120;int&yMax&=&320;Mat1s&depth(480,&640);&//&16&bit&depth&(in&millimeters)&&&&&&&&//&&&&&&typedef&Mat_&short&&Mat1s;Mat1b&depth8(480,&640);&//&8&bit&depth&&&//&&&&&&typedef&Mat_&uchar&&Mat1b;//Mat3b&rgb(480,&640);&//&8&bit&depth&&&//&&&typedef&Mat_&Vec3b&&Mat3b;Mat3b&debug(480,&640);&//&debug&visualization&&&//Mat1s&foreground(640,&480);Mat1b&foreground8(640,&480);Mat1b&touch(640,&480);&//&touch&maskMat1s&background(480,&640);vector&Mat1s&&buffer(nBackgroundTrain);initOpenNI("niConfig.xml");////&TUIO&server&object//TuioServer*&//if&(localClientMode)&{//tuio&=&new&TuioServer();
//}&else&{//tuio&=&new&TuioServer("192.168.0.2",3333,false);//}//TuioTime&//&create&some&sliders/*namedWindow(windowName);createTrackbar("xMin",&windowName,&&xMin,&640);createTrackbar("xMax",&windowName,&&xMax,&640);createTrackbar("yMin",&windowName,&&yMin,&480);createTrackbar("yMax",&windowName,&&yMax,&480);*///&create&background&model&(average&depth)for&(unsigned&int&i=0;&i&nBackgroundT&i++)&{xnContext.WaitAndUpdateAll();depth.data&=&(uchar*)&xnDepthGenerator.GetDepthMap();buffer[i]&=&}average(buffer,&background);while&(&waitKey(1)&!=&27&)&{//&read&available&dataxnContext.WaitAndUpdateAll();//&update&16&bit&depth&matrixdepth.data&=&(uchar*)&xnDepthGenerator.GetDepthMap();//xnImgeGenertor.GetGrayscale8ImageMap()//&update&rgb&image//rgb.data&=&(uchar*)&xnImgeGenertor.GetRGB24ImageMap();&//&segmentation&fault&here//cvtColor(rgb,&rgb,&CV_RGB2BGR);//&extract&foreground&by&simple&subtraction&of&very&basic&background&modelforeground&=&background&-&//&find&touch&mask&by&thresholding&(points&that&are&close&to&background&=&touch&points)touch&=&(foreground&&&touchDepthMin)&&&(foreground&&&touchDepthMax);//&extract&ROIRect&roi(xMin,&yMin,&xMax&-&xMin,&yMax&-&yMin);Mat&touchRoi&=&touch(roi);//&find&touch&pointsvector&&vector&Point2i&&&&vector&Point2f&&touchPfindContours(touchRoi,&contours,&CV_RETR_LIST,&CV_CHAIN_APPROX_SIMPLE,&Point2i(xMin,&yMin));for&(unsigned&int&i=0;&i&contours.size();&i++)&{Mat&contourMat(contours[i]);//&find&touch&points&by&area&thresholdingif&(&contourArea(contourMat)&&&touchMinArea&)&{Scalar&center&=&mean(contourMat);Point2i&touchPoint(center[0],&center[1]);touchPoints.push_back(touchPoint);}}//&send&TUIO&cursorstime&=&TuioTime::getSessionTime();tuio-&initFrame(time);for&(unsigned&int&i=0;&i&touchPoints.size();&i++)&{&//&touch&pointsfloat&cursorX&=&(touchPoints[i].x&-&xMin)&/&(xMax&-&xMin);float&cursorY&=&1&-&(touchPoints[i].y&-&yMin)/(yMax&-&yMin);TuioCursor*&cursor&=&tuio-&getClosestTuioCursor(cursorX,cursorY);//&TODO&improve&tracking&(don't&move&cursors&away,&that&might&be&closer&to&another&touch&point)if&(cursor&==&NULL&||&cursor-&getTuioTime()&==&time)&{tuio-&addTuioCursor(cursorX,cursorY);}&else&{tuio-&updateTuioCursor(cursor,&cursorX,&cursorY);}}tuio-&stopUntouchedMovingCursors();tuio-&removeUntouchedStoppedCursors();tuio-&commitFrame();//&draw&debug&framedepth.convertTo(depth8,&CV_8U,&255&/&debugFrameMaxDepth);&//&render&depth&to&debug&framecvtColor(depth8,&debug,&CV_GRAY2BGR);debug.setTo(debugColor0,&touch);&&//&touch&maskrectangle(debug,&roi,&debugColor1,&2);&//&surface&boundariesfor&(unsigned&int&i=0;&i&touchPoints.size();&i++)&{&//&touch&pointscircle(debug,&touchPoints[i],&5,&debugColor2,&CV_FILLED);}//&render&debug&frame&(with&sliders)imshow(windowName,&debug);//imshow("image",&rgb);}return&0;}
我觉得应该是没人给你解释的[解决办法]注释已经写的很清楚了:
//&Description&:&recognizes&touch&points&on&arbitrary&surfaces&using&kinect//&&and&maps&them&to&TUIO&cursors//&&(turns&any&surface&into&a&touchpad)引用://============================================================================//&Name&&&&&&&&:&KinectTouch.cpp//&Author&&&&&&:&/robbeofficial//&Version&&&&&:&0.something//&Description&:&recognizes&touch&points&on&arbitrary&surfaces&using&kinect//&&and&maps&them&to&TUIO&cursors//&&(turns&any&surface&into&a&touchpad)//============================================================================*&*&1.&point&your&kinect&from&a&higher&place&down&to&your&table&*&2.&start&the&program&(keep&your&hands&off&the&table&for&the&beginning)&*&3.&use&your&table&as&a&giant&touchpad&*/#include&&iostream&#include&&vector&#include&&map&using&namespace&//&openCV#include&&opencv/highgui.h&#include&&opencv/cv.h&using&namespace&//&openNI#include&&XnOpenNI.h&#include&&XnCppWrapper.h&using&namespace&#define&CHECK_RC(rc,&what)\if&(rc&!=&XN_STATUS_OK)\{\printf("%s&failed:&%s\n",&what,&xnGetStatusString(rc));\return&\}//&TUIO#include&"TUIO/TuioServer.h"using&namespace&TUIO;//&TODO&smoothing&using&kalman&filter//---------------------------------------------------------------------------//&Globals//---------------------------------------------------------------------------//&OpenNIxn::Context&xnCxn::DepthGenerator&xnDepthGxn::ImageGenerator&xnImgeGbool&mousePressed&=&//---------------------------------------------------------------------------//&Functions//---------------------------------------------------------------------------int&initOpenNI(const&XnChar*&fname)&{XnStatus&nRetVal&=&XN_STATUS_OK;//&initialize&contextnRetVal&=&xnContext.InitFromXmlFile(fname);CHECK_RC(nRetVal,&"InitFromXmlFile");//&initialize&depth&generatornRetVal&=&xnContext.FindExistingNode(XN_NODE_TYPE_DEPTH,&xnDepthGenerator);CHECK_RC(nRetVal,&"FindExistingNode(XN_NODE_TYPE_DEPTH)");//&initialize&image&generatornRetVal&=&xnContext.FindExistingNode(XN_NODE_TYPE_IMAGE,&xnImgeGenertor);CHECK_RC(nRetVal,&"FindExistingNode(XN_NODE_TYPE_IMAGE)");return&0;}void&average(vector&Mat1s&&&frames,&Mat1s&&mean)&{Mat1d&acc(mean.size());Mat1d&frame(mean.size());for&(unsigned&int&i=0;&i&frames.size();&i++)&{frames[i].convertTo(frame,&CV_64FC1);acc&=&acc&+&}acc&=&acc&/&frames.size();acc.convertTo(mean,&CV_16SC1);}int&main()&{const&unsigned&int&nBackgroundTrain&=&30;const&unsigned&short&touchDepthMin&=&10;const&unsigned&short&touchDepthMax&=&20;const&unsigned&int&touchMinArea&=&50;const&bool&localClientMode&=&&//&connect&to&a&local&clientconst&double&debugFrameMaxDepth&=&4000;&//&maximal&distance&(in&millimeters)&for&8&bit&debug&depth&frame&quantizationconst&char*&windowName&=&"Debug";const&Scalar&debugColor0(0,0,128);const&Scalar&debugColor1(255,0,0);const&Scalar&debugColor2(255,255,255);int&xMin&=&110;int&xMax&=&560;int&yMin&=&120;int&yMax&=&320;Mat1s&depth(480,&640);&//&16&bit&depth&(in&millimeters)&&&&&&&&//&&&&&&typedef&Mat_&short&&Mat1s;Mat1b&depth8(480,&640);&//&8&bit&depth&&&//&&&&&&typedef&Mat_&uchar&&Mat1b;//Mat3b&rgb(480,&640);&//&8&bit&depth&&&//&&&typedef&Mat_&Vec3b&&Mat3b;Mat3b&debug(480,&640);&//&debug&visualization&&&//Mat1s&foreground(640,&480);Mat1b&foreground8(640,&480);
Mat1b&touch(640,&480);&//&touch&maskMat1s&background(480,&640);vector&Mat1s&&buffer(nBackgroundTrain);initOpenNI("niConfig.xml");////&TUIO&server&object//TuioServer*&//if&(localClientMode)&{//tuio&=&new&TuioServer();//}&else&{//tuio&=&new&TuioServer("192.168.0.2",3333,false);//}//TuioTime&//&create&some&sliders/*namedWindow(windowName);createTrackbar("xMin",&windowName,&&xMin,&640);createTrackbar("xMax",&windowName,&&xMax,&640);createTrackbar("yMin",&windowName,&&yMin,&480);createTrackbar("yMax",&windowName,&&yMax,&480);*///&create&background&model&(average&depth)for&(unsigned&int&i=0;&i&nBackgroundT&i++)&{xnContext.WaitAndUpdateAll();depth.data&=&(uchar*)&xnDepthGenerator.GetDepthMap();buffer[i]&=&}average(buffer,&background);while&(&waitKey(1)&!=&27&)&{//&read&available&dataxnContext.WaitAndUpdateAll();//&update&16&bit&depth&matrixdepth.data&=&(uchar*)&xnDepthGenerator.GetDepthMap();//xnImgeGenertor.GetGrayscale8ImageMap()//&update&rgb&image//rgb.data&=&(uchar*)&xnImgeGenertor.GetRGB24ImageMap();&//&segmentation&fault&here//cvtColor(rgb,&rgb,&CV_RGB2BGR);//&extract&foreground&by&simple&subtraction&of&very&basic&background&modelforeground&=&background&-&//&find&touch&mask&by&thresholding&(points&that&are&close&to&background&=&touch&points)touch&=&(foreground&&&touchDepthMin)&&&(foreground&&&touchDepthMax);//&extract&ROIRect&roi(xMin,&yMin,&xMax&-&xMin,&yMax&-&yMin);Mat&touchRoi&=&touch(roi);//&find&touch&pointsvector&&vector&Point2i&&&&vector&Point2f&&touchPfindContours(touchRoi,&contours,&CV_RETR_LIST,&CV_CHAIN_APPROX_SIMPLE,&Point2i(xMin,&yMin));for&(unsigned&int&i=0;&i&contours.size();&i++)&{Mat&contourMat(contours[i]);//&find&touch&points&by&area&thresholdingif&(&contourArea(contourMat)&&&touchMinArea&)&{Scalar&center&=&mean(contourMat);Point2i&touchPoint(center[0],&center[1]);touchPoints.push_back(touchPoint);}}//&send&TUIO&cursorstime&=&TuioTime::getSessionTime();tuio-&initFrame(time);for&(unsigned&int&i=0;&i&touchPoints.size();&i++)&{&//&touch&pointsfloat&cursorX&=&(touchPoints[i].x&-&xMin)&/&(xMax&-&xMin);float&cursorY&=&1&-&(touchPoints[i].y&-&yMin)/(yMax&-&yMin);TuioCursor*&cursor&=&tuio-&getClosestTuioCursor(cursorX,cursorY);//&TODO&improve&tracking&(don't&move&cursors&away,&that&might&be&closer&to&another&touch&point)if&(cursor&==&NULL&[解决办法]&cursor-&getTuioTime()&==&time)&{tuio-&addTuioCursor(cursorX,cursorY);}&else&{tuio-&updateTuioCursor(cursor,&cursorX,&cursorY);}}tuio-&stopUntouchedMovingCursors();tuio-&removeUntouchedStoppedCursors();tuio-&commitFrame();//&draw&debug&framedepth.convertTo(depth8,&CV_8U,&255&/&debugFrameMaxDepth);&//&render&depth&to&debug&framecvtColor(depth8,&debug,&CV_GRAY2BGR);debug.setTo(debugColor0,&touch);&&//&touch&maskrectangle(debug,&roi,&debugColor1,&2);&//&surface&boundariesfor&(unsigned&int&i=0;&i&touchPoints.size();&i++)&{&//&touch&pointscircle(debug,&touchPoints[i],&5,&debugColor2,&CV_FILLED);}//&render&debug&frame&(with&sliders)imshow(windowName,&debug);//imshow("image",&rgb);}return&0;}[解决办法]recognizes&touch&points&on&arbitrary&surfaces&using&kinect&&and&maps&them&to&TUIO&cursors&&(turns&any&surface&into&a&touchpad)后使用快捷导航没有帐号?
只需一步,快速开始
查看: 1465|回复: 5
最后登录贡献度1 金元46 银行存款0 注册时间阅读权限15帖子主题精华0积分9UID6461147
新手玩家, 积分 9, 距离下一级还需 41 积分
贡献度1 金元46 注册时间积分9精华0帖子
& && && && &&&花45元买了个号···装好就1.4.1版的 是不是现在所有的汉化版都不适合用啊 ?英文版正常可以进入游戏,一汉化就进不游戏界面,出现灰屏,几个不同的汉化版本都试过了,还是不行啊,还是汉化版本的问题????哪位大神能帮我解决啊
最后登录贡献度72 金元6491 银行存款0 注册时间阅读权限70帖子主题精华0积分937UID2393761
超级玩家, 积分 937, 距离下一级还需 63 积分
贡献度72 金元6491 注册时间积分937精华0帖子
蒹葭汉化组《都市运输2(Cities in Motion 2)》完整汉化发布贴 [7月29日更新v2.0 支持v1.3.6升级档 简繁内核汉化 支持正版]
最后登录贡献度1 金元46 银行存款0 注册时间阅读权限15帖子主题精华0积分9UID6461147
新手玩家, 积分 9, 距离下一级还需 41 积分
贡献度1 金元46 注册时间积分9精华0帖子
蒹葭汉化组《都市运输2(Cities in Motion 2)》完整汉化发布贴 [7月29日更新v2.0 支持v1.3.6升级档 简繁内核汉化 支持正版]&&
依然还是灰屏 然后就没反应了·············
最后登录贡献度23 金元1248 银行存款0 注册时间阅读权限50帖子主题精华0积分217UID3853988
高级玩家, 积分 217, 距离下一级还需 383 积分
贡献度23 金元1248 注册时间积分217精华0帖子
目前没有支持最新版的汉化
最后登录贡献度1 金元46 银行存款0 注册时间阅读权限15帖子主题精华0积分9UID6461147
新手玩家, 积分 9, 距离下一级还需 41 积分
贡献度1 金元46 注册时间积分9精华0帖子
.....悲剧···
最后登录贡献度9 金元1281 银行存款0 注册时间阅读权限25帖子主题精华0积分164UID3786175
中级玩家, 积分 164, 距离下一级还需 86 积分
贡献度9 金元1281 注册时间积分164精华0帖子
1.41不汉化就玩儿不到汉化的...
Powered by小木虫 --- 500万硕博科研人员喜爱的学术科研平台
&&查看话题
求大神帮忙!我血小板只有正常值的10%,严重吗,我该怎么办啊?谁能帮帮我,给跪了!
求大神帮忙!医生说我血小板只有正常值的10%,谁能帮我解答一下这是什么情况啊,严重吗,我该怎么办啊?谁能帮帮我,给跪了!
这么直接?骨髓穿刺,以前在电视上只看过白血病检查做这个。楼主的情况貌似不容轻视,还是去医院看看吧,这里,呵呵
我的也是,说的可吓人了,可我一直好好的啊,所以我就想不明白了,今天又去挂急诊,碰到一个人是正常值的3%,也没见他有什么事,可是同样,都很着急。希望只是虚惊,祝愿您孩子也早日康复!平平安安!
附件是我体检报告中血小板的数值,大神,你能帮我分析一下吗,跪谢!
研究生必备与500万研究生在线互动!
扫描下载送金币

我要回帖

更多关于 哪位大神有种子 的文章

 

随机推荐