Pseudo random sequence matrix from an image

Hello,
How to obtain pseudo random sequence matrix from a Y frame of image which is already converted to YCbCr?
Thanks

답변 (1개)

Ameer Hamza
Ameer Hamza 2020년 12월 3일
편집: Ameer Hamza 2020년 12월 3일

0 개 추천

As the documentation specifies, the Y matrix has values in the range [16 235]/255 for the floating-point datatype. You can do something like this
lims = [16 235]/255;
Y_new = rand(size(T))*diff(lims)+lims(1)
If your matrix is uint8, then use this
lims = [16 235]
Y_new = randi(lims, size(Y))

댓글 수: 1

marie lasz
marie lasz 2020년 12월 3일
Y--luminance of an image. and what is 16?i have to encode 1024 bits in these pseudo rand values

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

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

질문:

2020년 12월 3일

댓글:

2020년 12월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by