Search found 12 matches

by Wanderer
2014-05-27T13:10:02-07:00
Forum: Users
Topic: Draw multiple rectangles with single command
Replies: 2
Views: 6322

Re: Draw multiple rectangles with single command

Thanks snibgo
by Wanderer
2014-05-27T12:06:51-07:00
Forum: Users
Topic: Draw multiple rectangles with single command
Replies: 2
Views: 6322

Draw multiple rectangles with single command

hi , I want to draw multiple colored rectangle in my image using the -draw command. I can use the below command to draw one rectangle/command. Is there any way possible to draw more than one rectangle in single command. convert Image1.jpg -fill black -draw "rectangle 135,55 155,60" Image2.jpg I am ...
by Wanderer
2014-05-06T12:32:54-07:00
Forum: Users
Topic: Region Extracting and Image Registration
Replies: 9
Views: 8474

Re: Region Extracting and Image Registration

Thanks for you help Snibgo , I ran you .bat file however it doesn't give me exact image of the box as the output(i.e some of the image is clipped and some is unwanted) though your script is quite useful. My requirement is to get the exact box image. I don't care if I need to outline the box with ...
by Wanderer
2014-05-06T10:56:31-07:00
Forum: Users
Topic: Region Extracting and Image Registration
Replies: 9
Views: 8474

Re: Region Extracting and Image Registration

Can you please help me with the first part of extracting the image of the box from the main image. I couldn't find that part in the solution you gave in the link.
by Wanderer
2014-05-06T10:06:56-07:00
Forum: Users
Topic: Region Extracting and Image Registration
Replies: 9
Views: 8474

Re: Region Extracting and Image Registration

Actually I am going to use this concept in my project. So trying to find out whether it is possible or not. Answering your question the idea of border was on some portion of the larger image so that I can determine what region from the larger image I need to crop which is the same as the reference ...
by Wanderer
2014-05-06T08:50:26-07:00
Forum: Users
Topic: Region Extracting and Image Registration
Replies: 9
Views: 8474

Re: Region Extracting and Image Registration

Hi Snibgo , I went through your answer. I believe some learning needs to be done before I can actually do all of it myself. One quick question though. Suppose I have a reference image and bigger image which contains the reference image part(probably alignment different). If I put some color border ...
by Wanderer
2014-05-06T07:22:13-07:00
Forum: Users
Topic: Region Extracting and Image Registration
Replies: 9
Views: 8474

Region Extracting and Image Registration

Hello , I am currently trying to work out image registration with imagemagick. I want to try out a couple of things 1. Extracting a image of the product from the bigger image named Image1.jpg. 2. Doing image registration of Image2.jpg with the extracted smaller image in step 1. I guess that would ...
by Wanderer
2014-05-05T11:01:44-07:00
Forum: Users
Topic: Set brightness and Contrast of 2 Images similar
Replies: 10
Views: 11075

Re: Set brightness and Contrast of 2 Images similar

I am sorry I didn't answer that earlier. I am working on windows using the latest version - ImageMagick-6.8.9-Q16. For now I m just trying this experiment with any random .png images. I am just increasing contrast and brightness of an image and saving it as a new image and then running the equalize ...
by Wanderer
2014-05-05T09:50:45-07:00
Forum: Users
Topic: Set brightness and Contrast of 2 Images similar
Replies: 10
Views: 11075

Re: Set brightness and Contrast of 2 Images similar

Thanks guys. I wasn't using the equalize command properly. Once I did it as you people suggested I got better results however still there is some difference between images. Would histogram match as suggested reduce the difference further...?
by Wanderer
2014-05-04T15:37:11-07:00
Forum: Users
Topic: Set brightness and Contrast of 2 Images similar
Replies: 10
Views: 11075

Re: Set brightness and Contrast of 2 Images similar

Hello , I ran the equalize command on both the images a.png and b.png and got 2 new images a1.png and b1.png. Now I compared a1.png and b1.png using compare command and saw the rgb difference to be more than what it was when I compared a.png and b.png. I am not sure whether equalize would be ...
by Wanderer
2014-05-04T15:13:18-07:00
Forum: Users
Topic: Set brightness and Contrast of 2 Images similar
Replies: 10
Views: 11075

Re: Set brightness and Contrast of 2 Images similar

Hello fmw42 ,

Can you please tell me how to run your script.. I am quite new to imagemagick so couldn't figure out how to run the equalize command as well. Please provide me with a sample -equalize command.

Thanks..
by Wanderer
2014-05-04T14:58:10-07:00
Forum: Users
Topic: Set brightness and Contrast of 2 Images similar
Replies: 10
Views: 11075

Set brightness and Contrast of 2 Images similar

I am developing an application which requires me to compare 2 images for similarity. Before comparison I want to set the brightness and contrast of the image to be compared similar to the reference image. I can compare both images using the compare command however I am stuck on how to set the ...