473,394 Members | 2,048 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

work with binary images

hi
i am supposed to work with binary images and to count the object in it
But i dont know where to start from I mean i dont know what should i read to
be able to do this. Someone told to use GDI+ but i am not sure
Help me
May 25 '07 #1
4 1201
RedSon
5,000 Expert 4TB
You can't read objects from a binary file unless you know how it was serialized. If it has been serialized with a standard serializer then it should b easy to get the objects out of the file, but doing it without knowing alot about the format of the binary will not work.
May 25 '07 #2
mwalts
38
You can't read objects from a binary file unless you know how it was serialized. If it has been serialized with a standard serializer then it should b easy to get the objects out of the file, but doing it without knowing alot about the format of the binary will not work.
If you mean binary images as in a picture then yes, look into GDI+
But finding objects in an picture? can be done of course but depending on the picture it won't be easy

http://www.codeproject.com/vcpp/gdiplus/GDI_.asp

http://www.devx.com/dotnet/Article/18163/1954?pf=true

Good luck,

-mwalts
May 25 '07 #3
RedSon
5,000 Expert 4TB
If you mean binary images as in a picture then yes, look into GDI+
But finding objects in an picture? can be done of course but depending on the picture it won't be easy

http://www.codeproject.com/vcpp/gdiplus/GDI_.asp

http://www.devx.com/dotnet/Article/18163/1954?pf=true

Good luck,

-mwalts
But images don't have "objects" they are just a bunch of bytes encoded with color and pixel information.
May 25 '07 #4
mwalts
38
But images don't have "objects" they are just a bunch of bytes encoded with color and pixel information.
They don't have instances of classes (the standard programming meaning of objects) but they do have physical objects. I did an image processing course where we had to differentiate some simple objects from a given black and white image once. You can use a high pass filter as a "dumb" edge detector and from that attempt to separate segments of the image... lots of ways to do it really... but whatever
May 25 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Albert Tu | last post by:
Hi, I am learning and pretty new to Python and I hope your guys can give me a quick start. I have an about 1G-byte binary file from a flat panel x-ray detector; I know at the beggining there...
27
by: Lee Phillips | last post by:
I believe it is universally accepted that decorating your website with images from someone else's, without permission, is rude and unethical, even if the images are in the public domain, because...
3
by: GMane Python | last post by:
Hello All. I have a program that downloads 'gigabytes' of Axis NetCam photos per day. Right now, I set up the process to put the images into a queue, and every 30 or so seconds, 'pop' them from...
3
by: Arun | last post by:
Hi, I have simple question to ask. How to write multiple Binary files to the Browser using Asp.Net and Visual C#.net I have seen examples where single binary file is written to browser. ...
3
by: CLEAR-RCIC | last post by:
I have several images i want to display in an ASP.Net application. The images are being passed to me in binary format from another application. Is there a good way to write them directly to an...
7
by: robert.differentone | last post by:
Hi, Does anybody know any javascript which converts images into binary data. Thanks in advance, R.
8
by: dagecko | last post by:
Hi I would like to know how to detect if a file is binary or not. It's important for me but I don't know where to start. Ty
8
by: geert | last post by:
Hi all, I have a mac mini running maocosx 10.5 leopard I want to deploy a django project on. My backend is MySQL, and I have it running as a 64- bit app. Of course, apache2 is also running as...
6
by: aznimah | last post by:
hi, i'm work on image comparison. i'm using the similarity measurement which i need to: 1) convert the image into the binary form since the algorithm that i've use works with binary data for the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.