Author | Message |
---|---|
cbort
Posts: 95
|
Posted 19:39 May 30, 2011 |
|
kknaur
Posts: 540
|
Posted 21:26 May 30, 2011 |
Part 2 using Walk Image 60 as input |
yogesh
Posts: 24
|
Posted 21:46 May 30, 2011 |
output50.ppm A target 50 and ref image is 48
2.b 60.ppm I got same image output 1 and output2. but for 50.ppm I got different both image I did not know what problem in my program Can you explain me . if possible then upload image for 50.ppm please.
|
kknaur
Posts: 540
|
Posted 21:48 May 30, 2011 |
Your method probably doesnt see the block where the person's leg is as moving, its ok since if its not moving in that block its not moving. |
yogesh
Posts: 24
|
Posted 22:04 May 30, 2011 |
this my block for image 50.ppm
block 1 (0,0)
I change which block have no value zero for next block
but I confused about how to select static block from 50ppm |
intregrisist
Posts: 41
|
Posted 22:24 May 30, 2011 |
Part 2 using Walk Image 60 as input. I will work on the extra credit tomorrow. |
intregrisist
Posts: 41
|
Posted 22:30 May 30, 2011 |
@yogesh For each dynamic block, you can iterate through all the static blocks and calculate their distance using the following formula: distance = sqrt( ((Dynamic Block Row - Static Block Row)^2 ) - Static Block Row)^2 ) +(Dynamic Block Col - Static Block Col)^2 ) )
Last edited by intregrisist at
22:34 May 30, 2011.
|
yogesh
Posts: 24
|
Posted 22:49 May 30, 2011 |
can you upload you 50.ppm output 1 and out put2 plz |
cbort
Posts: 95
|
Posted 23:35 May 30, 2011 |
2A for n = 50
2B for n = 50
|
cbort
Posts: 95
|
Posted 23:36 May 30, 2011 |
# Target Image name: IDB1\Walk_050.ppm
[ 0, 0] [ 0, 0] [ 0, 0] [ 0, 0] [ 0, 0] [ 0, 0] [ 0, 0] [ 0, 0] [ 0, 0] [ 0, 0] [ 0, 0] [ 0, 0]
I think thats the same... but Im too lazy to count, may want to set it to print in grid format rather than a list... Last edited by cbort at
23:37 May 30, 2011.
|