473,761 Members | 6,563 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Motion Detection in JPeg frames

Can some one provide an algorithm for motion detection between two jpeg
frames? Or can you provide a more appropriate group to post this on?

Thanks!
Nov 14 '05 #1
2 3994

On Sat, 21 Feb 2004, User10 wrote:

Can some one provide an algorithm for motion detection between two jpeg
frames? Or can you provide a more appropriate group to post this on?


comp.programmin g is suitable for all kinds of programming issues.
comp.graphics.* might also be appropriate, but I don't read those
groups so I can't tell you which would be useful. Here's a hint:
search Google Groups for "motion detection in images" and see which
groups get the most traffic in that area.

<OT>
The particular image-compression algorithm involved doesn't matter;
all you really care about are the pixel colors.
One simplistic method would be to do union-find on the pixel array,
globbing together similarly-colored regions. Then look at the biggest
regions and compare the way their centers of mass move from one image
to the next. Add some reasonableness-checking code and you're basically
done, assuming you've got friendly input. (Like, security camera
images would be friendly. Saturday morning cartoons would probably
be extremely unfriendly.)
</OT>

Followups set to comp.programmin g, but feel free to take your
questions to a more focused group. Just don't leave them here in
comp.lang.c, where we discuss the C computer programming language
only.

-Arthur

Nov 14 '05 #2

"User10" <Us****@spamits .com> wrote in message

Can some one provide an algorithm for motion detection between
two jpeg frames? Or can you provide a more appropriate group to
post this on?
comp.programmin g. Also it's MPEG (JPEG is the related still image
compression algorithm).

We aware that this is rather a complex subject.
Nov 14 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4767
by: Zapp | last post by:
Hello all! I need to do detect the IPXI move player plugin in IE. I know you have to look for the Active X object, Netscape you just loop through and it will print out the plugins. Can anyone point me to a script that will detect IE plugins? Thanks in advance!
0
3787
by: frankenberry | last post by:
I have multi-page tiff files. I need to extract individual frames from the multi-page tiffs and save them as single-page tiffs. 95% of the time I receive multi-page tiffs containing 1 or more black and white CCITT4 compressed files (frames) inside the tiff. Every now and then I receive a mixture of black and white CCITT4 and JPEG compressed files, and sometimes just multi-page tiffs with JPEG only. The code runs great when dealing with the...
3
1615
by: giladg22 | last post by:
Hi All, I need some help resolving a pretty tricky problem. I have a javascript application running from a CD. The script preloads between 500 to 1000 jpegs (about 40K each) to the IE. The IE immediatly decompresses the jpegs, essentially using up too much memory. I have a few limitations working against me: A) Since the jpegs reside on a CD, it is crucial that I preload them to the IE in order to not incur the seek time that is...
2
2014
by: Eren AYKIN | last post by:
Hello Everybody, I'm not very experienced with DFT and FFTW library and I want to ask your opinion about the results I get. My aim is to determine if the sample input sequence is flickering with some frequency. In my project, I'm capturing frames from a video and geting the mean pixel value of some pixels with a certain property. I get one mean value for each frame. I want to check if these mean pixel values are flickering with the time...
0
1256
by: getway | last post by:
Hi Does anybody know how to use trackBar to set the motion sensitivity level ??? Hope somebody can help me.. Thanks in advance.
2
3147
by: eljainc | last post by:
Hello, I'm looking for some examples of utilities or .NET programming libraries that will allow me to detection motion in a video sequence. I would rather have results that will take AVI files that have already been saved to hard disk and not rely upon ones that use capture devices for input. Thanks.
0
4922
by: moon123 | last post by:
constructing a edge detector using sobel kernels with a discrete convolution algorithm. The result should give a vertical edge image, a horizontal edge image and a gradient image. Sobel kernels :
1
2023
by: valy | last post by:
hi guys, do y'all have any idea about writing a function to calculate the amount of white pixels on a difference image, and if the white amount is >= the threshold value then the image is count as a real motion to avoid some small motion detected which is not a real motion. Finally an motion alarm feature is applied. C code in Linux are required. hope someone can help me on this. thanks alot.
1
7437
joedeene
by: joedeene | last post by:
Hello all, I am using Macromedia Flash Professional 8 in this example of a simple way to use motion tweens. Ok here goes... Directions: A. Preparation 1.) Start the Flash program. Once loaded, create a new Flash Document. Note: By default the pixels are set to 550 x 400, i changed mine to 275 x 200. 2.) Speed up the animation by changing the frame rate to 36 fps.
0
9336
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10111
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9948
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9902
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6603
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5215
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5364
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3866
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2738
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.