How to create envelope of local maximum and minimum differentlly of an input image ?
4 次查看(过去 30 天)
显示 更早的评论
Hello, I get max and min values of one row of an image and now I want to create envelope of them differently is my query. Now I got single envelope of combined(maximum and min) points. For this prog is like - grayImage = dicomread('mri_7.dcm');% Get the dimensions of the image oneRow = grayImage(55, :); figure; plot(oneRow); [maxtab, mintab] = peakdet(oneRow, 0.5); hold on; plot(mintab(:,1), mintab(:,2), 'g*'); plot(maxtab(:,1), maxtab(:,2), 'r*'); grid on; set(gcf, 'units','normalized','outerposition',[0 0 1 1]); envelope = abs(hilbert(y)); plot(x, envelope, 'b.-'); grid on; legend('y', 'Envelope of y', 'Hilbert Envelope');
please help me to solve this.
than u
2 个评论
Image Analyst
2013-12-22
I don't know what you want. Can you upload an image, plot, or diagram that illustrates what you're starting with and what want to obtain?
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!