In the extract line I’m having a problem( extracted_text_image) Any Help? I need help
%% Return the binary data to text
if mod(length(extracted_bin_message),8) ~= 0
error(‘Length of binary vector must be a multiple of 8.’);
end
binMatrix = reshape(extracted_bin_message,8,[]);
textString = binValues*binMatrix;
extracted_text = char(textString);
isequal(extracted_text, text)
extracted_text_image = uint8(reshape(textString,size(All_img_Malicious{i},1),size(All_img_Malicious{i},2)));
figure, imshow(extracted_text_image)
isequal(text_image, extracted_text_image)
imwrite(uint8(extracted_text_image),[pwd,’DatasetsMulti_K_MK_M_0.4_50Img_Kind’,’Img_Kind_hbpp_’,num2str(hbit_rate),’_’,num2str(i),’.tiff’]);%% Return the binary data to text
if mod(length(extracted_bin_message),8) ~= 0
error(‘Length of binary vector must be a multiple of 8.’);
end
binMatrix = reshape(extracted_bin_message,8,[]);
textString = binValues*binMatrix;
extracted_text = char(textString);
isequal(extracted_text, text)
extracted_text_image = uint8(reshape(textString,size(All_img_Malicious{i},1),size(All_img_Malicious{i},2)));
figure, imshow(extracted_text_image)
isequal(text_image, extracted_text_image)
imwrite(uint8(extracted_text_image),[pwd,’DatasetsMulti_K_MK_M_0.4_50Img_Kind’,’Img_Kind_hbpp_’,num2str(hbit_rate),’_’,num2str(i),’.tiff’]); %% Return the binary data to text
if mod(length(extracted_bin_message),8) ~= 0
error(‘Length of binary vector must be a multiple of 8.’);
end
binMatrix = reshape(extracted_bin_message,8,[]);
textString = binValues*binMatrix;
extracted_text = char(textString);
isequal(extracted_text, text)
extracted_text_image = uint8(reshape(textString,size(All_img_Malicious{i},1),size(All_img_Malicious{i},2)));
figure, imshow(extracted_text_image)
isequal(text_image, extracted_text_image)
imwrite(uint8(extracted_text_image),[pwd,’DatasetsMulti_K_MK_M_0.4_50Img_Kind’,’Img_Kind_hbpp_’,num2str(hbit_rate),’_’,num2str(i),’.tiff’]); #deep_learning #artificialintelligence MATLAB Answers — New Questions