invalidateImageId api - cornerstonejs/cornerstone GitHub Wiki

This function causes all enabled elements currently displaying the specific imageId to be marked as invalid. Use drawInvalidated() to draw all invalidated images.

function invalidImageId(imageId);

Parameters:

  • imageId - the imageId that has been invalidated