How to make the code for spatial_ca​libration_​demo( given from your side, 312 lines) to a code of around 100 lines?

1 view (last 30 days)
Respected Sir/Madam(Image Analyst),
Here is my sincere request that since the program of spatial_calibration_demo() is of 312 lines, and it is becoming very difficult for me to reduce its size to around 100 lines. Since there is a need to reduce the number of lines of code.It does not mean that I'm not worked on it to reduce its size. I tried a lot in reducing its size. And every time I'm getting so many errors.
1. The main thing is that I wanted the code only to measure the distance only for one image not for the several image. Menu should contains only my own image and exit option
2. Not for measuring its area or intensity profile and RGB information.
3. Please Analyst, I'm in crucial situation since I'm a learner and right now frankly speaking, I'm not able to understand that complex code. Please reduce its size, so that it can measure the distance. The code is available in the spatial_calibration_demo() (given from your side) Please help me. Please. I have a lots of hope in you. I'll assure you that I'll learn the complexity of code in the coming days.But right now,because of time constraints it is not possible for me.So please help me for this last request.

Answers (0)

Community Treasure Hunt

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

Start Hunting!