Skip to content

Commit 46c340f

Browse files
committed
updated headers (license, version, year), tweaked display of crowds
1 parent e4a6bfc commit 46c340f

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

MatlabAPI/CocoApi.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
% CocoApi>getImgIds, CocoApi>loadAnns, CocoApi>loadCats,
3838
% CocoApi>loadImgs, CocoApi>segToMask, CocoApi>showAnns
3939
%
40-
% Microsoft COCO Toolbox. Version 0.90
40+
% Microsoft COCO Toolbox. Version 1.0
4141
% Data, paper, and tutorials available at: http://mscoco.org/
42-
% Code written by Piotr Dollar and Tsung-Yi Lin, 2014.
43-
% Licensed under the Simplified BSD License [see private/bsd.txt]
42+
% Code written by Piotr Dollar and Tsung-Yi Lin, 2015.
43+
% Licensed under the Simplified BSD License [see coco/license.txt]
4444

4545
properties
4646
data % COCO annotation data structure
@@ -239,7 +239,7 @@
239239
pFill={'FaceAlpha',.4,'LineWidth',3};
240240
for i=1:n, C=rand(1,3);
241241
if(anns(i).iscrowd), M=double(coco.decodeMask(S{i})); k=k+1;
242-
hs(k)=imagesc(cat(3,M*C(1),M*C(2),M*C(3)),'Alphadata',M*.4);
242+
hs(k)=imagesc(cat(3,M/4,M/4,M/4),'Alphadata',M*.5);
243243
else for j=1:length(S{i}), P=S{i}{j}+1; k=k+1;
244244
hs(k)=fill(P(1:2:end),P(2:2:end),C,pFill{:}); end
245245
end

MatlabAPI/gason.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@
4343
%
4444
% See also
4545
%
46-
% Microsoft COCO Toolbox. Version 0.90
46+
% Microsoft COCO Toolbox. Version 1.0
4747
% Data, paper, and tutorials available at: http://mscoco.org/
48-
% Code written by Piotr Dollar and Tsung-Yi Lin, 2014.
49-
% Licensed under the Simplified BSD License [see private/bsd.txt]
48+
% Code written by Piotr Dollar and Tsung-Yi Lin, 2015.
49+
% Licensed under the Simplified BSD License [see coco/license.txt]
5050

5151
out = gasonMex( in );

MatlabAPI/private/gasonMex.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**************************************************************************
2-
* Microsoft COCO Toolbox. Version 0.90
2+
* Microsoft COCO Toolbox. Version 1.0
33
* Data, paper, and tutorials available at: http://mscoco.org/
4-
* Code written by Piotr Dollar and Tsung-Yi Lin, 2014.
5-
* Licensed under the Simplified BSD License [see private/bsd.txt]
4+
* Code written by Piotr Dollar and Tsung-Yi Lin, 2015.
5+
* Licensed under the Simplified BSD License [see coco/license.txt]
66
**************************************************************************/
77
#include "gason.h"
88
#include "mex.h"

0 commit comments

Comments
 (0)