Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

image header info in image processing

Status
Not open for further replies.

manojb

Newbie level 3
Joined
Jan 3, 2012
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,307
Hello Friends,

I am new to image processing; I am looking for a image which should have a header and pixels.
Example: if I take JPEG header which is having 10 bytes and the end of the image pixels its have one or two bytes, which is the ending byte. (I don’t want like that of image header)
Image Header + pixels only,
Y because I am asking is that I need to process the pixels to some process, and re-image it. I donot want to search for end of image pixels
So help me out,

Thanking u
 

Below is a 16x16 pixel picture of Mona Lisa in jpeg with 85% compression factor and all unnecessary markers removed. It ought to contain 4 jpeg blocks. Maybe it helps?
mona_16x16.jpg

Your question is slightly unclear on what exactly you are looking for.

Hex dump btw..
Code:
0000  ff d8 ff e0 00 10 4a 46  49 46 00 01 01 00 00 01  |ÿØÿà..JFIF......|
0010  00 01 00 00 ff db 00 43  00 05 03 04 04 04 03 05  |....ÿÛ.C........|
0020  04 04 04 05 05 05 06 07  0c 08 07 07 07 07 0f 0b  |................|
0030  0b 09 0c 11 0f 12 12 11  0f 11 11 13 16 1c 17 13  |................|
0040  14 1a 15 11 11 18 21 18  1a 1d 1d 1f 1f 1f 13 17  |......!.........|
0050  22 24 22 1e 24 1c 1e 1f  1e ff db 00 43 01 05 05  |"$".$....ÿÛ.C...|
0060  05 07 06 07 0e 08 08 0e  1e 14 11 14 1e 1e 1e 1e  |................|
0070  1e 1e 1e 1e 1e 1e 1e 1e  1e 1e 1e 1e 1e 1e 1e 1e  |................|
0080  1e 1e 1e 1e 1e 1e 1e 1e  1e 1e 1e 1e 1e 1e 1e 1e  |................|
0090  1e 1e 1e 1e 1e 1e 1e 1e  1e 1e 1e 1e 1e 1e ff c0  |..............ÿÀ|
00a0  00 11 08 00 10 00 10 03  01 22 00 02 11 01 03 11  |........."......|
00b0  01 ff c4 00 1f 00 00 01  05 01 01 01 01 01 01 00  |.ÿÄ.............|
00c0  00 00 00 00 00 00 00 01  02 03 04 05 06 07 08 09  |................|
00d0  0a 0b ff c4 00 b5 10 00  02 01 03 03 02 04 03 05  |..ÿÄ.µ..........|
00e0  05 04 04 00 00 01 7d 01  02 03 00 04 11 05 12 21  |......}........!|
00f0  31 41 06 13 51 61 07 22  71 14 32 81 91 a1 08 23  |1A..Qa."q.2..¡.#|
0100  42 b1 c1 15 52 d1 f0 24  33 62 72 82 09 0a 16 17  |B±Á.RÑð$3br.....|
0110  18 19 1a 25 26 27 28 29  2a 34 35 36 37 38 39 3a  |...%&'()*456789:|
0120  43 44 45 46 47 48 49 4a  53 54 55 56 57 58 59 5a  |CDEFGHIJSTUVWXYZ|
0130  63 64 65 66 67 68 69 6a  73 74 75 76 77 78 79 7a  |cdefghijstuvwxyz|
0140  83 84 85 86 87 88 89 8a  92 93 94 95 96 97 98 99  |................|
0150  9a a2 a3 a4 a5 a6 a7 a8  a9 aa b2 b3 b4 b5 b6 b7  |.¢£¤¥¦§¨©ª²³´µ¶·|
0160  b8 b9 ba c2 c3 c4 c5 c6  c7 c8 c9 ca d2 d3 d4 d5  |¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕ|
0170  d6 d7 d8 d9 da e1 e2 e3  e4 e5 e6 e7 e8 e9 ea f1  |Ö×ØÙÚáâãäåæçèéêñ|
0180  f2 f3 f4 f5 f6 f7 f8 f9  fa ff c4 00 1f 01 00 03  |òóôõö÷øùúÿÄ.....|
0190  01 01 01 01 01 01 01 01  01 00 00 00 00 00 00 01  |................|
01a0  02 03 04 05 06 07 08 09  0a 0b ff c4 00 b5 11 00  |..........ÿÄ.µ..|
01b0  02 01 02 04 04 03 04 07  05 04 04 00 01 02 77 00  |..............w.|
01c0  01 02 03 11 04 05 21 31  06 12 41 51 07 61 71 13  |......!1..AQ.aq.|
01d0  22 32 81 08 14 42 91 a1  b1 c1 09 23 33 52 f0 15  |"2...B.¡±Á.#3Rð.|
01e0  62 72 d1 0a 16 24 34 e1  25 f1 17 18 19 1a 26 27  |brÑ..$4á%ñ....&'|
01f0  28 29 2a 35 36 37 38 39  3a 43 44 45 46 47 48 49  |()*56789:CDEFGHI|
0200  4a 53 54 55 56 57 58 59  5a 63 64 65 66 67 68 69  |JSTUVWXYZcdefghi|
0210  6a 73 74 75 76 77 78 79  7a 82 83 84 85 86 87 88  |jstuvwxyz.......|
0220  89 8a 92 93 94 95 96 97  98 99 9a a2 a3 a4 a5 a6  |...........¢£¤¥¦|
0230  a7 a8 a9 aa b2 b3 b4 b5  b6 b7 b8 b9 ba c2 c3 c4  |§¨©ª²³´µ¶·¸¹ºÂÃÄ|
0240  c5 c6 c7 c8 c9 ca d2 d3  d4 d5 d6 d7 d8 d9 da e2  |ÅÆÇÈÉÊÒÓÔÕÖ×ØÙÚâ|
0250  e3 e4 e5 e6 e7 e8 e9 ea  f2 f3 f4 f5 f6 f7 f8 f9  |ãäåæçèéêòóôõö÷øù|
0260  fa ff da 00 0c 03 01 00  02 11 03 11 00 3f 00 e4  |úÿÚ..........?.ä|
0270  ed 7c 41 e1 b9 ad ad e5  b9 d2 e6 85 e4 78 d5 a4  |í|Aá¹**å¹Òæ.äxÕ¤|
0280  e0 85 dc c0 31 e9 9e 01  27 80 6a 1b 1d 47 4c 87  |à.ÜÀ1é..'.j..GL.|
0290  c5 7a 8e 91 aa e9 92 49  0c 4c 1e de 5f 23 6c 8c  |Åz..ªé.I.L.Þ_#l.|
02a0  84 67 95 20 6e c1 e3 23  15 c5 e9 3a b3 dd ea f1  |.g. nÁã#.Åé:³Ýêñ|
02b0  0d 3b 57 b5 d3 5f 4d 66  92 09 ae 09 0a 48 20 03  |.;WµÓ_Mf..®..H .|
02c0  9c 1e 7a 01 c7 15 8b e2  6f 15 6b 97 be 22 6b ed  |..z.Ç..âo.k.¾"kí|
02d0  53 58 8a ee e8 4a 31 2c  53 67 80 30 00 db 8e 31  |SX.îèJ1,Sg.0.Û.1|
02e0  ed 5e 5a c1 ca 55 9c 6f  d3 bb ef a7 4e de 67 64  |í^ZÁÊU.oÓ»ï§NÞgd|
02f0  a8 53 54 b6 eb bd 91 ff  d9                       |¨ST¶ë½.ÿÙ|
 
Last edited:
  • Like
Reactions: manojb

    manojb

    Points: 2
    Helpful Answer Positive Rating
thank for the reply, i want the pixels of the image, for some process. but i do not want the header in the first part and the last part. if u see the image in the textpad JPEG is having the the header in the first then pixels then the end of header.

so i want a image format with the only header (how many bytes its having) and the pixels for my process.
 

What is your process?
Define what you mean with "header".
Header is in the beginning of the file.
The file offered has only the header and the pixels. Otherwise it would not be an image.

You are still very unclear on what you want.
 

why not strip the header out yourself?
or use a more conveinient format like bitmap (where there is not compression).
 

I understood the image format n header, Now i want to no about the video header info for video processing, like BMP header it has only first 54 bytes has a header like tat i want the video header should be simple.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top