Clear Filters
Clear Filters

Scaling from contour maps into a Sunlight flux map

3 views (last 30 days)
Hi all! I made this contour map from an image of a concentrated sunlight into a focal spot. Image on the left is a contour map and the right is the 3D version of it. The current axis scaling is incorrect.
I know that the total power received is 7.2kW. The tip has the highest input power indicated in the yellow region and reduces towards the sides (blue regions).
I am not sure how I should approach it, my gut instincts tells me that the volume in the 2nd Image is = 7.2kW and if I can add up the number of cubes for a specific region, it should tell me the intensity of light?
Any suggestions/advice is appreciated!
The attached file is the matrix of the image.
  1 Comment
victor law
victor law on 5 Mar 2017
Anyone have any ideas from what I have?
I have figured out an easy way to determine the volume but unsure what to do next.
volume = trapz(trapz(image))
I used trapz twice, as it requires two integrations.

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 5 Mar 2017
I don't know why you think it's wrong. But anyway to normalize the total power in the image you can divide by what power is there and multiply by 7.2
newData = data * 7.2 / sum(data(:));
Not sure what the peak height will be, but the sum of all the data will now be 7.2.
  1 Comment
victor law
victor law on 5 Mar 2017
Thanks image Analyst,
Your solution has guided me well. It was actually a very simple step, V=1678, Pin=7200
All I did was Pin/V * graph, scaled the whole graph by this factor and it worked. In this case, each unit represented 1W and I could read off the Z axis for peak.

Sign in to comment.

More Answers (0)

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!