maximum pixel intensity of image
이전 댓글 표시
My current project is based on CCD and LASER. i want to calculate maximum intensity of laser strip on ccd.. so please give me a code to find maximum intensity pixel and location of that pixel as row and column..
채택된 답변
추가 답변 (4개)
Matt J
2012년 10월 2일
[maxval,idx]=max(image(:));
[row,col]=ind2sub(size(image), idx);
Lalit Patil
2012년 10월 3일
0 개 추천
댓글 수: 5
Lalit Patil
2012년 10월 3일
Image Analyst
2012년 10월 3일
Yes, taking the blue channel will give you the best contrast for a red laser. Of course that doesn't solve the location (centroid) problem.
Nonu 007
2015년 10월 29일
Hey I am doing same analysis. But now i want a cross-section line of beam at highest intensity. Can you suggest me what to do for that... Please reply asap. thanks in advance.
Image Analyst
2015년 10월 29일
Try improfile().
Nonu 007
2015년 11월 1일
Hello Image Analyst. I am trying that too but I am not getting a single line of cross section in 2D at highest Peak. Here i am attaching a fig. May be from that you can help me.

I want a cross section line like this from the image at max intensity.
Shel
2018년 10월 10일
0 개 추천
Hi, I am using max(I(:)) on my image but the error "Index exceeds matrix dimensions. " shows up ... do you know what the problem is?
댓글 수: 1
카테고리
도움말 센터 및 File Exchange에서 Region and Image Properties에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!