retrieval of original image from its bit planes
    조회 수: 7 (최근 30일)
  
       이전 댓글 표시
    
I have eight different bit planes of a image i.e. bp0-bp7 and now i just want to retrieve original image by combining all these. how it is possible..please suggest.
댓글 수: 0
답변 (1개)
  Guillaume
      
      
 2014년 12월 4일
        
      편집: Guillaume
      
      
 2014년 12월 4일
  
      %bitplanes = randi([0 1], 100, 100, 8); %random array of bit planes
bitplanes = cat(3, bp7, bp6, bp5, bp4, bp3, bp2, bp1, bp0); %assuming bp0 is lsb
bitweight = permute(2.^(7:-1:0), [3 1 2]);
fullimage = sum(bsxfun(@times, bitplanes, bitweight), 3);
댓글 수: 0
참고 항목
카테고리
				Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
