I need to write a GUI that shows an image and allows to draw on it by selecting different colors
조회 수: 2 (최근 30일)
이전 댓글 표시
I was looking at the 45 sample GUIs
I need something similar to that shown in GUI 39.
The only difference is that the drawing must be done not on a white image but on a specific image.
Then I would need another gui that works with to images, with the same size (which are image A and ASeg, which is the result of segmenting image A)
The GUI should show imag ASeg, and allow the user must to zoom on it. By zooming the user sees just a portion ASeg_Sub of image ASeg. Now, if the user clicks on the image, the GUI should switch the view and show the image A, and precisely the same portion A_Sub.
I hope I have been clear. Could you help me please?
댓글 수: 0
답변 (1개)
Image Analyst
2019년 5월 23일
Attached is a masking demo and a drawing demo that may give you a start.
댓글 수: 4
Image Analyst
2019년 5월 25일
이동: DGM
2023년 2월 14일
Were you using the setColor() method of imfreehand()? Let's see your code.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!