Message Boards Message Boards

0
|
4308 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

ImageDisplacement doesn't automatically list over images in V12.3

In version prior to 12.3 the ImageDisplacement function would automatically list over consecutive images to compute the flows. In version12.3 the ImageDisplacement function returns the result for only the last two images in the list. Basically it returns a matrix of 0s for all the other comparisons (except for the last two images).

Please check the image below for an example that is posted in the documentation (top-half) and what the function is actually returning upon execution (bottom-half).

enter image description here

I provide a workaround here. We need to either partition the images (see the image below) or use Image/@Rescale/@First@Transpose@BlockMap[ImageDisplacements,list,2,1] for the function to work appropriately.

enter image description here

Note that despite the images are the same the final results are still somewhat different than reported in the earlier versions.

POSTED BY: Ali Hashmi
2 Replies

Did you report this already? Thanks fir the solution!

POSTED BY: Sander Huisman

Yes. I have posted this on Redmine.

POSTED BY: Ali Hashmi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract