Crop unwanted area from scanned image

Hi,
We are doing a project to scan A4 size( some time smaller size ) paper documents and store it in the database.We want to develop an interface to scan with out any user interaction - like boundary selection - other than clicking a button to scan.We are able to set all other parameters to scan correctly except the boundary selection.So the problem is the scanned image contains a black area after the paper size ( we are doing grayscale).Is there anyway to crop the unwanted area ?If possible can we do the same to reduce the margin on all four sides?Please help...
Thanking you,
-Menon

-

Similar Messages

  • Crop unwanted area from a scanned image

    Hi,
    We are doing a project to scan A4 size( some time smaller size ) paper documents and store it in the database.We want to develop an interface to scan with out any user interaction - like boundary selection - other than clicking a button to scan.We are able to set all other parameters to scan correctly except the boundary selection.So the problem is the scanned image contains a black area after the paper size ( we are doing grayscale).Is there anyway to crop the unwanted area ?If possible can we do the same to reduce the margin on all four sides?Please help...
    Thanking you,
    -Menon

    Try the JImageDialog at http://asprise.com/product/jid/jimagedialog.php

  • How to separate content area from the image area in cs6

    how to separate content area from the image area in cs6? looks just fine in design view but when opened up in explorer my text /content area is over the image area. the content is suppose to be below the image not over it. How do I move it down? Everything I have tried has not worked ;(

    Is your image in the CSS (background) or the HTML (foreground)? 
    Try copying and pasting this code into a new, blank document.  Change placehold.it images to your own.  Save and preview in browsers.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 with CSS 2-Col Layout</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!--[if IE]>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <![endif]-->
    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <style>
    /**CSS Reset**/
        padding: 0;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    img {
        width: 100%;
        vertical-align: baseline;
    /**Layout**/
    body {
        padding: 0;
        width: 90%; /**adjust width in px or % as desired**/
        margin: 0 auto; /**this is centered**/
        background: #CFF;
        color: #505050;
        font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
        font-size: 100%;
        box-shadow: 2px 2px 4px #333;
    header {
        margin: 0;
        padding: 0 1%;
        width: 100%;
        background: #B00202;
        color: #FFF;
    /**top menu**/
    nav {
        background: #EAEAEA;
        font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 14px;
        font-weight: bold
    nav ul {
        margin: 0;
        padding: 0;
    nav li {
        list-style: none;
        display: inline-block;
        margin: 0 3% 0 5%;
    /**menu link styles**/
    nav li a {
        color: #666;
        text-decoration: none;
        line-height: 2.5em;
        padding: 6px;
        border: 1px solid #CCC;
    /**on select or mouseover**/
    nav li a:hover, nav li a:active, nav li a:focus {
        background: #CCC;
        color: #505050;
    #wrapper {
        background: #EAEAEA;
        overflow: hidden; /**float contaiment**/
    /**main content**/
    article {
        padding: 0 2%;
        background: #FFF;
        float: left;
        width: 70%;
    figure {
        width: 80%;
        margin: 4% auto 4% auto;
        text-align: center;
    /**right sidebar**/
    aside {
        padding: 0 2%;
        float: left;
        width: 30%;
    footer {
        clear: both;
        background: #B00202;
        color: #FFF;
        text-align: center;
        margin: 0;
    /**typography**/
    header h1, header h2 {
        display: inline;
        color: #F5DD83;
        padding: 0 1%;
    h3 {
        color: #2294AE;
        margin-bottom: 0
    p { margin: 0 0 1em 0 }
    figcaption {
        text-align: center;
        font-style: oblique;
        font-size: small;
        color: #2294AE;
    </style>
    </head>
    <body>
    <!--begin header-->
    <header> <h1>Sitename</h1>
    <h2>|  Responsive CSS Layout</h2>
    </header>
    <!--begin navigation-->
    <nav>
    <ul>
    <li><a href="#">Menu Item1</a></li>
    <li><a href="#">Menu Item1</a></li>
    <li><a href="#">Menu Item1</a></li>
    <li><a href="#">Menu Item1</a></li>
    <li><a href="#">Menu Item1</a></li>
    </ul>
    </nav>
    <div id="wrapper">
    <!--begin main content-->
    <img class="banner" src="http://placehold.it/1056x100/198EBA/FFFFFF&text=Banner.jpg" alt="banner" />
    <article> <h3>Article</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!  Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus.  Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus.  Aenean tristique enim ut ante dignissim. </p>
    <figure> <img src="http://placehold.it/500x325" alt="placeholder">
    <figcaption>Figure 2 Caption</figcaption>
    </figure>
    </article>
    <!--begin right sidebar-->
    <aside> <h3>Aside</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!  Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus. </p>
    <hr>
    <p>Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus.  Aenean tristique enim ut ante dignissim. </p>
    <hr>
    <p>Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus.  Aenean tristique enim ut ante dignissim. </p>
    </aside>
    <!--end wrapper--></div>
    <!--begin footer-->
    <footer> <small>© 2014 Your Site Name. All rights reserved</small> </footer>
    </body>
    </html>
    Nancy O.

  • Retrieving values from scanned images

    Consider that i am having the scanned form which contains details like name, mail-id. The template of the scanned image is same. Is it possible to retrieve the values like name, mail-id directly from the scanned image?
    Please let me know how java solves the above problem.

    Here is the connection factory code
    No exception is thrown...Because no values are retrieved, I'm guessing that it continues as usaul, thinking there are no values in the database.
    * ConnectionFactory.java
    * Created on August 6, 2003, 8:37 AM
    package za.co.infowave.parking.database;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.sql.*;
    import org.hsqldb.*;
    * @author elana
    public class ConnectionFactory {
    private String driver;
    private String url;
    private String userId;
    private String password;
    /** Creates a new instance of ConnectionFactory */
    public ConnectionFactory(String driver, String url, String userId,
    String password) throws ClassNotFoundException {
    Class.forName(driver);
    this.driver = driver;
    this.url = url;
    this.userId = userId;
    this.password = password;
    public Connection getConnection() throws SQLException {
    System.out.println(DriverManager.getConnection(url, userId, password));
    return DriverManager.getConnection(url, userId, password);
    ----------------------------------------------------------

  • Is it possible to create a Lightroom 5 cropping overlay guide from an image?

    I must have dreamed this but I thought I saw that LR 5 had the ability to create a cropping overlay from an image.  My goal is to create a quicker way to place a date on 5x7 and wallets so that it works for both prints.  I want WHCC's wallet guide as an overlay.

    It is not possible to create a custom crop overlay but you can use a Loupe Overlay to eyeball it.  View>Loupe Overlay>Layout Images and then navigate to a PNG (transparency enabled) version of this overlay. It will show you the overlay in Library>Loupe and Develop so that you can preview your crop.  If you don't have the means to create a transparent PNG, you can simply use CTRL/CMD to reduce the opacity of your Opaque PNG File.
    Note: the Overlay and the Crop Overlay cannot be active at the same time.

  • How to make my own custom photo album background from scanned image?

    I know how to use the custom backgrounds within photoshop elements 5.0 but I would like to create my own. I have scanned a map of Big Bend National Park that I used as a DVD title menu and would like to make a photo album and use the same scanned map as the backgroud for all pages. Is that doable in elements 5.0? Can I just add the scanned image into the custom folders somehow?

    My thought is to create a single thread, and within
    that thread continually pull from a static array
    casting each to an EventObject type. But I am confused
    also as to how to dispatch the events to their
    appropriate listeners.This is commonly known as a ProducerConsumerQueue: you have multiple sources of events, and multiple consumers for those events. The queue mediates between producers and consumers.
    In the case of an event thread, the queue runs in one thread, and all the producers run in other threads. In the case of the Swing/AWT event thread, the producer is the GUI code in the JVM, which receives OS-level (considering X an OS for the moment!) window events and then puts them on the queue, associated with the correct object.
    You'll find a LinkedList a better choice for the queue than a static array, as it can grow or shrink without bounds. The consumer side calls removeFirst(); if nothing's in the List, it calls wait(). The producer side calls addLast(), followed by notify(). Needless to say, you'll need synchronization, but you don't want to synchronize your listeners ... that's a fun problem that's left for the reader.
    The various listener lists can be maintained with Maps, where the event object is used to lookup a list of listeners. In a GUI environment, the event object has to maintain the source as well as the event object; in a non-GUI environment, it typically only holds the event type.

  • DVD production from scanned images

    I need to produce a DVD that will use scanned images and then import both music and a voice over naration track.  Which Abobe product is easiest and cheapest to use.  I heard you could do this with Elements.

    Premiere Elements, not Photoshop Elements:
    http://www.adobe.com/products/premiere-elements.html

  • How to remove dark areas from scanned book PDFs?

    Hello,
    When scanning chapters from a book, I get large dark areas where the scanner picks up 'dead space' from the spine and around the perimeter of the book. I have been able to remove these using the 'Redaction' tool but when I go to save the PDF the size of the file at least doubles in size. Is there a better way to remove dark areas and, if not, is there a way to reduce the size of the PDF without reducing the quality of the text?
    Thanks.

    Thanks Bill@VT.
    I have been able to remove the dark areas using the redaction tool but when I go to save all my files are at least twice their original size.
    How can I stop this from happening?

  • Why are my scanned images turning red when put in a slideshow or iMovie?

    Why are my photos turning red when put in a slideshow?

    Can you start a new document and then load one of the duotones known to be good in the working file and have it correct? If so, try one of the duotones known to be bad in the working document in the new file. Does it work?
    If no to either suggestion, can you share one of the images known to be good and one known to be bad? ZIP 'em up and upload to dropbox and plop a link here. Or, to keep the file sizes down, you can quickly make a new set and provide those.
    As well, the ID version and OS info would probably be helpful.
    Take care, Mike

  • A great tip for reducing PDF file sizes (e.g. from scanned images)

    I just found, and used this tip and was so impressed I had to share it!
    http://www.hoboes.com/Mimsy/hacks/quality-reduced-file-size/
    By the way, you can also easily combine pdfs using preview. Open the 'main' one that will be your final file. Go to View -> Sidebar. Drag the other pdfs that you want to join right into the side bar. It will just stack them on. Then save.
    C.
    Message was edited by: Chipstix

    Since a while DIAdem optimizes the size of exported PDF-files in a related way as it is suggested here. In principle the PDF-file is exported in a very high resolution, so you can display it in a reader with a very high zoom value (e. g. 6000 %) to look into details of your data. If you have a huge dataset, this could lead in fact to a bigger file size, if data points could be displayed because the high PDF-resolution. But in general, DIAdem only saves information in a PDF-file which is really necessary - but with a high resolution.

  • How to auto-crop empty area (white space) from a scanned image

    I have a image scan operation thru' which the user can scan a A4-size paper, but the actual data on the scanned image is a small area.
    Any way that we can programatically crop the white area from the scanned image?
    Does JAI have any apis for doing this ?

    If you look at the constructor for BufferedImage, you can create an image of a size you specify. After creating the image, you can draw on it by obtaining its Graphics via the createGraphics() method. Now, you can draw the source image on the target image using something like
    imageGraphics.drawImage(sourceImage, 0, 0, targetImage.getWidth(), targetImage,getHeight, sourceUpperLeftX, sourceUpperLeftY, sourceUpperLeftX + targetImage.getWidth(), sourceUpperLeftY + targetImage.getHeight(), observer);
    now, your BufferedImage has the cropped image on it. Dispose of the graphics (good habit to release resources it used) and you are done.

  • Restoring .dmg image from external to Mac HD in Disk Utility: "Unable to scan image (Input/output error)"

    Hi guys,
    So I've got a problem with restoring the image backup I did (using Disk Utility) of my 500GB HD on my MBP which was acting weird or maybe even crashed a few months ago. After creating the backup image and putting it on my external device, I installed Mavericks back to see if everything was alright (mainly the HD) and everything seems okay.
    I did try restoring the backup image through disk utility before installing mavericks (thus erasing everything again on the HD) AND after. But nothing..
    The whole process starts fine and then it starts scanning the image when after maybe a good 10-15min in I get a message that says that it was unable to scan the image. I tried verifying the disk(s), everything came out "OK". Also tried scanning it through Images > Scan image for Restore... with the same results.
    While searching I've seen people getting messages like "Unable to scan filename.dmg (Invalid argument)" and "Unable to scan filename.dmg
    (Internal error)" but none have (Input/output error)
    The screen grab is below.
    I also came across something about using terminal/commands but I'm not that savvy with it, especially considering that those there had issues with either mounting or trouble finding the image.
    I've also tried moving the backup image to a different external device 2TB and also the desktop because I read it may have to do with the format of the externals or maybe free space. But THEN I would get a message saying
    "The Finder can't complete the operation because some data in "Mac HD Backup.dmg" can't be read or written. Error code -36"
    Fyi ALL my externals are HFS+/Journaled and the backup image format was compressed.
    I REALLY don't know what to do next. Was it the wrong move to create a dmg image? Have I lost everything? Is there still a way out?
    If anyone can help, THANKS!
    2012 MacBook Pro, Mac OS X (10.9.3)

    Make a "Genius" appointment at an Apple Store, or go to another authorized service provider. You may have to leave the machine there for several days.
    Back up all data on the internal drive(s) before you hand over your computer to anyone. There are ways to back up a computer that isn't fully functional—ask if you need guidance.
    If privacy is a concern, erase the data partition(s) with the option to write zeros* (do this only if you have at least two complete, independent backups, and you know how to restore to an empty drive from any of them.) Don’t erase the recovery partition, if present.
    Keeping your confidential data secure during hardware repair
    Apple also recommends that you deauthorize a device in the iTunes Store before having it serviced.
    *An SSD doesn't need to be zeroed.

  • Using photoshop elements 13 but the option to crop a single image is grayed out and also the option to crop a scanned image into individual pictures is grayed out - any ideas?

    The option to crop an image is always grayed out or unavailable - both for single images and when I want to crop scanned images into individual pictures. Any idea what I may be doing wrong?

    Did you try using the crop tool to see if it is working?  See the tool I am talking about.
    I suspect you are in Guided Mode rather than in Quick Mode or Expert Mode.

  • How to convert yellow background from the scanned images of a complete book

    I am having a pdf file having approx 500 pages, it is having scanned images of all the pages. the gound of these pages are yellow due to very old book, i want to remove this yellow ground from all the pages in one go, please guide me. i am using CS6 standard.

    You would have to open the pages one at a time using File --> Open and then use the adjustment tools. If you use e.g. the Levels adjustment's whitepoint eyedropper, this could be as easy as one click. You would then save each adjusted imaghe separately and then later re-assemble them using Acrobat or similar tools to create a new PDF. Generally there could be a million pitfalls here, though, such as:
    the scans being inconsitent and thus each adjustment looking different
    the adjustments being too agressive and eroding the text
    the adjustments requiring lots of manual intervention
    additional cloning and painting being required to remove stains or fix holes
    In any case, it's not going to happen "in one go", no matter what. You will have to spend considerable time on this if you want to do it right. Perhaps you can extract the pages by using File --> Save Pages as Images in Acrobat and then batch process them, but beyond that I don't see muich in the way of automating or streamlining the process. This is something one typically would do already when scanning the books by using a color chart and a high quality scanner that can calibrate itself based on this reference chart for each page...
    Mylenium

  • How to make true two-color image from scanned rgb image...

    hello...
    I have 50 scanned images from one book, cyan + black, offset. How to easy make new two color (C+K) from this rgb images? If possible to make action.
    sample:

    How to easy make new two color (C+K) from this rgb images?
    Not at all. They need extensive adjustments long before that - they are scanned wrongly to begin with (double-sided must be scanned against a black background), have fingerprints and whatnot. Once you have them cleaned up, converting to CMYK and cleaning up the colors is anotehr matter. Could be as easy as blanking out the yellow and magenta channels, could entail additiojnal extensive work. in any case, it won#t probably be automatic.
    Mylenium

Maybe you are looking for

  • An error occurred while trying to save data to rhbag.apj

    Opening a RoboHelp 8 project in new RoboHelp 11 and receive the following error: An error occurred while trying to save data to rhbag.apj... I can see this file in the project but many of my baggage files (.pdfs) are missing and I am not able to add

  • MS Word Not Translating Gill Sans to Gill Sans MT and Vice Versa

    I have MS Office 2004 for Mac. I don't know where to ask this question but I figure, there are enough intelligent message board addicts here to give it a shot. My problem is summed up in the subject line. When my boss, who uses a PC, sends me a docum

  • Loop through checkbox in Oracle APEX 4.2 (using JQuery Mobile)

    Hello! I want question text and a report containing the possible answers is shown on a page. An answer can be selected by clicking on the checkbox. After hitting the submit button, the selected checkboxes containing the Answer Text, an answer_id and

  • Two Email Addresses, One Account

    Hi Folks, I have two email addresses with Outlook.com, one is my personal address and the other is a send and receive custom domain work address both set up in the one outlook account on my iphone. I can send and receive from both addresses, the prob

  • Fail to generate EoL/EoS Hardware Report

    Hi All, I tried to generate EoL/EoS Hardware Report through RME Report Generator. Even with correct cisco.com user name and password and correct proxy server configuration. It just keeps telling me it can't get data from cisco.com. I configured proxy