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

Similar Messages

  • 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

    -

  • How to create an action that will crop two sections from one scanned image?

    I'm trying to create an action that will automate the process of cropping the left and right pages from a series of two-page book scans.
    I tried to create a 2 step action which first crops the left half of a scan (by setting the left margin to 0in and the right margin to 6in) and then the right half of the scan (by setting the left margin to 6in and the right margin to. 12in), however when executing, only the left half appears to be cropped.
    I imagine this is due to the fact that once one side of the initial scan is cropped, the other side disappears.
    Is there any way around this?

    Basically i need to create a new document out of a folder full of images.
    You may have to look into Scripting to achieve something like this.
    You could ask in the Scriptimg Forum
    Photoshop Scripting
    But maybe it would suffice to insert the Menu Item
    File – Scripts – Load Files into Stack
    into the Action and then iterate through the Layers with [ or ] and reset the opacities and Blend Modes – but as Actions would not be able to change the number of repetitions of the operation conditionally a custom Script would still seem preferable. 

  • 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.

  • 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

  • When converting a PDF from a scanned image on a Canon MFP, some of the text is jumbled

    I am trying to use the Exportpdf.acrobat.com service and when I convert an image that was made into a pdf from Word, it is fine.  If I exposrt a pdf that was scanned in from a Canon IR 2030i MFP, some of the text comes out jumbled and un-readable.  Is there a certain setting to fix this?

    Doc: I've had a similar experience, and here are the details, investigation, and a workaround. My printer is a Brother MFC-645CN, and I'm using Snow Leopard (10.6.8) on a 2010 iMac quad i5 connected to the printer over my ethernet LAN. Are you using a Brother printer?
    Firefox has shown this kind of nasty issue for the past six months or so. It seems to be related to the imaging algorithms in Preview when dealing with Firefox (now at v.12) and the Brother printer -- the screwy second page (and beyond) show up skewed and up-sized when doing a print preview also. No such problem seen in Safari or anything else. I am not currently using any other Mozilla apps on this Mac besides Firefox.
    A few months ago I tested printing from my administrator account and  a different user account. Firefox printing was completely normal and as expected. When I went back to my main user account, back came the funky second page.I went through extensive troubleshooting to try to chase it down, systematically removing and replacing apps and preferences and many other Library files related to printing, Brother drivers, Firefox, and Preview. Nothing helped. Solution was to migrate my user files to an account where the printing problem wasn't happening. I deleted the problem user account.
    Everything was fine for about three weeks, and then with no warning, printing was back to the bad second page, just as before. I am stumped, and I'll let smarter people try to figure it out. I use Firefox a lot, and it's possible that some add-on setting is interfering, or a web page I visited turned the printing funky again. I just don't know.
    Also checked on a Mac G4 running Leopard (10.5.8) and Firefox 3.6.28. No printing/preview problems there.
    Now, for the work-around I am currently using -- print each page separately, one at a time. Page 1, then page 2, etc. Preview and printing looks completely normal. Hope this works for you until the bug is located and squashed for good.
    Glenn

  • Can iPhoto auto crop 4 pics from one scan

    I scanned 4 photos one scan and asking if there is a feature that auto crops all photos and names them with file names

    no
    you must duplicate the scan three times (command - d) giving you four copies and crop each one
    ln

  • 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);
    ----------------------------------------------------------

  • Printing transparent images over vector colour areas from illustrator

    I have tried everything! I am placing photoshop images which have a transparent areas on top of flat green colour in illustrator. The problem is when I print the illustrator file the green is darker where the transparent area from the photoshop images overlap the green. Can anyone help?

    This is aimed at InDesign but it sounds like it applies to your problem:
    http://indesignsecrets.com/eliminating-ydb-yucky-discolored-box-syndrome.php
    Bob

  • 8600 scanner won't produce scan image after overview performed

    Using 8600 All-inOne with Mac OS 10.9.4:  Problem with scanner--  After scanning overview performed; when I try to scan, I get the message "Done scanning selected areas" and no scanned image has been saved to Documents.  Thanks for help!

    Hi @KateSR , and welcome to the HP Forums!
    I see you are experiencing scan issues.  I would like to help!
    Do these issues occur when making a copy from the scanner glass or feeder, or just when scanning?
    I would recommend performing a power reset on the printer.  Disconnect the power cord from the printer and the power outlet, then wait 60 seconds. After 60 seconds, plug the printer back in. Ensure you plug the printer directly to a wall outlet. Make sure to bypass any sort of surge protector or power bar.
    Please let me know what you find.  Thanks for posting on the HP Forums!
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • 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.

  • Importing scanned images from Canon MP560

    First let me say, that I am technically challenged. I have a Canon MP560 printer. When I scan a photo, it goes to my PC in MP Navigator. The only way I can get it to iPhoto, is to drag it to documents, then drag it to iPhoto. There must be an easier way. Also, is there a way to scan & import multiple photos at once? I'm sure there are easy answers/solutions to my problem, but like I said, I'm not very tech savvy. I'd appreciated any suggestions. Thanks.

    First let me say, that I am technically challenged. I have a Canon MP560 printer. When I scan a photo, it goes to my PC in MP Navigator. The only way I can get it to iPhoto, is to drag it to documents, then drag it to iPhoto. There must be an easier way. Also, is there a way to scan & import multiple photos at once? I'm sure there are easy answers/solutions to my problem, but like I said, I'm not very tech savvy. I'd appreciated any suggestions. Thanks.
    unfortunately these are totally a function of your scanner and the software you are using to scan - your best bet is the scanner manual.
    Since you are scanning to a PC it is unlikely that any here in a Mac forum will have much information
    Is your scanner a network scanner or is it just directly connected to your PC?
    Can you connect it to your Mac? If so see if you can use the scan function in Preview to san
    As to multiple photos - not easily - you can scan multiple photos as an image and then once that image is in iPhoto duplicate it once for each photo in it and crop out all but one photo in each copy so you end up with the photos individually in iPhoto
    LN
    Message was edited by: LarryHN

  • HP LaserJet 100 colorMFP M175nw scanned images are too bright

    Hello!
    Is there a way to change scanner's default image color correction as currently all of resulted scanned images (text documents, graphics, photos) are unnaturally too bright?
    I had another HP Ink Jet printer also with scanner and all scanned images have good color correction there.
    So I think there is a problem with my current one.
    Does anyone knows how to fix it?
    Thanks.

    Hello, Futoji!
    Sorry for big delay.
    I did what you've told me and now I am wondering about what I see.
    1) To scan documents I use both HP Scan and Apple Image Capture with default settings (no color correction).
    Well it does not matter, though, because I see bright pictures right after scanning them.
    2) I scan documents from flatbed (not feeder), well it is the same for feeder.
    3) So, what I noticed was that printer scanned document and printed it almost exactly as it was only using hardware buttons on it.
    But when I did scan using both programs above the same document, it was getting too bright to be real... When I printed such scanned image the result was accordingly bad.
    So, what I think is that this scanner works differently for hardware buttons and software or applies some filters on the resulted image...
    I found 2 similar posts to mine, they are describing the same problem for different printers, but unfortunately they didn't seem to be solved.
    http://h30434.www3.hp.com/t5/Scanning-Faxing-and-Copying/HP-Laserjet-DNF-MFP-1536-scanner-washes-out...
    http://h30434.www3.hp.com/t5/Scanning-Faxing-and-Copying/F380-problem-with-scanning-too-bright-image...

  • Adobe PSE 8.0 - "crop scanned images"

    Hiho!
    I've bought PSE 8.0 to rework allready scanned Tiffs. Each Tiff includes 3 - 5 (almost aligned) images. Now I found the menu item "crop scanned images" (or how its named; I've a german version). But when I select this menu item PSE begins to preform something wich results in a 1:1 copy of the original TIFF. I guess thats not the result I've to expect. I tested a few other TIFFs too but the result is always the same.
    The Tiffs are really nothing special. White background with colored photos. Hm, do I have to preform some adjustments before to prepare this action? I'm really confused.
    Regards
    luckshmi

    The fact that your photo's are "almost aligned" may be what's causing the problem.
    The Cropped Scanned Photos feature is designed to take a scan of multiple photos and separate them out into individual photos. If your photos are already well aligned, and seem to blend together, then the algorithm is likely having trouble picking them apart.
    You may need to crop them out manually.
    If you post one here, I'd be happy to take a look at it and offer some better (hopefully) advice.
    Cheers
    Bob

Maybe you are looking for

  • Issue with HOST "metric and policy settings"

    Hi All, I have a OMS and EM Reporsitory installed on a linux machine I have connected four agents(4 hosts) to this grid control. For one perticular host I could not see any predefined metrics. The steps I followed are I have opened a host and went to

  • Why can't I sign in to download Photoshop?

    Why can't I sign in to download Photoshop?  I have submitted all necessary information.

  • Flash Player 9 vs player installed

    If I publish a Flash presentation setting the presentation for Flash Player 9, but play it on a machine that has Flash player 10 or higher, will the presentation play in player 9 or utilize the highest one installed on the machine?

  • [JS] Open from scripting specific paragraphStyle palette

    Hi! Can I open the InDesign palette of a specific paragraphStyle from script JS, for managing properties of style? Thanks!

  • Optimizer bug in RDBMS versions 9.2.0.7.0 and 9.2.0.8.0

    This listing below demonstrates a bug in the Oracle optimizer that causes incorrect results to be returned after a table is analyzed. Rule based optimizer gives correct results. Under cost-based optimization the predicate includes a condition from a