Skip to main content

Crate medical_cache

Crate medical_cache 

Source
Expand description

§medical-cache

Multi-tier cache system optimized for medical imaging workflows.

§Features

  • Three-tier Cache: Hot (GPU textures), Warm (CPU memory), Cold (disk)
  • Progressive Loading: Thumbnail → Mid-res → Full resolution
  • Prefetch Scheduler: Predictive slice prefetching based on navigation patterns
  • LRU Eviction: Per-tier eviction with configurable size limits
  • Multi-Resolution: Bilinear-interpolated thumbnails and mid-res previews

Re-exports§

pub use config::CacheRetentionPolicy;
pub use config::CacheTier;
pub use config::ExpectedPerformance;
pub use config::ImageQuality;
pub use config::PerformanceProfile;
pub use config::PrefetchStrategy;
pub use config::StudyCacheConfig;
pub use study_cache::CacheEntry;
pub use study_cache::CacheEntryState;
pub use study_cache::CacheError;
pub use study_cache::CachedStudy;
pub use study_cache::StudyCache;
pub use study_cache::StudyCacheStats;
pub use study_cache::StudyInfo;
pub use prefetch::PrefetchPriority;
pub use prefetch::PrefetchScheduler;
pub use prefetch::PrefetchState;
pub use prefetch::PrefetchTask;
pub use multi_res::ImageResizer;
pub use multi_res::MultiResImage;
pub use multi_res::MultiResLevels;
pub use multi_res::QualityStatus;
pub use progressive::LoadPriority;
pub use progressive::LoadRequest;
pub use progressive::LoadResult;
pub use progressive::ProgressiveLoader;
pub use progressive::ProgressiveLoaderStats;

Modules§

config
Study Cache Configuration
multi_res
Multi-Resolution Image Generator
prefetch
Prefetch Scheduler
progressive
Progressive Loading API
study_cache
Study Cache Manager