Soumettre la recherche
Mettre en ligne
Lecture bmp of C language
•
0 j'aime
•
2,790 vues
H
hg88pro
Suivre
BMP lecture of C language
Lire moins
Lire la suite
Formation
Technologie
Art & Photos
Signaler
Partager
Signaler
Partager
1 sur 13
Télécharger maintenant
Télécharger pour lire hors ligne
Recommandé
150970116028 2140705
150970116028 2140705
Manoj Shahu
基礎影像處理
基礎影像處理
weihan cheng
All About Bitmap Indexes... And Sorting Them
All About Bitmap Indexes... And Sorting Them
Daniel Lemire
Information visualization: information dashboards
Information visualization: information dashboards
Katrien Verbert
Webcam
Webcam
evgesha5555
Optical Mark Recognition
Optical Mark Recognition
Himanshu Popli
OMR-OPTICAL MARK RECOGINITION
OMR-OPTICAL MARK RECOGINITION
Daud Sayyed
Internet and Its Applications
Internet and Its Applications
Vijayalakshmi Murugesan
Recommandé
150970116028 2140705
150970116028 2140705
Manoj Shahu
基礎影像處理
基礎影像處理
weihan cheng
All About Bitmap Indexes... And Sorting Them
All About Bitmap Indexes... And Sorting Them
Daniel Lemire
Information visualization: information dashboards
Information visualization: information dashboards
Katrien Verbert
Webcam
Webcam
evgesha5555
Optical Mark Recognition
Optical Mark Recognition
Himanshu Popli
OMR-OPTICAL MARK RECOGINITION
OMR-OPTICAL MARK RECOGINITION
Daud Sayyed
Internet and Its Applications
Internet and Its Applications
Vijayalakshmi Murugesan
Lecture5 graphics
Lecture5 graphics
Mr SMAK
Webcam Presentation
Webcam Presentation
Alaina Rydzewski
Scanning powerpoint
Scanning powerpoint
slotoa
Scanner
Scanner
linhlantrang15
File formats and its types
File formats and its types
Anu Garg
multimedia technologies Introduction
multimedia technologies Introduction
Mohammed Fareed
Image Processing Basics
Image Processing Basics
Nam Le
File formats
File formats
Little-Bear
Image file formats
Image file formats
Bob Watson
The Ultimate Guide To Converting JPG to DWG
The Ultimate Guide To Converting JPG to DWG
Scan2CAD
Digital Image Processing
Digital Image Processing
Sahil Biswas
PHP applications/environments monitoring: APM & Pinba
PHP applications/environments monitoring: APM & Pinba
Patrick Allaert
Scientific Computing with Python Webinar --- May 22, 2009
Scientific Computing with Python Webinar --- May 22, 2009
Enthought, Inc.
Bitmap management like a boss
Bitmap management like a boss
Somkiat Khitwongwattana
Computer hw1
Computer hw1
Dũng Nguyễn Đức
eBPF maps 101
eBPF maps 101
SUSE Labs Taipei
Introduction to computer architecture .pptx
Introduction to computer architecture .pptx
Fatma Sayed Ibrahim
Proyecto de microcontroladores
Proyecto de microcontroladores
Carlos Molina
ITK Tutorial Presentation Slides-948
ITK Tutorial Presentation Slides-948
Kitware Kitware
eBPF Tooling and Debugging Infrastructure
eBPF Tooling and Debugging Infrastructure
Netronome
Construindo Aplicações Deep Learning com TensorFlow e Amazon SageMaker - MCL...
Construindo Aplicações Deep Learning com TensorFlow e Amazon SageMaker - MCL...
Amazon Web Services
maXbox Starter78 PortablePixmap
maXbox Starter78 PortablePixmap
Max Kleiner
Contenu connexe
En vedette
Lecture5 graphics
Lecture5 graphics
Mr SMAK
Webcam Presentation
Webcam Presentation
Alaina Rydzewski
Scanning powerpoint
Scanning powerpoint
slotoa
Scanner
Scanner
linhlantrang15
File formats and its types
File formats and its types
Anu Garg
multimedia technologies Introduction
multimedia technologies Introduction
Mohammed Fareed
Image Processing Basics
Image Processing Basics
Nam Le
File formats
File formats
Little-Bear
Image file formats
Image file formats
Bob Watson
The Ultimate Guide To Converting JPG to DWG
The Ultimate Guide To Converting JPG to DWG
Scan2CAD
Digital Image Processing
Digital Image Processing
Sahil Biswas
En vedette
(11)
Lecture5 graphics
Lecture5 graphics
Webcam Presentation
Webcam Presentation
Scanning powerpoint
Scanning powerpoint
Scanner
Scanner
File formats and its types
File formats and its types
multimedia technologies Introduction
multimedia technologies Introduction
Image Processing Basics
Image Processing Basics
File formats
File formats
Image file formats
Image file formats
The Ultimate Guide To Converting JPG to DWG
The Ultimate Guide To Converting JPG to DWG
Digital Image Processing
Digital Image Processing
Similaire à Lecture bmp of C language
PHP applications/environments monitoring: APM & Pinba
PHP applications/environments monitoring: APM & Pinba
Patrick Allaert
Scientific Computing with Python Webinar --- May 22, 2009
Scientific Computing with Python Webinar --- May 22, 2009
Enthought, Inc.
Bitmap management like a boss
Bitmap management like a boss
Somkiat Khitwongwattana
Computer hw1
Computer hw1
Dũng Nguyễn Đức
eBPF maps 101
eBPF maps 101
SUSE Labs Taipei
Introduction to computer architecture .pptx
Introduction to computer architecture .pptx
Fatma Sayed Ibrahim
Proyecto de microcontroladores
Proyecto de microcontroladores
Carlos Molina
ITK Tutorial Presentation Slides-948
ITK Tutorial Presentation Slides-948
Kitware Kitware
eBPF Tooling and Debugging Infrastructure
eBPF Tooling and Debugging Infrastructure
Netronome
Construindo Aplicações Deep Learning com TensorFlow e Amazon SageMaker - MCL...
Construindo Aplicações Deep Learning com TensorFlow e Amazon SageMaker - MCL...
Amazon Web Services
maXbox Starter78 PortablePixmap
maXbox Starter78 PortablePixmap
Max Kleiner
COSC 426 Lect. 3 -AR Developer Tools
COSC 426 Lect. 3 -AR Developer Tools
Mark Billinghurst
Work With Images
Work With Images
Sergey Tarasevich
Target updated track f
Target updated track f
Alona Gradman
Chip Ex2010 Gert Goossens
Chip Ex2010 Gert Goossens
Alona Gradman
07.bootstrapping
07.bootstrapping
Donny Maha Putra
20230202 - Introduction to tis-py
20230202 - Introduction to tis-py
Jamie (Taka) Wang
Rpg Pointers And User Space
Rpg Pointers And User Space
ramanjosan
Boost.Python: C++ and Python Integration
Boost.Python: C++ and Python Integration
GlobalLogic Ukraine
Chapter Eight(3)
Chapter Eight(3)
bolovv
Similaire à Lecture bmp of C language
(20)
PHP applications/environments monitoring: APM & Pinba
PHP applications/environments monitoring: APM & Pinba
Scientific Computing with Python Webinar --- May 22, 2009
Scientific Computing with Python Webinar --- May 22, 2009
Bitmap management like a boss
Bitmap management like a boss
Computer hw1
Computer hw1
eBPF maps 101
eBPF maps 101
Introduction to computer architecture .pptx
Introduction to computer architecture .pptx
Proyecto de microcontroladores
Proyecto de microcontroladores
ITK Tutorial Presentation Slides-948
ITK Tutorial Presentation Slides-948
eBPF Tooling and Debugging Infrastructure
eBPF Tooling and Debugging Infrastructure
Construindo Aplicações Deep Learning com TensorFlow e Amazon SageMaker - MCL...
Construindo Aplicações Deep Learning com TensorFlow e Amazon SageMaker - MCL...
maXbox Starter78 PortablePixmap
maXbox Starter78 PortablePixmap
COSC 426 Lect. 3 -AR Developer Tools
COSC 426 Lect. 3 -AR Developer Tools
Work With Images
Work With Images
Target updated track f
Target updated track f
Chip Ex2010 Gert Goossens
Chip Ex2010 Gert Goossens
07.bootstrapping
07.bootstrapping
20230202 - Introduction to tis-py
20230202 - Introduction to tis-py
Rpg Pointers And User Space
Rpg Pointers And User Space
Boost.Python: C++ and Python Integration
Boost.Python: C++ and Python Integration
Chapter Eight(3)
Chapter Eight(3)
Dernier
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17
Celine George
Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...
Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...
Nigar Kadar Mujawar,Womens College of Pharmacy,Peth Vadgaon,Kolhapur,416112
4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx
mary850239
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their uses
VijayaLaxmi84
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
Celine George
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...
Nguyen Thanh Tu Collection
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
Prerana Jadhav
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
DhatriParmar
Indexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdf
Christalin Nelson
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
DhatriParmar
Introduction to Research ,Need for research, Need for design of Experiments, ...
Introduction to Research ,Need for research, Need for design of Experiments, ...
Nigar Kadar Mujawar,Womens College of Pharmacy,Peth Vadgaon,Kolhapur,416112
ClimART Action | eTwinning Project
ClimART Action | eTwinning Project
jordimapav
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
RicaMaeCastro1
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Association for Project Management
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
Stan Meyer
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Sri Sairam College Of Engineering Bengaluru
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
National Information Standards Organization (NISO)
How to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command Line
Celine George
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
karenfajardo43
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Quiz Club NITW
Dernier
(20)
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17
Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...
Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...
4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their uses
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Indexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdf
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Introduction to Research ,Need for research, Need for design of Experiments, ...
Introduction to Research ,Need for research, Need for design of Experiments, ...
ClimART Action | eTwinning Project
ClimART Action | eTwinning Project
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
How to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command Line
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Lecture bmp of C language
1.
Bitmap Image. Embedded
System Engineering
2.
Bitmap Image :
Bitmap Structure File Header BITMAPFILEHEADER Info Header BITMAPINFOHEADER Opt. Palette RGBQUAD[n] Image Data RGBTRIPLE[m]
3.
Bitmap Image :
File Header File Header 14 Info Header 40 Opt. Palette 4n Image Data 3m BM RESERVED
4.
Bitmap Image :
Info Header File Header Info Header 40 Opt. Palette Height Image Data Width
5.
Bitmap Image :
Image Data
6.
Bitmap : Bitmap
- Reading #include <windows.h> FILE*fp; BITMAPFILEHEADERbh; BITMAPINFOHEADERih; RGBTRIPLE pixel; inti= 0; if(!(fp = fopen("lena.bmp", "rb"))) return 0; fread(&bh, sizeof(BITMAPFILEHEADER), 1, fp); fread(&ih, sizeof(BITMAPINFOHEADER), 1, fp); while(fread(&pixel, sizeof(RGBTRIPLE), 1, fp)) { printf("pixel #%5d: %02x %02x %02x", i++, pixel.rgbtBlue, pixel.rgbtGreen, pixel.rgbtRed); } printf("%d pixels read.", i); File Header Info Header Image Data Starting point!
7.
Bitmap : Bitmap
– Writing FILE *fp; BITMAPFILEHEADERbh; BITMAPINFOHEADERih; char pixel[60*30*3]; inti; for( i = 0 ; i < 60 * 30 * 3 ; i+=3 ) { // blue pixel[i] = 0xff; // green pixel[i+1] = 0x00; // red pixel[i+2] = 0x00; } ih.biSize= sizeof(BITMAPINFOHEADER); ih.biWidth= 60; ih.biHeight = 30; ih.biPlanes= 1; ih.biBitCount= 24; ih.biCompression= 0; ih.biSizeImage= sizeof(pixel); ih.biXPelsPerMeter= ih.biYPelsPerMeter = 0; ih.biClrImportant= ih.biClrUsed = 0; bh.bfType= 0x4d42; bh.bfSize= sizeof(BITMAPFILEHEADER) + sizeof(BITMAPINFOHEADER) + sizeof(pixel); bh.bfOffBits= sizeof(BITMAPFILEHEADER) + sizeof(BITMAPINFOHEADER); if(!(fp = fopen("blue.bmp", "wb"))) return 0; fwrite(&bh, sizeof(BITMAPFILEHEADER), 1, fp); fwrite(&ih, sizeof(BITMAPINFOHEADER), 1, fp); fwrite(&pixel, sizeof(pixel), 1, fp); File Header Info Header Image Data 30 60
8.
Bitmap : Practice
#1 Inverting Hint :: Each pixel data(R,G,B) ^ 0xff
9.
Bitmap : Practice
#2 Sepia effect Hint :: Red * 0.299, Green * 0.587, Blue * 0.114
10.
Bitmap : Practice
#3 Draw the flag of NETHERLAND Size : 600 x 300
11.
Bitmap : Practice
#4 Draw the flag of FRANCE Size : 600 x 300
12.
Bitmap : Practice
#5 In this square, there are some black pixels, how many pixels are there? And, where is location of pixels?
13.
Bitmap : Practice
#6 Rotation
Télécharger maintenant