Multiply plot line and matrix image

3 Ansichten (letzte 30 Tage)
Snapshot83
Snapshot83 am 3 Mär. 2016
Kommentiert: Image Analyst am 3 Mär. 2016
Goodevening to everybody,
I have an image that represents a spectral emission from a gas. So It means that I have an image with different "lines" in false color that represent the intensity of the emission of this gas. Now I know a theoretical curve that represent a "multilayer mirror", it means a sort of filter that permits to see only part of these bands and attenuate the others. So If I load correctly this plot and the image, I suppose that I can get a new image in which I can observe the attenuation of this effect.
My goal, so, is to multiply a plot line by an image in order to get a new image.
I simply load the image and the plot but without success.
I operated on this way:
A = importdata('C:\Users\Alfio\Dropbox\Stitch2.tif')
A =
cdata: [78x376 uint8]
colormap: [256x3 double]
>> B = importdata ('C:\Users\Alfio\Dropbox\MLM.xlsx')
B =
data: [315x2 double]
textdata: {'--' '--'}
colheaders: {'--' '--'}
>> C = A.*B
Undefined function 'times' for input arguments of type 'struct'.
I have Matlab2014 a version. Can anyone help me ?
Thanks in advance.
  4 Kommentare
Guillaume
Guillaume am 3 Mär. 2016
Yes, your explanation helps a lot. You want to filter a spectral image.
Attach the spectral image and the filter (I assume it's the excel file) to your question. That would help even more.
Also explain what the values in the filter represents. It would appear that it has two columns. What are columns 1 and 2 and what do the rows represent.
Image Analyst
Image Analyst am 3 Mär. 2016
Don't make us work blind. After you read this, attach your image and any other diagrams that might help explain your problem better.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by