Ask Your Question

susannamoore's profile - activity

2014-04-30 02:15:14 -0600 answered a question Creating a wrapper for C# and converting Bitmap
2014-04-21 23:07:28 -0600 answered a question Image conversion problem in python and OpenCV

I had search through the web and although there been posted similar issue for image conversion. But I can't have the result as it proposed. Then came across this article and appreciate your work.


Related: image conversion

2014-04-03 01:26:44 -0600 answered a question Basic image enhancing for OCR purproses

According to your descriptions, like image desckewing, black border removal, image binarization, guess you may need to do OCR pre-processing on images. Generally, OCR using Tesseract and ImageMagick always be used for pre-processing task. Here's an article about this:

http://misteroleg.wordpress.com/2012/12/19/ocr-using-tesseract-and-imagemagick-as-pre-processing-task/ocr/ocr-application/

2014-03-26 02:58:53 -0600 received badge  Necromancer (source)
2014-03-25 23:15:29 -0600 answered a question Image stitching module for Java

I've successfully stitch two images together, using OpenCV Java API.

And following is a related topic about image stitching for Java. Hope this be helpful.

Image solution for Java image: http://stackoverflow.com/questions/21618044/stitching-2-images-opencv

2014-03-10 22:03:09 -0600 received badge  Editor (source)
2014-03-10 22:02:13 -0600 answered a question which class can show an image in java?

As for showing image in Java, I'd share some info here. This following example takes an image from the system and show it on a frame using ImageIO class. User enters the name of the image using the command prompt and then the program shows the same image on the frame. The image is read from the system by using ImageIO.read(File file) method.

import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.*;
import javax.imageio.ImageIO;
import javax.swing.JFrame;
public class ShowImage extends Panel {
  BufferedImage  image;
  public ShowImage() {
  try {
  System.out.println("Enter image name\n");
  BufferedReader bf=new BufferedReader(new 
  InputStreamReader(System.in));
 String imageName=bf.readLine();
  File input = new File(imageName);
  image = ImageIO.read(input);
  } catch (IOException ie) {
  System.out.println("Error:"+ie.getMessage());
  }
  }

  public void paint(Graphics g) {
  g.drawImage( image, 0, 0, null);
  }

  static public void main(String args[]) throws
Exception {
  JFrame frame = new JFrame("Display image");
  Panel panel = new ShowImage();
  frame.getContentPane().add(panel);
  frame.setSize(500, 500);
  frame.setVisible(true);
  }
}

Tags: image, image in Java

2014-02-27 21:26:13 -0600 answered a question Image Crop