Search found 75 matches

by manit
2018-05-26T23:24:27-07:00
Forum: Users
Topic: x,y coordinate transformation when image is rotated by 90 degrees
Replies: 3
Views: 644

x,y coordinate transformation when image is rotated by 90 degrees

i have 512x512 image whose SIFT descriptors I had found.
Now i rotated image by 90 degree using
convert src.jpg -rotate 90 dest.jpg
what will be new coordinates of point x,y of src.jpg ?
I require this so that I can see SIFT descriptor change between correspondences in src.jpg and dest.jpg .

Thanks.
by manit
2018-05-07T12:54:35-07:00
Forum: Users
Topic: convert command gives error in bash script
Replies: 5
Views: 825

Re: convert command gives error in bash script

sorry for late reply. Thanks a lot, snibgo. It works. Here is the working code #!/bin/bash img_file=$2 while read one_line; do let "first_num = $(echo $one_line|cut -d ' ' -f1)" let "second_num = $(echo $one_line|cut -d ' ' -f2)" echo first num-$first_num echo second num-$second_num let "periphery =...
by manit
2018-05-02T05:16:14-07:00
Forum: Users
Topic: convert command gives error in bash script
Replies: 5
Views: 825

Re: convert command gives error in bash script

Now my script is #!/bin/bash img_file=$2 while read one_line; do let "first_num = $(echo $one_line|cut -d ' ' -f1)" let "second_num = $(echo $one_line|cut -d ' ' -f2)" echo first num-$first_num echo second num-$second_num let "periphery = $((second_num+5))" echo periphery-$periphery convert /home/lx...
by manit
2018-05-02T01:42:48-07:00
Forum: Users
Topic: convert command gives error in bash script
Replies: 5
Views: 825

Re: convert command gives error in bash script

i had to use double quotes because I am using $first_num .
I will put just that variable in double quotes and see what happens.
by manit
2018-05-01T04:46:07-07:00
Forum: Users
Topic: convert command gives error in bash script
Replies: 5
Views: 825

convert command gives error in bash script

I am using $ convert --version Version: ImageMagick 6.8.9-9 Q16 x86_64 2017-07-31 http://www.imagemagick.org Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC Features: DPC Modules OpenMP Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo...
by manit
2018-04-29T23:10:30-07:00
Forum: Users
Topic: converted png to raw then identify says unexpected EOF
Replies: 7
Views: 844

Re: converted png to raw then identify says unexpected EOF

That works. Thanks a lot snibgo . For somebody else who wants to convert image to wsq so that mindtct can detect minutae in it. convert <input_image> sth.gray identify -size <imgXximgY> -depth 8 sth.gray # to verify sth.gray cwsq <compressionratio> wsq sth.gray -raw_in <imgX,imgY,8> 0.75 will make s...
by manit
2018-04-28T00:47:56-07:00
Forum: Users
Topic: converted png to raw then identify says unexpected EOF
Replies: 7
Views: 844

Re: converted png to raw then identify says unexpected EOF

I am trying to convert a png image to format suitable for this utility .
It mentions raw pixmap as an option.
https://github.com/lessandro/nbis/blob/ ... an1/cwsq.1
by manit
2018-04-27T22:08:25-07:00
Forum: Users
Topic: converted png to raw then identify says unexpected EOF
Replies: 7
Views: 844

Re: converted png to raw then identify says unexpected EOF

Can the rgb image I have made in original post be called raw pixmap ?
by manit
2018-04-27T21:39:42-07:00
Forum: Users
Topic: converted png to raw then identify says unexpected EOF
Replies: 7
Views: 844

Re: converted png to raw then identify says unexpected EOF

ok , i will try and report back.
by manit
2018-04-20T20:52:31-07:00
Forum: Users
Topic: converted png to raw then identify says unexpected EOF
Replies: 7
Views: 844

converted png to raw then identify says unexpected EOF

Here is what I did $ identify ~/Downloads/sd04/png_txt/figs_0/f0001_01.png /home/lxuser/Downloads/sd04/png_txt/figs_0/f0001_01.png PNG 512x512 512x512+0+0 8-bit RGB 256c 212KB 0.000u 0:00.000 $ convert ~/Downloads/sd04/png_txt/figs_0/f0001_01.png f0001_01.rgb $ identify f0001_01.rgb identify: must s...
by manit
2017-11-23T21:36:20-07:00
Forum: Users
Topic: finding pixel position in imagemagick
Replies: 2
Views: 1106

Re: finding pixel position in imagemagick

sorry for late reply. could not get internet access. Now, I have tried it and found following. I clicked and chose edit>cut.Then mouse position appears in top left corner. But, the issue is it does not show absolute pixel position of the image. Suppose , i zoom in 16 times in an image then i should ...
by manit
2017-11-08T07:41:29-07:00
Forum: Users
Topic: finding pixel position in imagemagick
Replies: 2
Views: 1106

finding pixel position in imagemagick

i opened an image using GUI of imagemagick in ubuntu 16.04.3(64bit) . Now I zoomed into the image . I want to know the pixel position of my mouse . Actually my aim is to manually locate pixel position of a particular chessboard square corner in image . In paintbrush in windows , it is simply hoverin...