Effacer les filtres
Effacer les filtres

get grayImage from bitImage

4 vues (au cours des 30 derniers jours)
Elysi Cochin
Elysi Cochin le 17 Fév 2019
% Compute mean in 4-by-4 blocks
kernel = ones(4);
meanImage = conv2(double(grayImage), kernel, 'same') / numel(kernel);
% Compare actual image to mean image.
bitImage = grayImage >= meanImage;
From the bitImage is it possible to get back grayImage

Réponse acceptée

Image Analyst
Image Analyst le 17 Fév 2019
No. There is no way to obtain the original gray level image from a binary image that has been created by thresholding that gray scale image. If you want the gray scale image later, be sure to save your gray scale image variable.

Plus de réponses (0)

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by