필터 지우기
필터 지우기

Outputting Drawing using image Processing

조회 수: 1 (최근 30일)
san chir
san chir 2017년 1월 27일
댓글: John D'Errico 2017년 2월 20일
Hey guys,
I was trying to write a small script to output a room layout drawing (similar to the attached picture), Just wanted to get an opinion from you guys on weather or not this was possible.
Was thinking to create a new image and draw a room by drawing boxes and lines. is this idea a bit far fetched? What would be your recommendation?
thanks in advance, Sanchir
  댓글 수: 2
John D'Errico
John D'Errico 2017년 1월 27일
I'd use some other tool rather than MATLAB to do something like that. ANYTHING is possible. But why not use something designed to do that sort of thing directly?
If you really have only ONE tool (MATLAB) then just start working. Yes, it is just a set of boxes, some lines, some text. It is doable. Start with a script. Draw one line. Then draw another. Draw some boxes. Learn how to use tools like text, patch, line, etc.
But MATLAB would not be my choice of tool for this.
John D'Errico
John D'Errico 2017년 2월 20일
Personally, I would choose a tool like Photoshop, only because I have some familiarity with it from the past. Better would be to use a tool designed to do layout.

댓글을 달려면 로그인하십시오.

채택된 답변

Image Analyst
Image Analyst 2017년 1월 28일
  댓글 수: 2
Image Analyst
Image Analyst 2017년 2월 20일
Programming it up will probably take longer than manually drawing the lines in revit or Phohtoshop. And then the program will only work for that one floor plan.
John D'Errico
John D'Errico 2017년 2월 20일
Exactly. I don't see that writing code to draw lines is any faster than a few mouse clicks. If you had some sort of layout that was parameterized in someway, so you wanted to change a layout on the fly, simply by changing some parameter, that would be different. But the drawing you show is not at all something easily parameterized in any mathematical form.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Entering Commands에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by