How to create envelope of local maximum and minimum differentlly of an input image ?
4 views (last 30 days)
Show older comments
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 Comments
Image Analyst
on 22 Dec 2013
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?
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!