Fitting random areas to a rectangular area
조회 수: 7 (최근 30일)
이전 댓글 표시
Hi everyone, I have a problem to solve.. I have random areas, like side view of a rock, I need to fit these areas to a bigger one. It must be perfect fitting(minimum space areas). Can I do it with a matlab code? Thanks for any help! Mücahit
댓글 수: 1
John D'Errico
2014년 12월 11일
Yes. Of course it CAN do so. You need to write code for that to happen, or perhaps use an existing tool to do so. Since you have provided no information about what you have, in terms of what form it is in, there is no way to even try to help.
Do you have an image? A picture of something? Do you have data in some form that delineates the region?
So essentially, you have told us nothing useful, except a vague goal as to what you want to do. The answer is therefore, yes, MATLAB can do it.
채택된 답변
Image Analyst
2014년 12월 11일
That seems like it would be a very important thing to do for web search engines. Do you like the way Bing and Google do it? They scale the images to the same height and put them in rows. Whether that is the optimal way to do it if you knew in advance the dimensions of all the images, I don't know, but it works for them. Is scaling your images something you can live with? If so, this method is pretty straightforward. If they're files, then you could even use the montage() function in the Image Processing Toolbox . If you have to do it without scaling any of the images, then it seems to be a harder, but more interesting, problem in optimization. Perhaps John or Roger or someone could help with that but it's beyond me.
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!