Problem 60536. Jigsaw 001: Intro 2x2 square. Pieces 128x128
This challenge is to re-assemble camerman.tif in grayscale from four 128x128 pieces into a 256x256 image.
The pointer layout of the image is [1 3; 2 4].
Return a four value vector that remaps the scrambled image into an original form.
The displayed scramble is [2 4 1 3] making the solution [3 1 4 2].
The four pieces will be provided as matrices in a cell array, along with size of puzzle in pieces and piece size.
This series will explore various puzzle pieces, orientations, sizes,double sided, and ultimately DARPA shredder data.
Multiple methods are provided in the template to achieve re-mapping. Which will work and which will fail?
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers5
Suggested Problems
-
2446 Solvers
-
Set some matrix elements to zero
524 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
815 Solvers
-
Detect a number and replace with two NaN's
190 Solvers
-
241 Solvers
More from this Author308
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!