91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 6KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-13
  • 語言: Matlab
  • 標簽:

資源簡介

MATLAB自帶去視頻抖動程序,代碼已調通,只需把讀入的文件名稱改成相同路徑下自己的文件名即可。

資源截圖

代碼片段和文件信息

%%?Video?Stabilization?Using?Point?Feature?Matching
%?This?example?shows?how?to?stabilize?a?video?that?was?captured?from?a
%?jittery?platform.?One?way?to?stabilize?a?video?is?to?track?a?salient
%?feature?in?the?image?and?use?this?as?an?anchor?point?to?cancel?out?all
%?perturbations?relative?to?it.?This?procedure?however?must?be
%?bootstrapped?with?knowledge?of?where?such?a?salient?feature?lies?in?the
%?first?video?frame.?In?this?example?we?explore?a?method?of?video
%?stabilization?that?works?without?any?such?_a?priori_?knowledge.?It
%?instead?automatically?searches?for?the?“background?plane“?in?a?video
%?sequence?and?uses?its?observed?distortion?to?correct?for?camera?motion.
%
%?This?stabilization?algorithm?involves?two?steps.?First?we?determine?the
%?affine?image?transformations?between?all?neighboring?frames?of?a?video
%?sequence?using?the?|estimateGeometricTransform|?function?applied?to?point
%?correspondences?between?two?images.?Second?we?warp?the?video?frames?to
%?achieve?a?stabilized?video.?We?will?use?the?Computer?Vision?System
%?Toolbox(TM)?both?for?the?algorithm?and?for?display.
%
%?This?example?is?similar?to?the?%?Example>.?The?main?difference?is?that?the?Video?Stabilization?Example?is
%?given?a?region?to?track?while?this?example?is?given?no?such?knowledge.
%?Both?examples?use?the?same?video.

%??Copyright?2009-2010?The?MathWorks?Inc.

%%?Step?1.?Read?frames?from?a?Movie?File
%?Here?we?read?in?the?first?two?frames?of?a?video?sequence.?We?read?them?as
%?intensity?images?since?color?is?not?necessary?for?the?stabilization
%?algorithm?and?because?using?grayscale?images?improves?speed.?Below?we
%?show?both?frames?side?by?side?and?we?produce?a?red-cyan?color?composite
%?to?illustrate?the?pixel-wise?difference?between?them.?There?is?obviously
%?a?large?vertical?and?horizontal?offset?between?the?two?frames.

filename?=?‘ren.avi‘;
hVideoSrc?=?vision.VideoFileReader(filename?‘ImageColorSpace‘?‘Intensity‘);

imgA?=?step(hVideoSrc);?%?Read?first?frame?into?imgA
imgB?=?step(hVideoSrc);?%?Read?second?frame?into?imgB

%figure;?imshowpair(imgA?imgB?‘montage‘);
%title([‘frame?A‘?repmat(‘?‘[1?70])?‘frame?B‘]);

%%
%figure;?imshowpair(imgAimgB‘ColorChannels‘‘red-cyan‘);
%title(‘Color?composite?(frame?A?=?red?frame?B?=?cyan)‘);

%%?Step?2.?Collect?Salient?Points?from?Each?frame
%?Our?goal?is?to?determine?a?transformation?that?will?correct?for?the
%?distortion?between?the?two?frames.?We?can?use?the
%?|estimateGeometricTransform|?function?for?this?which?will?return?an
%?affine?transform.?As?input?we?must?provide?this?function?with?a?set?of
%?point?correspondences?between?the?two?frames.?To?generate?these
%?correspondences?we?first?collect?points?of?interest?from?both?frames
%?then?select?likely?correspondences?between?them.
%
%?In?this?step?we?produce?these?candidate?points?for?each?frame.?To?have
%?the?best?chance?that?these?points?will?have?corresponding?points?in?the
%?other?frame?we?want?p

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????13866??2017-09-18?22:27??remove\qudoudong.m

?????文件?????????90??2017-11-13?14:34??remove\readme.txt

?????目錄??????????0??2017-11-13?14:33??remove

-----------?---------??----------?-----??----

????????????????13956????????????????????3


評論

共有 條評論

相關資源