Search found 123 matches

by manit
2018-08-16T07:08:09-07:00
Forum: Users
Topic: extracting biggest square from a rotated image
Replies: 18
Views: 13880

Re: extracting biggest square from a rotated image

Actually , I know the dimension of original image and angle by which it has to be rotated .
by manit
2018-08-15T06:39:09-07:00
Forum: Users
Topic: extracting biggest square from a rotated image
Replies: 18
Views: 13880

Re: extracting biggest square from a rotated image

sorry , did not have internet access so could not reply earlier. I am using imagemagick on linux desktop $ display --version Version: ImageMagick 6.8.9-9 Q16 x86_64 2018-07-10 http://www.imagemagick.org Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC Features: DPC Modules OpenMP Delegates:...
by manit
2018-08-12T06:43:26-07:00
Forum: Users
Topic: extracting biggest square from a rotated image
Replies: 18
Views: 13880

extracting biggest square from a rotated image

hi , Suppose I have a black canvas of 512x512 size convert -size 512x512 canvas:black black.png http://ibb.co/cLsbo9 Now I rotated it to get another images convert black.png -rotate 30 black-rotated-30degree.png http://ibb.co/nmkJ1U Now my aim is to cut out biggest black square from this rotated ima...
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: 3597

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: 5795

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_...
by manit
2018-05-02T05:16:14-07:00
Forum: Users
Topic: convert command gives error in bash script
Replies: 5
Views: 5795

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 periphe...
by manit
2018-05-02T01:42:48-07:00
Forum: Users
Topic: convert command gives error in bash script
Replies: 5
Views: 5795

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: 5795

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: 8023

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: 8023

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: 8023

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: 8023

Re: converted png to raw then identify says unexpected EOF

ok , i will try and report back.