Matlab Simulink flip video vertically

조회 수: 3 (최근 30일)
Michal Szumski
Michal Szumski 2017년 1월 29일
댓글: Michal Szumski 2017년 1월 31일
I have made some modifications in original Simulink barcode recognition tool in order to make some research. It is necessary to scan some codes from smartphones as quickly as is it possible. Now it is very inconvenient to put device in proper position due to that video is displayed flipped vertically (not like in mirror). Is it possible to flip it one more time using only Simulink? I have tried to use negative scale but it is not working.
  댓글 수: 1
Michal Szumski
Michal Szumski 2017년 1월 31일
I have solved this problem. I've used "Matlab function" block from simulink/User-Defined Functions and wrote code inside:
function y = fcn(u)
y = flip(u,2);

댓글을 달려면 로그인하십시오.

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by