Search found 24 matches

by ghostmansd
2011-10-04T10:06:35-07:00
Forum: Magick++
Topic: Get color of pixel with Magick++
Replies: 2
Views: 13870

Get color of pixel with Magick++

Hello to all forum users! I need your help. I'm writing a small application, which needs a possibility to get color of any pixel in image. How can I get it with Magic++?
Thank you very much for your answer!
by ghostmansd
2011-07-08T07:15:26-07:00
Forum: Users
Topic: Insert image to the right bottom
Replies: 3
Views: 6570

Re: Insert image to the right bottom

Thank you very much! That's correctly what I need!
by ghostmansd
2011-07-06T07:43:53-07:00
Forum: Users
Topic: Insert image to the right bottom
Replies: 3
Views: 6570

Re: Insert image to the right bottom

This is like as if you have two pages of book and make one big page.
by ghostmansd
2011-07-06T07:40:50-07:00
Forum: Users
Topic: Insert image to the right bottom
Replies: 3
Views: 6570

Insert image to the right bottom

Dear users, could you give advice, how to combine images? I have two images; width1=width2 and height1=height2; IM must insert image2 to the right bottom of image1 and save output as image3. Thanks!
by ghostmansd
2011-05-23T11:42:14-07:00
Forum: Digital Image Processing
Topic: How to find the text?
Replies: 12
Views: 38569

Re: How to find the text?

As Fred said it all comes down to... define "where combination of 1 and 0 looks like text;" The only thing I can think of is use combinations of morphology and segmentation so as to locate rows of small segments, which generally makes up characters and words, and thus means 'text'. For example in y...
by ghostmansd
2011-05-06T02:58:41-07:00
Forum: Digital Image Processing
Topic: How to find the text?
Replies: 12
Views: 38569

Re: How to find the text?

There is an example on Python (with Imaging Library). Example (pavian's photo with text) from PIL import Image im = Image.open('D:/pavian.png', 'r') w, h = im.size a = [[0]*w for i in range(h)] b = [[0]*w for i in range(h)] for i in range(h): for j in range(w): a[i][j] = im.getpixel((j, i)) d = [[-1...
by ghostmansd
2011-05-05T12:45:06-07:00
Forum: Digital Image Processing
Topic: How to find the text?
Replies: 12
Views: 38569

Re: How to find the text?

That effects picture in the corner also. In a tiff files, at least.
by ghostmansd
2011-05-05T11:23:13-07:00
Forum: Digital Image Processing
Topic: How to find the text?
Replies: 12
Views: 38569

Re: How to find the text?

Yeah, that was really foolish. :-( I will wait for Anthony: it seems he knows smth about this, but he deleted his old post in my previous topic. However, big thanks again!
by ghostmansd
2011-05-05T10:31:44-07:00
Forum: Digital Image Processing
Topic: How to find the text?
Replies: 12
Views: 38569

Re: How to find the text?

Hm, my be it's possible to do next way: 1) IM converts image to monochrome PBM; every PBM is a sequence of symbols 1 and 0, where 1 is black and 0 is white; 2) IM moves through PBM and finds where combination of 1 and 0 looks like text; 3) IM remembers the square of the first place which looks like ...
by ghostmansd
2011-05-05T01:22:04-07:00
Forum: Digital Image Processing
Topic: How to find the text?
Replies: 12
Views: 38569

How to find the text?

Dear users, is it possible to find any piece of text in the image? What I need: script looks through the image with area 50x50 pixels. If area consists of text, script remembers coordinates ($POSX and $POSY) of first background pixel in area and stop it's work. Example is below. http://rghost.ru/547...
by ghostmansd
2011-05-04T13:29:35-07:00
Forum: Users
Topic: Combine two pictures in one
Replies: 7
Views: 13215

Re: Combine two pictures in one

Is anybody here? :-)
by ghostmansd
2011-05-02T13:05:08-07:00
Forum: Users
Topic: Combine two pictures in one
Replies: 7
Views: 13215

Re: Combine two pictures in one

I think Fred's MagicWand would be perfect tool. Procedure, I think, is not very hard. App selects white and near-white pixels with MagicWand and makes them white, excluding white and almost-white in pictures. This means that MagicWand should select only neighbor white pixels , with sensitivity about...
by ghostmansd
2011-05-02T05:54:09-07:00
Forum: Users
Topic: Combine two pictures in one
Replies: 7
Views: 13215

Re: Combine two pictures in one

fmw42 wrote:I am not sure I understand fully your request, but here is a try.
Yes, that is directly what I need.
Anthony, could you explain, please? Or provide an example.
by ghostmansd
2011-05-01T12:52:16-07:00
Forum: Users
Topic: Combine two pictures in one
Replies: 7
Views: 13215

Re: Combine two pictures in one

I have no samples, only idea. This script will be used for combining black-white text and colored pictures. After scanning user receives two pictures: one is black-white and another one is colored with deleted text. This is the best way to make good scans for djvu documents, which is called "separat...
by ghostmansd
2011-05-01T10:35:00-07:00
Forum: Users
Topic: Combine two pictures in one
Replies: 7
Views: 13215

Combine two pictures in one

Dear forum users, I have two images of the same size: first one is monochrome ($TEXT), and the second one is full color ($PICS). I need to perform following operations: 1. Replace all black and white pixels in $PICS to transparent. 2. Replace all white pixels in $TEXT to transparent. 3. Make a new f...