Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 32.390.520 Times

pgmfindclip 1.13

  Date Added: September 12, 2010  |  Visits: 639


Report Broken Link
Printer Friendly Version

Product Homepage
Download (76 downloads)

pgmfindclip project can automatically find a clipping border for a sequence of pgm images (a fine companion for transcode on Linux). This tool tries to find a suitable clipping border for a series of gray images. It is very useful to automatically extract clipping values for transcoding a movie if the source frame is encoded with black bars. A border around an image is defined by a rectangular and homogenous valued area extending from each edge of the image (e.g. the black bars around a movie frame). For each image the largest clip border is determined and the smallest common region of the image series is returned. Empty images or images with no valid clipping region are ignored. To cope with noisy regions in the black border areas, the region finding algorithm does not simply cut away all regions with purely zero values, but it uses a threshold in the absolut gradient sum along rows and columns as a hint for the begin of real image contents. You need a frame processing tool like transcode to actually perform the clipping operation. The program assumes that all images have the same size! Installation: Compile the source code with the given Makefile and place the resulting binary in your PATH. Usage: You first have to generate a gray image sequence from your movie. The combination of the -K and -y ppm switches in transcode is very useful in this situation: transcode .... -K -y ppm -o sample It is very important to extract frames from different regions of the movie. It is usually a bad idea to extract the first couple of frames of a movie since they often contain a black screen or logos that would lead to wrong clipping borders. A better and still efficient solution is to pick all the files of the movies title set (the VTSxxx.VOB files) and use the VOB mode of transcode to extract a single frame from each file (bash syntax!): for a in *.vob; do transcode -i $a -x vob -z -K -y ppm -o sample -c 32-33 ; done Note that I skip a couple of frames (here 32) because decoding of movie frames at the beginning of a vob file is not always possible correctly. (The set of VOB files is a locigal unit but the files itself are only splitted due to file/filesystem size constraints (=1GB)). Also note the -z option to flip the frames. Then you can run pgmfindclip with: pgmfindclip sample*.pgm The clipping border is returned as a list of 4 comma separated values: < top >,< left >,< bottom >,< right > This is the correct syntax for the clipping option (-J) of transcode: CLIP=`pgmfindclip sample*pgm` transcode .... -j $CLIP .... Constrain the result pgmfindclip has various options to constrain the calculated clipping result. You can force that the resulting image is a multiple of a given factor. Also the border can be rounded to another factor. This is useful if you want to process the clipped image with a video coder that imposes such restrictions on the input format: Give the modulo for the target image size with the -f option. The modulo for the border is given with -b. pgmfindclip will issue an error message if the combined aligning of frame and border is not possible. The frame size will be reduced to meet the restrictions and thus the border will be enlarged. You can swap this behaviour with the -e (expand) option. Then the frame might be larger than the determined clip region. pgmfindclip -f 16 sample*.pgm This example enforces a modulo of 16 in both directions. More Features - If the black bars are not zero valued but have a value above zero then the gradient is very large at the border of the image. You can skip this test by specifying the -o (offset) option. Then the search will start n rows/columns later. - You can add a safety border to the calculated clipping region with the -s option. This is useful to skip bleeding artifacts at the border of scanned analog material. - You can visualize the found clip border with the -w option. This option will write new PGM images (*-m.pgm) with the clip border drawn as an inverted rectangle in it. Whats New in This Release: - added patch by Svante Signell (fixes a div by zero bug).

Requirements: No special requirements
Platforms: Linux
Keyword: Border Clipping Find A Image Images Multimedia Option Pgmfindclip Transcode Video
Users rating: 0/10

License: Freeware Size: 5.12 KB
More Reviews or Write Review

MP3 Players  -  MediaProSoft Free Video Audio Suite 3.4.3
MediaProSoft Free Video Audio Suite is a multifunctional toolbox focused on dealing with video, audio, image, CD/DVD disc, ISO,PDF conversion & creation, Scanning, image OCR and many more. You don't have to surf around the internet to find what...
31.02 MB  
Windows Software  -  Freemore Audio Video Suite 3.4.8
Freemore Audio Video Suite is a free & compact multimedia suite that contains all practical tools you may need in your video/audio/CD DVD/image creation, enhancement, backup & sharing. You don't need to download all FreeMoreSoft products one by...
30.76 MB  
Libraries  -  File::PathList 0.02
File::PathList is a Perl module that can find a file within a set of paths (like @INC or Java classpaths). SYNOPSIS # Create a basic pathset my $inc = File::PathList->new( @INC ); # Again, but with more explicit params my $inc2 =...
26.62 KB  
Libraries  -  Algorithm::SixDegrees 0.03
Algorithm::SixDegrees is a Perl module that can find a path through linked elements in a set. SYNOPSIS use Algorithm::SixDegrees; my $sd1 = Algorithm::SixDegrees->new(); $sd1->data_source( actors => &starred_in ); $sd1->data_source( movies...
11.26 KB  
Libraries  -  Geo::Track::Log 0.02
Geo::Track::Log is a Perl module that represent track logs and find a location based on a track log and a date. SYNOPSIS use Geo::Track::Log; my $log = new Geo::Track::Log; # add a point to a track log. $log->addPoint( { timestamp =>...
17.41 KB  
Lifestyle  -  Find A Bar
This app is a simple free utility to find a local bar, restaurant, or liquor store. If you are looking for a drink, somewhere to grab a bite to eat, or pick up some party supplies, give this app a try. You can use your GPS coordinates to find...
1024 KB  
Productivity  -  Find A Job
Find A Job v1.0 The Find A Job Pocket App you always wanted. Use this app to find a job in your area and up 200 miles around you. Or search on a city / town for an even wider search. The listing are always changing. Once you find the result...
1024 KB  
Productivity  -  Find a Number Free
** This is the free version of Find a Number and is limited to 5 results per search ** Don't have the phone number of your favorite pizza restaurant saved? Need to call the nearest hotels for availability? With Find a Number you...
1024 KB  
Audio Editors  -  Universal DVD Video Image Extractor
It's a Powerful and Easy-to-use software for capturing images from your favorite DVD-Video discs. With this application you can extract one image while playing your favorite movie and also you can extract a portion of the DVD-Video. The main...
12.96 MB  
Networking  -  Image Archives 1.42
First of all, sorry for my bad English.Image Archives is a wordpress plugin that displays images from your published posts with a permalink back to the post that the image is connected to. It can also be used as a complete visual archive or...
2.68 MB  
Multimedia & Graphics  -  Free Video Capture 5.4.9
The conspicuous feature of Free Video Capture is recording screen video. It enables you to make your own video through web camera or record your games online to share them with your friends or upload to websites for entertainment. It is a...
1.54 MB  
Multimedia & Graphics  -  Open Factory 3D For Linux 2.4
Open Factory 3D is a free factory design application that helps you to place your machines and factory equipment on a factory 2D plan, with a 3D preview.
15.49 MB  
Multimedia & Graphics  -  Fractal4D 1.30
Fractal4D is an Adobe AIR application that lets you draw really cool detailed fractal swirls that can then be exported as a vector for use in Adobe Illustrator or as a plain PNG. There are a whole load of options that allow you to tweak the...
40.96 KB  
Multimedia & Graphics  -  gst-simple-player 0.0.0
gst-player is a very basic media player that uses GStreamer. The objective is to be simple but useful. Some of the features are based on MPlayer's UI. gst-player can also be used as an example for bigger projects.
40.96 KB  
Multimedia & Graphics  -  PVR150 Capture Utility 0.8
PVR150 Capture Utility is a video capture tool for MythTV. Developer comments I haven't been at this very long so I really don't know what I'm doing. I just know it works on my computer. Your milage may vary wildly. I was...
81.92 KB  
Video Editors  -  DivFix++ 0.34
DivFix++ is an AVI Repair and Preview utility. This program designed to repair broken AVI file streams by rebuilding index part of file. This is very useful when trying to preview movies which are currently downloading from ed2k or bittorent...
1024 KB  
Video Editors  -  mmp 0.5
mmp is a fast & simple mplayer (or mpg123) frontend for X11 utilizing the WINGs toolkit. The project offers no playlist support but features an integrated file system browser. Compiling mmp make should work on any decent UN*X clone. Note, that...
256 KB  
Video Editors  -  Ive 2005-09-26
LVE is a frame and GOP accurate editing of MPEG1/2 video files. Differnet mpeg formats are supported: program streams ("PS") including DVD conform vob format, single elemtary video streams ("ES"). multiplexed, packed elementary A/V streams...
747.52 KB  
Video Editors  -  Veejay 1.0
Veejay is a visual instrument and realtime video sampler. Veejay allows you to "play" the video like you would play a piano. While playing, you can record the resulting video directly to disk (video sampling). Veejay can be operated live by using...
1.3 MB  
Video Editors  -  QCreateVOB 1.1
QCreateVOB is a VOB movie file creator (using transcode, ffmpeg, sox, multimux, mplayer) With QCreateVOB you can decode movies from AVI, WMV, and MPEG 1/2 to VOB files (VOB is DVD video format).. Get QCreateVOB at Fast, secure...
296.96 KB