To restore the original image dimension after applying masks.
이전 댓글 표시
Hello Sir,
How to get the original image dimension , when i apply
mask = img >= 190 & img <= 226;
img( mask) =255
my images size is 712x1825 uint8, some are greater than 3000 , matlb does give me my original size of the image,
when i resize the image" img = imresize(I, 0.4 )" after getting output of the images. I want to take the precision , recall and F_measure with ground_thruth of the dataset, it gives me the error "Matrix dimensions must agree.".. Now my question is that after apply mask how get the original size or dimension of the images???
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Images에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!