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

1 view (last 30 days)
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 Comments
Al-Mansoor
Al-Mansoor on 29 May 2013
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 on 29 May 2013
Otherwise is there an alternative package which can act as an interface if this isn't possible in Matlab.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!