Matlab code to descramble an image using the following steps?

1 回表示 (過去 30 日間)
Lucas  Buckels
Lucas Buckels 2017 年 3 月 29 日
コメント済み: Walter Roberson 2017 年 3 月 29 日
  • Create a blank image of the same size as the image puzzle
  • Go to every row and column location in the image and do the following:– Move the current pixel to a new row and column location in the blank image:
  • If at an even col index, use the formula: newColumn = column/2
  • If at an odd col index, use the formula: newColumn = (column + 1)/2 +imageWidth/2
  • If at an a row in top half of image, use the formula: newRow = imageHeight/2 +1 − row
  • If at an a row in bottom half of image, use the formula: newRow = 3 ∗imageHeight/2 + 1 − row

回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by