improfile_D & getline_D (changed original functions)

버전 1.0.1 (8.72 KB) 작성자: Dimani4
improfile works with figure handle only+getline function which enables to remain the draw lines on the figure.
다운로드 수: 20
업데이트 날짜: 2020/4/4

라이선스 보기

This is the changed original improfile function which enables to work only with the figure handle. This program very good especially when you work with GUIs when you need improfile to work with certain intensity picture. In addition I changed also getline function which now enables to remain the profile lines you draw on the picture. Now you can draw whatever lines you want on figure and it will give you the corresponding profile pictures. The method of interpolation now is bicubic. If you want to change it to "nearest" or "bilinear" just go to the line 506 or 504 of the improfile_D file and enable the desired line while the line 505 (Method='bicubic') should be disabled.
When you draw your picture just do: image=imagesc(your matrix);
then you just call improfile_D function like this: [xcoordinates,ycoordinates,zcoordinates,PCoordinates]=improfile_D({image});
It returns all the coordinates plus the initial and final coordinates of your profile lines. If you have more than 2 coordinates the profile function draws 3D pictures.
Enjoy!! I just wanted to share this function to you because someone will need this kind of function for sure.
All credits go to the original improfile and getline Matlab functions!!!!

인용 양식

Dimani4 (2024). improfile_D & getline_D (changed original functions) (https://www.mathworks.com/matlabcentral/fileexchange/74868-improfile_d-getline_d-changed-original-functions), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2016b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.1

2 files in zip file

1.0.0