필터 지우기
필터 지우기

Extracting digital numbers from color panels in images

조회 수: 2 (최근 30일)
Ali Ibrahim
Ali Ibrahim 2017년 1월 28일
댓글: Ali Ibrahim 2017년 2월 16일
Hello, Can anyone help me to fix this code? I am done with it, but it seems there is an error FIND ATTACHED Best,
  댓글 수: 2
Image Analyst
Image Analyst 2017년 1월 28일
You forgot to attach 'CIMG6786.jpg' so we can't run your code until then.

댓글을 달려면 로그인하십시오.

채택된 답변

Image Analyst
Image Analyst 2017년 1월 28일
편집: Image Analyst 2017년 1월 28일
VARI has some nans because of a divide by zero. Set nans to zero like this
VARI(isnan(VARI)) = 0;
The other main problem with the code is that there are no comments in it, so it's not maintainable.
  댓글 수: 10
Walter Roberson
Walter Roberson 2017년 2월 11일
In your get_image_point routine, you have
if size(loc)>1
which should probably be
if size(loc, 1)>1
However, you can skip the test by just coding
loc = loc(1,1:2);
without checking the size.
Ali Ibrahim
Ali Ibrahim 2017년 2월 16일
I have a question.. when I get VCI statistics, I noticed that the value of MAX is 34, which is unusual as the other entries MAX are 1, 1 , 1. Can you help me to fix that? Thanks

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by