Putting horizontal lines on two images placed side by side after every 20 pixels heightwise.
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello, I have two images and I want to put those two images side by side and then want to draw horizontal lines on those images in a gap of every 20 pixels heightwise. For example if height is 480 pixels then number of lines will be 480/20 = 24. All 24 lines at equal distance of 20 pixels on both images. Following figure shows the demo what I want.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/167137/image.jpeg)
I did this in Python but want to do same in Matlab. Also, I don't want to change images sizes. I know I can used
imshowpair(J1, J2, 'montage')
but I am not able to draw horizontal lines on this montage. My images are :
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/167138/image.jpeg)
<<
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/167139/image.jpeg)
>>
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Support Package for USB Webcams에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!