Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Huffman Coding in Digital Image Processing with example & its Implementation in MATLAB ||Compression

Автор: Study with Dr. Dafda

Загружено: 2022-07-17

Просмотров: 11335

Описание:

Video lecture series on Digital Image Processing, Lecture: 39,
Huffman coding in Digital Image Processing with example and its Implementation in MATLAB
Coding redundancy
Image Compression
Link of Hindi Version of this lecture:    • Huffman Coding in Digital Image Processing...  

Link to download ppts/lecture notes:
https://drive.google.com/drive/folder...

#DIP
#DIPwithMATLAB
#DigitalImageProcessingUsingMATLAB
#DigitalImageProcessing
#StudywithDrDafda
MATLAB code developed for the video...
%Program for Huffman encoding and decoding
close all;
clear all;
clc;
I = imread('Cameraman.tif');
I = imresize(I, [4 NaN]);
disp('the pixel values are:');
disp(I);
% % % other example I values
% I = [4 5 3 2
% 5 6 4 1
% 3 2 4 2
% 2 3 2 3];
% I = [ 3 3 3 2
% 2 3 3 3
% 3 2 2 2
% 2 1 1 0];
subplot(1,2,1);
imshow(uint8(I));
title('Original image');
[m,n] = size(I);
Totalcount=m*n;
symbols = unique(I);
disp('the unique symbols are');
disp(symbols);
counts=histc(I(:),symbols);
pro=counts./Totalcount;
disp('the probabilities are:');
disp(pro);
[dict,avglen]=huffmandict(symbols,pro);
disp('the average length of the code is :');
disp(avglen);
H=entropy(uint8(I));
disp('Entropy is:');
disp(H);
E=(H/avglen)*100;
disp('Efficiency is:');
disp(E);
disp('Compression ratio is:');
Cr=(Totalcount*8)/(Totalcount*avglen)
disp('Relative data redundancy is:');
RD = (1 - (1/Cr))*100
newvec=reshape(I.',1,[] );
hcode=huffmanenco(newvec,dict);
disp('The Huffman encoded code is:');
disp(hcode);
DD1=huffmandeco(hcode,dict);
disp('The Huffman decoded code is:');
disp(DD1);
DD=uint8(DD1);
Restore=reshape(DD,4,4);
subplot(1,2,2);
imshow(Restore.');
title('Decoded Image');

Huffman Coding in Digital Image Processing with example & its Implementation in MATLAB ||Compression

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Arithmetic Coding in Digital Image Processing with example&its Implementation in MATLAB||Compression

Arithmetic Coding in Digital Image Processing with example&its Implementation in MATLAB||Compression

3.4 Кодирование Хаффмана — жадный метод

3.4 Кодирование Хаффмана — жадный метод

Digital Image Processing

Digital Image Processing

LZW-кодирование | Цифровая обработка изображений

LZW-кодирование | Цифровая обработка изображений

Thresholding : Global and Adaptive(local) in DIP and its implementation in MATLAB

Thresholding : Global and Adaptive(local) in DIP and its implementation in MATLAB

5. Huffman Coding Example | Huffman Coding Algorithm in Digital Image Processing & Data Compression

5. Huffman Coding Example | Huffman Coding Algorithm in Digital Image Processing & Data Compression

LZW compression using easy method(Dictionary-based coding)in DIP & its Implementation in MATLAB #DIP

LZW compression using easy method(Dictionary-based coding)in DIP & its Implementation in MATLAB #DIP

these compression algorithms could halve our image file sizes (but we don't use them) #SoMEpi

these compression algorithms could halve our image file sizes (but we don't use them) #SoMEpi

Основные этапы цифровой обработки изображений — Введение в цифровую обработку изображений || #DIP

Основные этапы цифровой обработки изображений — Введение в цифровую обработку изображений || #DIP

Huffman Encoding - Image Compression | Digital Image Processing 9 | MATLAB

Huffman Encoding - Image Compression | Digital Image Processing 9 | MATLAB

Улучшение изображения при цифровой обработке изображений с помощью выравнивания гистограммы

Улучшение изображения при цифровой обработке изображений с помощью выравнивания гистограммы

7. Кодирование Хаффмана (простой пример) | Сжатие изображений | Цифровая обработка изображений

7. Кодирование Хаффмана (простой пример) | Сжатие изображений | Цифровая обработка изображений

L41 | Huffman Coding | Lossless Compression Algorithm || Digital Image Processing (AKTU)

L41 | Huffman Coding | Lossless Compression Algorithm || Digital Image Processing (AKTU)

Взаимосвязь между пикселями. Соседство и смежность пикселей.

Взаимосвязь между пикселями. Соседство и смежность пикселей.

Typst: Современная замена Word и LaTeX, которую ждали 40 лет

Typst: Современная замена Word и LaTeX, которую ждали 40 лет

Variable Length Coding (Prefix Coding) |  Lecture 5| Information Theory & Coding Technique| ITCCN

Variable Length Coding (Prefix Coding) | Lecture 5| Information Theory & Coding Technique| ITCCN

Huffman Coding Technique for binary system.

Huffman Coding Technique for binary system.

Обнаружение точек, линий и краёв в DIP и его реализация в MATLAB || Сегментация изображений|| #DIP

Обнаружение точек, линий и краёв в DIP и его реализация в MATLAB || Сегментация изображений|| #DIP

Huffman Coding Visually Explained

Huffman Coding Visually Explained

L40 | Run-length Coding (RLC) | Lossless Compression Algorithm || Digital Image Processing (AKTU)

L40 | Run-length Coding (RLC) | Lossless Compression Algorithm || Digital Image Processing (AKTU)

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com