Overlaying a background image with data from another program which are not to scale?

조회 수: 1 (최근 30일)
Hi,
I have plotted some contour or spot maps in Matlab from analysis performed in another program which also imports an array showing the configuration of the structure.
I am trying to superimpose these with a background image showing a map or site layout drawing of the location I am investigating. Now given that the background and the structure are exactly the same configuration but of different scales can they be rescaled within Matlab to fit together? So what I end up with is a trace of the analysis data on the background image all to scale.
I thought this analogy may be a good example of what I explained above as it is on the same priciple: (i) My background image is a floor plan showing only the outline of rooms paths etc (ii) In another program I have designed the interior furniture (e.g. tv, tables, chairs etc) along with the outline of the building (i.e. not the entire room outlines, circulation as described in (i)) (iii) Both (i) and (ii) are different scales. (iv) Can the two be scaled together to fit? Do I need to use the image processing tool? I hope that explains the problem.
Many thanks, Al
  댓글 수: 3
Al-Mansoor
Al-Mansoor 2013년 5월 29일
One image, which I want to use as the background is solid (a bitmap file which is read into Matlab). The other image is a series of objects or outlines in 2d representing buried metalwork and contours on the same plot representing varying voltage potentials. I am trying to fit the buried metalwork to the solid image (which in this case contains the metalwork position and other locations of plant, barriers, indoor facilities etc in other cases the solid image may only contain the above ground elements (i.e. minus the buried metal) like a google map image for example) but the outline of the site should be similar or matchable if the image can be rescaled.
I am thinking now it would be beneficial to rescale the solid image so the plotted data could maintain it's x and y coordinates which are important to my analysis. If the coordinates weren't an issue I would use photoshop as my colleague suggested. I hope this doesn't confuse you even more.
Al-Mansoor
Al-Mansoor 2013년 5월 29일
Otherwise is there an alternative package which can act as an interface if this isn't possible in Matlab.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by