| ²é¿´: 1358 | »Ø¸´: 8 | ||||
xmcrobbieÒø³æ (СÓÐÃûÆø)
|
[ÇóÖú]
ÓжγÌÐò£¬¾Í5£¬6ÐУ¬ÎÒ¿´ÁËNÌìÁË£¬Çë½Ì¸ßÊÖ
|
|
function Y = sampleWithR(weights,K) %Y = sampleWithR(weights,K) %Generates K samples from the discrete distribution specified by weights %O(K) %Need to handle border effects cdf = cumsum(weights); Y = histc(rand(K,1)*cdf(end),[0; cdf]); Y = [Y(1:end-2); Y(end-1)+Y(end)]; ÎÒ²»ÖªµÀÕâ¸öº¯ÊýÆðʲô×÷Óð¡¡£¡£¡£¡£ |
» ²ÂÄãϲ»¶
²ÄÁÏ£¬·ÄÖ¯£¬ÉúÎ0856¡¢0710£©£¬»¯Ñ§ÕÐÉúÀ²
ÒѾÓÐ8È˻ظ´
0703»¯Ñ§µ÷¼Á £¬Áù¼¶Òѹý£¬ÓпÆÑоÀú
ÒѾÓÐ9È˻ظ´
¹¤¿Æ²ÄÁÏ085601 279Çóµ÷¼Á
ÒѾÓÐ6È˻ظ´
070300»¯Ñ§319Çóµ÷¼Á
ÒѾÓÐ5È˻ظ´
ÉúÎïѧ071000 329·ÖÇóµ÷¼Á
ÒѾÓÐ3È˻ظ´
0703»¯Ñ§µ÷¼Á
ÒѾÓÐ6È˻ظ´
304Çóµ÷¼Á
ÒѾÓÐ12È˻ظ´
288Çóµ÷¼Á£¬Ò»Ö¾Ô¸»ªÄÏÀí¹¤´óѧ071005
ÒѾÓÐ3È˻ظ´
307Çóµ÷¼Á
ÒѾÓÐ3È˻ظ´
312Çóµ÷¼Á
ÒѾÓÐ8È˻ظ´
» ±¾Ö÷ÌâÏà¹Ø¼ÛÖµÌùÍÆ¼ö£¬¶ÔÄúͬÑùÓаïÖú:
¿´µ½ÎÄÏ×ÖеÄÖùÐÎͼ»µÃºÜƯÁÁ£¬Çë½Ì¸ßÊÖ£¬Í¼ÖеÄÖùÐÎͼÊÇÓÃʲôÈí¼þ»µÄ£¿
ÒѾÓÐ12È˻ظ´
Çë½Ì¸ßÊÖ£¬ÓÐÖªµÀ´×ËáË®ÈÜÒºÖбù´×ËáµÄ»ØÊÕÓÐʲôºÃ°ì·¨µÄô лл
ÒѾÓÐ18È˻ظ´
Çë¿´¸½¼þÐý·ç·ÖÀëÆ÷½á¹¹£¬Çë½Ì¸ßÊÖÓ¦¸ÃÔõô»®·ÖÍø¸ñ£¿
ÒѾÓÐ29È˻ظ´
Ïë×Ô¼ºÉè¼ÆÓ²¼þµç·²¢ÊµÏÖ£¬Ïë´ÓÁãѧÆð£¬Çë½Ì¸ßÊÖÖ¸µã£¬Õâ·½Ãæ×îºÃ×îÈ«µÄÊéÊÇʲô£¿
ÒѾÓÐ10È˻ظ´
Çë½Ì¸ßÊÖ: LJÊÆÖеÄÖ¸ÊýÖ»ÄÜÊÇ6-12Âð£¿
ÒѾÓÐ4È˻ظ´
Çë½Ì¸ßÊÖ£¬°ïÎÒ¿´ÏÂÌùÖÐͼƬµÄË®ÌåÊÇʲôÎÊÌ⣬лл
ÒѾÓÐ19È˻ظ´
SDS-PAGE ÎÒµÄÑùƷûÓÐÅܳöÌõ´ø£¬Çë½Ì¸ßÊÖ£¡Ð»Ð»£¡
ÒѾÓÐ7È˻ظ´
Çë½Ì¸ßÊÖPLATON-SQUEEZE³ÌÐòµÄÒ»µãСÎÊÌâ
ÒѾÓÐ6È˻ظ´
¡¾ÇóÖú¡¿Çë½Ì¸ßÊÖÈý¼Û¸ñÔõô±ä³ÉÁù¼Û¸õ£¿
ÒѾÓÐ4È˻ظ´
¡¾ÇóÖú¡¿Çë½Ì¸ßÊÖ£ºÓÐͼ--»¯Ñ§Î»ÒÆÔ¼5.2´¦µÄ´ó°ü·åÊÇʲô£¿
ÒѾÓÐ17È˻ظ´
¡¾ÇóÖú¡¿Ïò¸÷λ¸ßÊÖÇë½Ì£ºÈç¹ûÎÒÏëÑо¿·Ö×Óµ¼Ïߵĵ¼µçÐÔ£¬Ó¦¸Ã¿´Ê²Ã´Ê飬ѧϰʲôÈí¼þ
ÒѾÓÐ6È˻ظ´
¡¾ÇóÖú¡¿´ò¿ªMS£¬¾³£³öÏÖ openclipboard ʧ°Ü£¬Çë½Ì¸ßÊÖ
ÒѾÓÐ8È˻ظ´
¡¾ÇóÖú¡¿ÇëÎÊÓÃʲô±íÕ÷ÊֶοÉÒÔÈ·¶¨ÎÒÕâ¸öÎïÖʽṹ,Çë¸ßÊÖÖ¸µã£¬¸ß½ðÐüÉÍ£¡
ÒѾÓÐ20È˻ظ´
¡¾ÇóÖú¡¿Çë½Ì¸ßÊÖ°ïæ£¬1,5-¶þäåÝÁ¾Õý¶¡»ùﮣ¬ï®äå½»»»ÉÏTMS£¬²úÂÊÏ൱µÍ£¿£¿
ÒѾÓÐ17È˻ظ´
Çë½Ì¸÷λ¸ßÊÖ£º¿ª»ú×ÔÆô¶¯³ÌÐò×îºÃ²»Òª³¬¹ý¶àÉÙ£¿
ÒѾÓÐ10È˻ظ´
¡¾ÇóÖú¡¿SAS±à³Ì³öÁË´í£¬¿´²»¶®£¬Çë½Ì¸ßÊÖ
ÒѾÓÐ8È˻ظ´
haier20022
гæ (ÕýʽдÊÖ)
- Ó¦Öú: 23 (СѧÉú)
- ½ð±Ò: 793.2
- ºì»¨: 1
- Ìû×Ó: 488
- ÔÚÏß: 32.6Сʱ
- ³æºÅ: 2571738
- ×¢²á: 2013-07-29
- רҵ: ¼ÆËã»ú¿ÆÑ§µÄ»ù´¡ÀíÂÛ
2Â¥2013-10-20 13:33:29
feixiaolin
ÈÙÓþ°æÖ÷ (ÎÄ̳¾«Ó¢)
-

ר¼Ò¾Ñé: +518 - ÐÅÏ¢EPI: 3
- Ó¦Öú: 942 (²©ºó)
- ¹ó±ö: 1.275
- ½ð±Ò: 3430
- É¢½ð: 58785
- ºì»¨: 532
- ɳ·¢: 11
- Ìû×Ó: 24215
- ÔÚÏß: 2601.8Сʱ
- ³æºÅ: 2139575
- ×¢²á: 2012-11-21
- רҵ: ¹âѧÐÅÏ¢»ñÈ¡Óë´¦Àí
- ¹ÜϽ: Êýѧ
|
function Y = sampleWithR(weights,K) % ÒÀÈ¨ÖµÖØ²ÉÑù£» cdf = cumsum(weights); % ȨֵÀÛ¼Ó Y = histc(rand(K,1)*cdf(end),[0; cdf]); % ͳ¼ÆÖ±·½Í¼ Y = [Y(1:end-2); Y(end-1)+Y(end)]; % Ö±·½Í¼×îĩһbinÐÞÕý |
3Â¥2013-10-20 14:40:26
xmcrobbie
Òø³æ (СÓÐÃûÆø)
- Ó¦Öú: 0 (Ó×¶ùÔ°)
- ½ð±Ò: 868.2
- ºì»¨: 2
- Ìû×Ó: 262
- ÔÚÏß: 27Сʱ
- ³æºÅ: 2625854
- ×¢²á: 2013-08-30
- ÐÔ±ð: GG
- רҵ: ģʽʶ±ð
4Â¥2013-10-20 16:30:32
coolslj
½ð³æ (ÕýʽдÊÖ)
- Ó¦Öú: 16 (СѧÉú)
- ½ð±Ò: 1773.5
- ºì»¨: 1
- Ìû×Ó: 849
- ÔÚÏß: 189.7Сʱ
- ³æºÅ: 1553560
- ×¢²á: 2011-12-27
- רҵ: ÐźÅÀíÂÛÓëÐźŴ¦Àí
¡¾´ð°¸¡¿Ó¦Öú»ØÌû
¡ï ¡ï ¡ï ¡ï ¡ï
¸Ðл²ÎÓ룬ӦÖúÖ¸Êý +1
xmcrobbie: ½ð±Ò+2 2013-11-04 15:32:52
xmcrobbie: ½ð±Ò+3 2013-11-04 15:33:37
¸Ðл²ÎÓ룬ӦÖúÖ¸Êý +1
xmcrobbie: ½ð±Ò+2 2013-11-04 15:32:52
xmcrobbie: ½ð±Ò+3 2013-11-04 15:33:37
|
Generates K samples from the discrete distribution specified by weights ¸ù¾ÝÀëÉ¢·Ö²¼½øÐвÉÑù£¬¸Ã·Ö²¼ÓÃÑù±¾È¨Öرíʾ rand(K,1)*cdf(end)µÄÄ¿µÄÊÇ£º½«²úÉúµÄ0-1Ö®¼äµÄËæ»úÊý£¬·ÅËõµ½ÉÏÊöÀëÉ¢·Ö²¼£¨ÒòÎªÈ¨ÖØweightsµÄ×ܺͿÉÄܲ»µÈÓÚ1£©¡£²»·Á¼ÙÉèrand(K,1)·µ»Ø1£¬¾ÍÈÝÒ×Àí½âËüµÄº¬ÒåÁË¡£ [0; cdf] µÄº¬ÒåÓëcumsumµÄ¾ßÌåʵÏÖÓйء£ |
5Â¥2013-10-21 08:20:40
xmcrobbie
Òø³æ (СÓÐÃûÆø)
- Ó¦Öú: 0 (Ó×¶ùÔ°)
- ½ð±Ò: 868.2
- ºì»¨: 2
- Ìû×Ó: 262
- ÔÚÏß: 27Сʱ
- ³æºÅ: 2625854
- ×¢²á: 2013-08-30
- ÐÔ±ð: GG
- רҵ: ģʽʶ±ð
6Â¥2013-10-21 15:10:19
coolslj
½ð³æ (ÕýʽдÊÖ)
- Ó¦Öú: 16 (СѧÉú)
- ½ð±Ò: 1773.5
- ºì»¨: 1
- Ìû×Ó: 849
- ÔÚÏß: 189.7Сʱ
- ³æºÅ: 1553560
- ×¢²á: 2011-12-27
- רҵ: ÐźÅÀíÂÛÓëÐźŴ¦Àí
7Â¥2013-10-22 12:50:06
xmcrobbie
Òø³æ (СÓÐÃûÆø)
- Ó¦Öú: 0 (Ó×¶ùÔ°)
- ½ð±Ò: 868.2
- ºì»¨: 2
- Ìû×Ó: 262
- ÔÚÏß: 27Сʱ
- ³æºÅ: 2625854
- ×¢²á: 2013-08-30
- ÐÔ±ð: GG
- רҵ: ģʽʶ±ð
|
function res = searchImCostTRandEndc (im,len,wid,MAX_NUM,thresh,currAngles) %[res,respOut] = getSegments (im,frameNum,len,wid,thresh,currAngles) %Searches binary im for patches of size len by wid of white %Randomized version, thresh is the number of examples to return SUPPRESS = 0; SCALE = 1/3; %When we weight the background flanks by .5 %SCALE = 1/2; %We want our final log potentials to be between 0 & 10 %FINAL_SCALE = 1/3; [origY, origX, dummy] = size(im); if ~exist('currAngles'), currAngles = 15:15:360; %currAngles = 15:15:180; end if ~exist('roi'), roi = [1 1;origY origX]; end %Thresh is the number of pixels we're allowing to be misclassified if ~exist('thresh') | isempty(thresh), %thresh = 1*len*wid; thresh = 0; end %Convert to a probability %thresh = exp(-thresh/SCALE); %Add the size of our patch to buffer our ROI roi = round(roi + max([len wid])*[-1 -1;1 1]); %Make sure ROI does not exceed our image dimensions roi(1, = max([1 1],roi(1, );roi(2, = min([origY origX],roi(2, );%dtheta = 15; ddir = 1; %Maybe go back to 2? ddir = min(length(currAngles)-1,ddir); dpos = 1; %Maybe go back to 2? im = im(roi(1,1):roi(2,1),roi(1,2):roi(2,2), ;[imy,imx,dummy] = size(im); %Shift our currentAngle currAngles = -90 - currAngles; [len,wid] = deal(round(len),round(wid)); %im = uint8(im); %wwid = ceil(wid/8); %wwid = 2; %imPatch = [zeros(len,wid) ones(len,wid) zeros(len,wid)]; %Use felzenswchab style likelihood %imPatch = [zeros(wid,wid*3); -ones(len,wid) ones(len,wid) -ones(len,wid); -ones(wid,wid*3)]; yy = [-(len-1)/2 len-1)/2].^2/(.4*len.^2);xx = [-(wid-1)/2 wid-1)/2].^2/(.4*wid.^2);[yy,xx] = ndgrid(yy,xx); kk = exp(-(yy + xx)); kk = kk.*(len*wid/(sum(kk( )));imPatch = [zeros(wid,wid*3); -ones(len,wid) kk -ones(len,wid); -ones(wid,wid*3)]; %yind = 1:len; yind = yind - mean(yind); %xind = 1:wid; xind = xind - mean(xind); %[Y,X] = ndgrid(yind/(5*len),xind/(5*wid)); %imPatch = exp(-Y.^2 + -X.^2); resp = zeros([length(currAngles) imy imx]); for dir = 1:length(currAngles), currAngle = -90 - currAngles(dir); kernal = imrotate(imPatch,currAngle); %kernal = kernal./sum(kernal( ); %kernal = kernal./sum(kernal(kernal > 0)); [mm,nn,dummy] = size(kernal); %currResp = filter2(kernal == 1,im == 0,'valid') + .5*filter2(kernal == 0,im == 1,'valid'); %tmp = filter2(kernal == 1,im == 0,'valid'); tmp = filter2(kernal.*(kernal > 0),im == 0,'valid'); currResp = tmp + .25*filter2(kernal < 0,im == 1,'valid'); indy = ceil(mm/2):imy-floor(mm/2); indx = ceil(nn/2):imx-floor(nn/2); if ~isempty(currResp), %resp(dir,indy,indx) = exp(-currResp/SCALE); %currResp = exp(-currResp/SCALE); currResp = exp(-currResp/(len*wid*SCALE)); %currResp(tmp == sum(kernal( == 1)) = 0;currResp(tmp == sum(kernal(kernal > 0))) = 0; resp(dir,indy,indx) = currResp; end end %keyboard; resp(resp < thresh) = 0; %ord = find(sampleWithR(exp(-resp( /(len*wid)),thresh));%%%%%%%%%%%%ÔÚÕâÀïµ÷ÓÃÁËsampleWithR%%%%%%% ord = find(sampleWithR(resp( ,MAX_NUM));resp = resp(ord); [resp,I] = sort(resp); resp = flipud(resp); ord = ord(flipud(I)); %ord = ord(I); res.resp = resp; %res.resp = resp.^(1/FINAL_SCALE); [ang i j] = ndgrid(pi/180*currAngles,roi(1,1):roi(2,1), roi(1,2):roi(2,2)); res.resp = resp; ang = ang(ord); res.u = cos(ang); res.v = sin(ang); res.x = j(ord); res.y = i(ord); res.len = len/2*ones(size(resp)); res.w = wid/2*ones(size(resp)); |
8Â¥2013-10-22 14:30:50
xmcrobbie
Òø³æ (СÓÐÃûÆø)
- Ó¦Öú: 0 (Ó×¶ùÔ°)
- ½ð±Ò: 868.2
- ºì»¨: 2
- Ìû×Ó: 262
- ÔÚÏß: 27Сʱ
- ³æºÅ: 2625854
- ×¢²á: 2013-08-30
- ÐÔ±ð: GG
- רҵ: ģʽʶ±ð
9Â¥2013-10-22 14:34:02













»Ø¸´´ËÂ¥
= max([1 1],roi(1,
len-1)/2].^2/(.4*len.^2);