matlab - How a apply a threshold in particular area of an image? -


i have image of 240x20 pixels. have calculated oprtimum threshold find noise in image. after observing particular area of images contain noise 20 70 in x-direction.

now want apply threshold in particular area. easy way possible.

if understand question correctly, might trick (only tested in octave):

bw = im2bw(i(y1:y2, x1:x2, :), threshold); % y1 = start row % y2 = end row % x1 = start column % x2 = end row % last column color images, address color channels % bw extract image threshold applied 

Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -