December 1, 2017 at 3:32 am #971
many thanks for your help!
Both ways worked well, except combining the labels
v.img(v.img==l1||v.img==l2)=l1; %combine labels l1 and l2
Operands to the || and && operators must be convertible to logical scalar values
using only | instead of || does not combine the labels…
any idea ?
many thanks, mike