MATLAB Answers

How can I overlap two images/pictures in Matlab?

119 ビュー (過去 30 日間)
Zubair Nizamani
Zubair Nizamani 2016 年 7 月 14 日
Commented: mohammed alany 2019 年 3 月 31 日
I am trying to overlap two pictures one of them is in .jpg file and other is contour plot from MATlab. I want to overlap on one an other to compare the contour lines. Does any body know what code can be or any manual way?

  0 件のコメント

サインイン to comment.

件の回答 (2)

David Young
David Young 2016 年 7 月 14 日
You can use hold to superimpose contour lines on an image. Here's an example:
% Get an image from a jpg file
img = imread('street1.jpg');
% display it
% superimpose a contour map (in this case of the image brightness)
hold on;
contour(rgb2gray(img), 5);
hold off;

  2 件のコメント

ted as
ted as 2017 年 4 月 9 日
hello this is my first question in mathworks . im trying to analyse via fft some data but due to the fact that i have some gaps in my measurements and since i have one measurement every 30 min i'm having hard time to do that correct. thank you in advace ! Ted
Image Analyst
Image Analyst 2017 年 4 月 9 日
What do you want to do with the rows that have missing measurements? Ignore them? Interpolate them?

サインイン to comment.

Image Analyst
Image Analyst 2016 年 7 月 14 日
There is a function for that. It's called imfuse().

  1 件のコメント

mohammed alany
mohammed alany 2019 年 3 月 31 日
many thanks for this answer,

サインイン to comment.

サインイン してこの質問に回答します。

Translated by