Advertisement
Guest User

Untitled

a guest
Dec 10th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. [x,y] = ind2sub(size(masked(:,:,1)), conncomps{1}.PixelIdxList{1});
  2. figure(1)
  3. subplot(1,2,1)
  4. imshow(masked(:,:,1));
  5. subplot(1,2,2)
  6. imshow(masked(:,:,1));
  7. hold on
  8. plot(y,x,'rx')
  9. plot(round(F{1,1}(4)),round(F{1,1}(5)), 'bx')
  10.  
  11. map1 = cell(size(F,1),1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement