Data hiding Matlab

4 ビュー (過去 30 日間)
Vino
Vino 2011 年 10 月 3 日
I gave the binary message as 01101001 format and input as 6*6 image. But getting error as index exceeds matrix dimensions in the below line. stegoI(i:i+2,j:j+2)=embed(I(i:i+2,j:j+2),message(indexm:indexm+1)); Can you please clarrify my doubt. Thank you

採用された回答

Jan
Jan 2011 年 10 月 3 日
Please post the relevant part of the code. It is not possible to guess, if "embed" is a matrix or a function. E.g. "message" could be shorter than "imdexm+1" etc.
A recommended method to solve such problems is the debugger:
dbstop if error
Then MATLAB stops, if the error occurs and you can inspect the values of the variables to find the cause of the problem. This is more efficient than asking the forum.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDebugging and Analysis についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by