matlab - How to make a mask image? -


i'm using matlab's roipoly create mask.

the problem have many points row , column arguments roipoly. when use fewer points, mean @ order of multiple tens, works correctly, give row , column arguments larger vectors, in order of hundreds, omits , give me mask made part of vectors! know how fix it?

here code:

function outputimage = fillselectedregion(inputimage,row,col)    outputimage = inputimage;   outputimage(:,:) = 0;   outputimage = uint8(roipoly(outputimage,col,row)); 

if knows how fix or using method, please guide me.

any appreciated.


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -