This question is closed. Reopen it to edit or answer.
how swap the bits position of image A(I,j).please correct the mistake.
1 view (last 30 days)
Show older comments
Sultan Mehmood on 12 Jul 2018
Commented: Guillaume on 12 Jul 2018
A= imread('camera man.png');
if x(n-1)>=0 & x(n-1)<=p
if Q(n-1)>=0 & Q(n-1)<=p
bits = bitget(A(I,j),[L,P]);
Guillaume on 12 Jul 2018
I have showed several of the problems in your other question.
These problems have nothing to do with the swapping of the bits. They're much earlier than that.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!