Local high precision magnifier system based on digital pathology slides

By designing a high-precision local magnification system, high-resolution local magnification of digital pathological slides was achieved, solving the problem of low diagnostic efficiency in existing technologies and improving the accuracy of pathological diagnosis and user experience.

CN122115202APending Publication Date: 2026-05-29BEIJING THOROUGH FUTURE INC

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING THOROUGH FUTURE INC
Filing Date
2026-04-15
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

Existing technologies struggle to achieve high-precision local magnification based on raw high-resolution data in digital pathology diagnosis, leading to problems such as frequent zooming operations, field of view jumps, and low diagnostic efficiency.

Method used

Design a high-precision local magnifying glass system based on digital pathological slides. The system shares image resources between the main view module and the magnifying glass module, uses a cloning mechanism to achieve high-magnification display of local areas, and ensures high consistency and interactivity between the main view and the magnifying glass module through modules such as viewport boundary synchronization, bidirectional event-driven synchronization, and control handle layer.

Benefits of technology

It enables local magnification based on raw high-resolution data, reducing server and network pressure, improving diagnostic accuracy and efficiency, and supporting rotation and multi-level scaling, thus enhancing the convenience and flexibility of user operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122115202A_ABST
    Figure CN122115202A_ABST
Patent Text Reader

Abstract

The application discloses a kind of based on digital pathology section local high-precision magnifying glass system, comprising: main view module, for loading and display digital pathology whole section image;Magnifying glass module, including nested sub-viewport, for specified local area in the current field of view of the main view module is carried out high-power display;Wherein, the magnifying glass module is shared with the main view module by cloning mechanism Image resources;Display area layer, which is overlaid on the display interface of the main view module, is used to visually mark the corresponding position of the local area in the main view module;Control handle layer, integrated in the display area layer, is used to receive user input to interactively adjust the local area, realize local magnification based on original high-resolution data;Non-repeated loading of image resources significantly reduces server and network pressure;Main view and local view are highly consistent, to avoid misdiagnosis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of digital pathological slide magnification, and in particular to a local high-precision magnifying glass system based on digital pathological slides. Background Technology

[0002] With the development of digital pathology technology, digital pathology diagnosis based on whole-slide imaging (WSI) has gradually become the mainstream application mode. Digital pathology images typically have the following characteristics: Ultra-high resolution, multi-level pyramid structure, dynamic on-demand loading, and support for translation, scaling, rotation, and other interactive functions are required. In actual diagnosis, pathologists often need to quickly browse tissue structures in a global view while observing suspected lesions at high magnification, maintaining a global sense of location while avoiding frequent zoom switching. Traditional single-viewport zoom mode leads to frequent zoom-in / zoom-out operations, cognitive burden caused by field of view jumps, and low efficiency of local high-precision analysis.

[0003] To address the above problems, existing technologies mainly employ the following methods: Option 1: Use browser's native CSS scale function to zoom in. This means magnifying a certain area through the DOM hierarchy. Its disadvantages include: (1) it magnifies the rendered pixels, not the original high-resolution image; (2) the clarity is limited; (3) it does not support dynamic loading of multi-level tiles; and (4) it is not suitable for WSI.

[0004] Option 2, manual synchronization of dual independent viewers: This involves manually monitoring changes in the main viewport and updating the secondary viewport using two independent image viewers. Its disadvantages include: (1) requiring repeated loading of tiles; (2) large synchronization error; (3) difficulty in aligning boundaries and rotation states; (4) high performance consumption; and (5) lack of area drag control capability.

[0005] Option 3, Navigator small window: like a regular navigation thumbnail, only displays the global area. Its disadvantages include: (1) it does not provide high-magnification local enhancement; (2) it is only used for positioning, not for diagnosis.

[0006] Since the three existing technical solutions are insufficient to meet the high-precision magnification requirements in practical applications, there is an urgent need for a local high-precision magnifying glass system based on digital pathology slides to solve the above problems in digital pathology scenarios. Summary of the Invention

[0007] This invention aims to at least partially solve one of the technical problems in the aforementioned technologies. Therefore, the objective of this invention is to propose a high-precision local magnification system based on digital pathological slides, achieving true local magnification based on original high-resolution data; avoiding repeated loading of image resources, significantly reducing server and network pressure; and ensuring high consistency between the main view and the local view, avoiding diagnostic misjudgments.

[0008] To achieve the above objectives, embodiments of the present invention propose a local high-precision magnifying glass system based on digital pathological slides, comprising: The main view module is used to load and display digital pathology whole slide images; The magnifying glass module includes nested sub-viewports for displaying a specified local area within the current field of view of the main view module at high magnification; wherein, the magnifying glass module shares image resources with the main view module through a cloning mechanism; A display area layer is provided, which covers the display interface of the main view module, and is used to visually mark the corresponding position of the local area in the main view module; A control handle layer, integrated into the display area layer, is used to receive user input for interactive adjustment of the local area.

[0009] Preferably, the image resources include: image block cache, image loader, and image data source.

[0010] Preferably, it further includes: a viewport boundary synchronization module, used to calculate the viewport boundary of the main view module and map the viewport boundary to image pixel coordinates to determine the boundary coordinates of the display area layer and the display boundary of the sub-viewport, thereby synchronizing the viewport states of the main view module and the magnifying glass module.

[0011] Preferably, the viewport boundary synchronization module maps the viewport boundary to image pixel coordinates to determine the boundary coordinates of the display area layer and the display boundary of the sub-viewport, including: ; in, To display the x-coordinate of the boundary of the region layer; To display the ordinate of the boundary of the region layer; The x-coordinate of the viewport boundary after normalization; The ordinate of the viewport boundary after normalization; Set the zoom level for the main viewer. The width of the original image; High for the original image; ; in, The normalized top-left corner coordinates of the display boundary of the sub-viewport in the magnifying glass module; The normalized lower right corner coordinates of the display boundary of the sub-viewport in the magnifying glass module; Normalized coordinates of the top left corner of the main viewport; Normalized dimensions for the main viewport; This is the scaling factor for the magnifying glass.

[0012] Preferably, it further includes: a two-way event-driven synchronization module, used to listen to viewport changes and rotation events of the main view module and the magnifying glass module, and to perform the following: when the view state of the main view module changes, drive the magnifying glass module to update synchronously; when the sub-viewport in the magnifying glass module is interactively dragged, drive the position of the display area layer in the main view module to update accordingly.

[0013] Preferably, the control handle layer includes: A region movement handle submodule is used to respond to user dragging to adjust the position of the local region; The area zoom handle submodule is used to respond to user dragging to adjust the size of the local area.

[0014] Preferably, the control handle layer further includes: a switching submodule, used to respond to the user's keyboard shortcut operation, switch the operation focus between the main view module and the magnifying glass module, or adjust the magnification of the magnifying glass module.

[0015] Preferably, it further includes: a rotation processing module, used to control the sub-viewport to rotate in the opposite direction when the main view module rotates, and to synchronize the rotation center of the sub-viewport with the rotation center of the main view module, so as to keep the display content of the magnifying glass module consistent with the visual direction of the local area in the main view module.

[0016] Preferably, it further includes: a dynamic size adaptive module, used to calculate the size of the sub-viewport in the magnifying glass module after the size change when the display size of the main view module changes, and control the display area layer to maintain a constant area or a constant aspect ratio.

[0017] Preferably, when the display size of the main view module changes, the size of the sub-viewport in the magnifying glass module after the size change is calculated, and the display area layer is controlled to maintain a constant area or a constant aspect ratio, including: ; in, This is the window width of the sub-viewport in the magnifying glass module; The height of the magnifying glass window; To fix the area of ​​the magnifying glass; Main viewer container width; The main viewer container is high.

[0018] The present invention has achieved the following beneficial effects: This invention provides a high-precision local magnifying glass system based on digital pathological slides. It enables true local magnification based on original high-resolution data, allowing doctors and researchers to obtain the most realistic and clear image details of local areas when observing digital pathological slides. Whether it's the fine structure of cells or the minute lesions of tissues, everything can be presented in high resolution, providing a solid data foundation for accurate pathological diagnosis. The magnifying glass module shares image resources with the main view module through a cloning mechanism, specifically cloning at the JavaScript object level (Viewer / Model layer), eliminating the need for repeated image loading. This feature significantly reduces server storage pressure and computational burden, while also reducing network data transmission. When processing large-scale digital pathological slide data, it effectively improves the overall performance of the system, ensuring a smooth user experience. The images presented by the main view module and the magnifying glass module are highly consistent, avoiding diagnostic misjudgments caused by image differences. The system supports rotation and multi-level zoom functions; users can flexibly adjust the image angle and zoom level according to actual needs, observing pathological slides from different perspectives and scales for a more comprehensive understanding of the lesions. The multi-level zoom function allows users to easily switch between macro and micro views to meet different observation needs; the control handle layer is integrated into the display area layer, giving the system interactive area control capabilities; users can conveniently select and adjust the local area to be observed according to their own needs through the control handle, and achieve precise control of the local area; this interactive design greatly improves the convenience and flexibility of user operation.

[0019] Other features and advantages of the invention will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the written description and the accompanying drawings.

[0020] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description

[0021] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings: Figure 1 This is a block diagram of a local high-precision magnifying glass system based on digital pathological slides according to an embodiment of the present invention; Figure 2This is a schematic diagram of the initial state and system layout of a digital pathology whole slide image according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the movement of the magnifying glass area in a digital pathological whole slide image according to an embodiment of the present invention; Figure 4 This is a schematic diagram of the movement of the magnifying glass area in a digital pathological whole slide image according to an embodiment of the present invention. Detailed Implementation

[0022] The preferred embodiments of the present invention will be described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are for illustration and explanation only and are not intended to limit the present invention.

[0023] Example 1: As Figure 1 As shown, a high-precision local magnifying glass system based on digital pathological slides includes: The main view module is used to load and display digital pathology whole slide images; The magnifying glass module includes nested sub-viewports for displaying a specified local area within the current field of view of the main view module at high magnification; wherein, the magnifying glass module shares image resources with the main view module through a cloning mechanism; A display area layer is provided, which covers the display interface of the main view module, and is used to visually mark the corresponding position of the local area in the main view module; A control handle layer, integrated into the display area layer, is used to receive user input for interactive adjustment of the local area.

[0024] In this embodiment, the main view module also includes the main view scaling level and the main view rotation angle.

[0025] In this embodiment, the magnifying glass module shares the underlying image resources with the main view module through a data cloning mechanism, but has an independent viewport transformation matrix.

[0026] In this embodiment, cloning involves creating a new Magnifier Viewer instance with its own viewport to calculate "which area of ​​the main image I should be looking at now." It maps the coordinates of the main viewport to local coordinates using mathematical formulas. When the Magnifier Viewer calculates that a high-resolution tile needs to be loaded, it doesn't download it from the network but directly looks in the main Viewer's tileCache memory pool. If the main view has already loaded this tile, it uses the reference directly; if the main view hasn't loaded it, it initiates a request through the shared Image Loader, loads it, and stores it in both the main view's and the magnifier's caches. This cloning approach is essentially a combination of a lightweight view instance and a shared heavyweight resource pool. This method ensures that the magnifier can independently calculate local high-precision images while perfectly achieving the technical effects of avoiding redundant resource loading and pixel-level consistency.

[0027] The working principle and beneficial effects of the above technical solution are as follows: This system enables true local magnification based on raw high-resolution data, allowing doctors and researchers to obtain the most realistic and clear image details of local areas when observing digital pathology slides. Whether it's the fine structure of cells or the minute lesions of tissues, everything is presented in high resolution, providing a solid data foundation for accurate pathological diagnosis. The magnifying glass module shares image resources with the main view module through a cloning mechanism, eliminating the need for repeated image loading. This feature significantly reduces server storage pressure and computational burden, while also reducing network data transmission. When processing large-scale digital pathology slide data, it effectively improves the overall performance of the system, ensuring a smooth user experience. The images presented by the main view module and the magnifying glass module are highly consistent, avoiding diagnostic misjudgments caused by image differences. The system supports rotation and multi-level zoom functions; users can flexibly adjust the image angle and zoom level according to actual needs, observing pathology slides from different perspectives and scales for a more comprehensive understanding of the lesions. The multi-level zoom function allows users to easily switch between macro and micro views to meet different observation needs; the control handle layer is integrated into the display area layer, giving the system interactive area control capabilities; users can conveniently select and adjust the local area to be observed according to their own needs through the control handle, and achieve precise control of the local area; this interactive design greatly improves the convenience and flexibility of user operation.

[0028] Example 2: The image resources include: image block cache, image loader and image data source.

[0029] The working principle and beneficial effects of the above technical solution are as follows: it accelerates image display, reduces display time, and improves operational smoothness; it avoids repeated data loading, reduces server and network pressure, and improves resource utilization; it intelligently loads image data to ensure the continuity and real-time performance of the main view and magnifying glass module image display; it adapts to different network environments and provides a relatively stable experience under various network conditions; it ensures data integrity and consistency, providing a reliable basis for pathological diagnosis; and it supports data updates and expansion, allowing the inclusion of new samples and the improvement of existing data.

[0030] Example 3: It also includes a viewport boundary synchronization module, which is used to calculate the viewport boundary of the main view module and map the viewport boundary to image pixel coordinates to determine the boundary coordinates of the display area layer and the display boundary of the sub-viewport, thereby synchronizing the viewport states of the main view module and the magnifying glass module.

[0031] In this embodiment, the core logic of the formula for the red highlighted area is to perfectly match the position and size of the red highlighted area to the pixel range of the main viewport on the image, thus visually indicating the main viewer area corresponding to the magnifying glass. Formula expression: ; in, The image pixel coordinates of the top left corner of the main viewport. The x-coordinate of the image pixels at the top left corner of the main viewport; The vertical coordinate of the image pixels at the top left corner of the main viewport; Image pixel coordinates at the bottom right corner of the main viewport; The x-coordinate of the image pixels at the bottom right corner of the main viewport; The vertical coordinate of the image pixel at the bottom right corner of the main viewport is used. The above formula expression obtains the actual width / height by the difference of the pixel coordinates. Taking the absolute value avoids negative value problems caused by the order of coordinates and ensures that the highlight box size is positive.

[0032] The working principle and beneficial effects of the above technical solution are as follows: The viewport boundary synchronization module ensures that the viewport states of the main view module and the magnifying glass module are synchronized. When the user operates in the main view, the magnifying glass module can present the corresponding local area in a timely and accurate manner, making the operation more seamless and avoiding repeated adjustments. By mapping the viewport boundary to image pixel coordinates to determine the boundary of the display area, the observation area can be accurately located, allowing doctors and other users to focus on key pathological features more efficiently. The synchronization of the viewport states of the two modules enhances the interactivity of the system, enabling different observation methods to work together and improving the overall user experience.

[0033] Example 4: The viewport boundary synchronization module maps the viewport boundary to image pixel coordinates to determine the boundary coordinates of the display area layer and the display boundary of the sub-viewport, including: ; in, To display the x-coordinate of the boundary of the region layer; To display the ordinate of the boundary of the region layer; The x-coordinate of the viewport boundary after normalization; The ordinate of the viewport boundary after normalization; Set the zoom level for the main viewer. The width of the original image; High for the original image; ; in, The normalized top-left corner coordinates of the display boundary of the sub-viewport in the magnifying glass module; The normalized lower right corner coordinates of the display boundary of the sub-viewport in the magnifying glass module; Normalized coordinates of the top left corner of the main viewport; Normalized dimensions for the main viewport; This is the scaling factor for the magnifying glass.

[0034] The working principle and beneficial effects of the above technical solution are as follows: By mapping the viewport boundary to image pixel coordinates, the boundary coordinates of the display area layer and the display boundary of the sub-viewport can be accurately determined, making the image display more accurate and facilitating users to focus on key areas; considering the main viewer zoom level and the magnifying glass zoom factor, the corresponding area can be accurately presented under different zoom conditions to meet diverse observation needs; it helps to synchronize the viewport states of the main view module and the magnifying glass module, ensuring the correspondence and consistency of the content displayed by the two modules, and improving the observation experience and efficiency.

[0035] Example 5: It also includes a bidirectional event-driven synchronization module, used to listen to viewport changes and rotation events of the main view module and the magnifying glass module, and to perform the following: when the view state of the main view module changes, drive the magnifying glass module to update synchronously; when the sub-viewport in the magnifying glass module is interactively dragged, drive the position of the display area layer in the main view module to update accordingly.

[0036] The working principle and beneficial effects of the above technical solution are as follows: The bidirectional event-driven synchronization module can monitor the viewport changes and rotation events of the main view module and the magnifying glass module in real time, ensuring that the view states of the two modules are always synchronized, providing users with a seamless and consistent operating experience; whether the state of the main view module changes or the sub-viewport of the magnifying glass module is dragged, it can quickly drive the corresponding module to update, allowing users to operate flexibly and improve viewing and analysis efficiency; it promotes the collaborative work between the main view module and the magnifying glass module, making the two work more closely together, facilitating users to observe and study images from different perspectives, and improving work quality.

[0037] Example 6: Control handle layer, including: A region movement handle submodule is used to respond to user dragging to adjust the position of the local region; The area zoom handle submodule is used to respond to user dragging to adjust the size of the local area.

[0038] The working principle and beneficial effects of the above technical solution are as follows: the control handle layer's area movement and scaling handle sub-modules allow for simple drag-and-drop operations to adjust the position and size of local areas, making the operation intuitive and convenient; it enables precise movement of local areas to suitable positions and sizes according to user needs, which helps to focus on key content and improve the accuracy of local image display; it enhances the interactivity between users and image content, allowing users to operate more autonomously when observing and analyzing images, thus improving user satisfaction and efficiency.

[0039] Example 7: The control handle layer further includes a switching submodule, used to respond to the user's keyboard shortcut operation, switch the operation focus between the main view module and the magnifying glass module, or adjust the magnification of the magnifying glass module.

[0040] The working principle and beneficial effects of the above technical solution are as follows: users can quickly switch the focus between the main view module and the magnifying glass module or adjust the magnification using keyboard shortcuts, without the need for complex mouse operations, saving time and improving efficiency; it provides diverse interaction methods to meet the operating habits and actual usage scenarios of different users, allowing users to control the view more flexibly; keyboard shortcuts make the operation process smoother, reducing distractions caused by searching for the mouse or performing tedious clicks, and helping users focus more on image content analysis.

[0041] Example 8: It also includes a rotation processing module, which controls the sub-viewport to rotate in the opposite direction when the main view module rotates, and synchronizes the rotation center of the sub-viewport with the rotation center of the main view module, so as to keep the display content of the magnifying glass module consistent with the visual direction of the local area in the main view module.

[0042] The working principle and beneficial effects of the above technical solution are as follows: It ensures that the content displayed by the magnifying glass module is always consistent with the visual direction of the local area of ​​the main view module, avoiding visual confusion caused by the rotation of the main view, allowing users to observe local details naturally and continuously; when the main view rotates, the sub-viewport automatically rotates in the opposite direction, with the rotation center synchronized, eliminating the need for users to manually adjust the sub-viewport, simplifying operation steps, and improving ease of use and smoothness; the unified visual direction helps users accurately compare and analyze local details under the magnifying glass module even after the main view is rotated, improving the accuracy of observation and analysis.

[0043] Example 9: It also includes a dynamic size adaptive module, which is used to calculate the size of the sub-viewport in the magnifying glass module after the size change when the display size of the main view module changes, and control the display area layer to keep the area constant or the aspect ratio constant.

[0044] The working principle and beneficial effects of the above technical solution are as follows: When the display size of the main view module changes, it can automatically calculate the size of the sub-viewport, so that the area or aspect ratio of the display area layer remains constant, avoiding distortion or loss of display content and ensuring a stable visual experience; it can adapt to different size changes of the main view, enhance the system's adaptability to various display scenarios, and meet diverse usage needs; the system automatically completes the adaptation without requiring users to manually adjust the magnifying glass module display, making operation more convenient and improving user satisfaction.

[0045] Example 10: When the display size of the main view module changes, calculate the size of the sub-viewport in the magnifying glass module after the size change, and control the display area layer to maintain a constant area or a constant aspect ratio, including: ; in, This is the window width of the sub-viewport in the magnifying glass module; The height of the magnifying glass window; To fix the area of ​​the magnifying glass; Main viewer container width; The main viewer container is high.

[0046] The working principle and beneficial effects of the above technical solution are as follows: it can ensure that the magnifying glass module sub-viewport maintains a fixed area display when the size of the main view module changes, avoiding the area chaos of the displayed content caused by the change of the main view size, and providing users with a stable observation range; it automatically calculates the width and height of the sub-viewport according to the width and height of the main view container, realizing the sub-viewport size adapting to the change of the main view module without manual intervention, thus improving the ease of use.

[0047] In a specific embodiment of this application, the basic proportional dimension formula is as follows: ; Physically, the magnifying glass window maintains a similar shape to the main viewer, with the same aspect ratio, and its size proportion is... Control. For example. At the same time, the width and height of the magnifying glass are both 20% of the main viewer's to ensure visual harmony; This is the window width of the sub-viewport in the magnifying glass module; The height of the magnifying glass window; Main viewer container width; The height of the main viewer container; This is the size ratio factor.

[0048] The formula for adaptive fixed area is as follows: ; The physical meaning is that after the user manually adjusts the size of the magnifying glass, the system records its area. When the size of the main viewer changes, keep the area constant and adjust the shape of the magnifying glass only according to the aspect ratio of the main viewer to avoid stretching and deformation. This is the window width of the sub-viewport in the magnifying glass module; The height of the magnifying glass window; To fix the area of ​​the magnifying glass; Main viewer container width; The main viewer container is high.

[0049] The specific formula for synchronizing the zoom of a magnifying glass is as follows: ; The physical meaning is that the zoom level of the magnifying glass is linked to the main viewer in real time, always at the same zoom level. Zoom in on the main viewport content. For example... (Original size) hour, The magnifying glass displays 3x the detail.

[0050] The normalized viewport coordinates are transformed into image pixel coordinates based on the homogeneous coordinate transformation matrix. The specific formula expression is as follows: ; in, This represents the X position in the image coordinate system after the transformation; This represents the Y-position in the image coordinate system after the transformation; , These are the viewport offsets; , Normalized viewport coordinates; Scaling level; The width of the original image; The original image height is given by the formula above, which fully describes the transformation process from normalized viewport coordinates to image pixel coordinates, integrating scaling (…). , ) and offset ( , ), serving as the underlying mathematical support for the OpenSeadragon viewport system.

[0051] Figure 2 , Figure 3 , Figure 4This is the user interface for a high-precision local magnifying glass system based on digital pathological slides. It is used to perform high-magnification and high-resolution detailed observation of specific areas when browsing full-view pathological images. The system adopts a dual-screen linkage architecture with a main view and a magnifying glass view. The left side is the main view and the right side is the magnifying glass view. By marking the current observation area, it can achieve collaborative analysis of global overview and local detailed reading. Figure 2 The left-hand main view displays a complete pathological slide image, which supports global zoom for locating the region of interest. The right-hand magnifying glass view displays a high-magnification image of the area marked by the circle on the left. The image is circular, showing the microstructure of the tissue. In the circle of the main view, the area currently being observed by the magnifying glass is marked, located slightly to the upper right of the image, and is currently covered by a cluster of cells. Figure 3 This is a schematic diagram of the magnifying glass area movement in a digital pathology whole slide image. The left side is the main view, and the image content is... Figure 2 Similar, but the position of the circle has changed, moving to the upper left area in the main view, covering another cell cluster; the right side is a magnified view, showing a high-magnification image of the new position, the image content is a part of the cell cluster, the cells are closely arranged and the structure is clear, corresponding to the circled area in the main view; Figure 4 This diagram illustrates the movement of the magnifying glass area in a digital pathology whole-slice image. The left side is the main view, where the circle has moved again to the lower part of the main view, covering a cluster of cells. Two arrows point to the circle and the magnifying glass view respectively, emphasizing their correspondence. The right side, the magnifying glass view, shows a high-magnification image of the new location, revealing a localized area of ​​the cell cluster. The cells are tightly packed and clearly structured, corresponding to the circled area in the main view.

[0052] This application uses a specific calculation process, illustrated by examples, such as: Given the following conditions - the main viewer size is: , The size ratio factor is: The magnification factor is: The original image size is: , The normalized coordinates of the top left corner of the main viewport are: The normalized size of the main viewport is: The main viewer zoom level is: ; Calculation steps: 1. Calculate the size of the magnifying glass as follows: , ; 2. The calculation of the magnification level of the magnifying glass is as follows: ; 3. The calculation of the pixel coordinates for the main viewport is as follows: , ; ; ; 4. The calculation for the red highlighted box is as follows: , ; width=|7000-3000|=4000 height=|5600-3200|=2400 ; 5. The calculation of the magnifying glass viewport coordinates is as follows: ; ; The size of the magnifying glass window is It occupies 20% of the main viewer; The magnifying glass displays the main viewport area at 3x zoom; The red highlighted box is positioned on the main viewer as... ,size px, which is exactly the same as the pixel range of the main viewport.

[0053] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.

Claims

1. A high-precision local magnifying glass system based on digital pathological slides, characterized in that, include: The main view module is used to load and display digital pathology whole slide images; The magnifying glass module includes nested sub-viewports for displaying a specified local area within the current field of view of the main view module at high magnification; wherein, the magnifying glass module shares image resources with the main view module through a cloning mechanism; A display area layer is provided, which covers the display interface of the main view module, and is used to visually mark the corresponding position of the local area in the main view module; A control handle layer, integrated into the display area layer, is used to receive user input for interactive adjustment of the local area.

2. The high-precision local magnifying glass system based on digital pathological slides as described in claim 1, characterized in that, The image resources include: image block cache, image loader, and image data source.

3. The high-precision local magnifying glass system based on digital pathological slides as described in claim 1, characterized in that, Also includes: The viewport boundary synchronization module is used to calculate the viewport boundary of the main view module and map the viewport boundary to image pixel coordinates to determine the boundary coordinates of the display area layer and the display boundary of the sub-viewport, thereby synchronizing the viewport states of the main view module and the magnifying glass module.

4. The high-precision local magnifying glass system based on digital pathological slides as described in claim 3, characterized in that, The viewport boundary synchronization module maps the viewport boundary to image pixel coordinates to determine the boundary coordinates of the display area layer and the display boundary of the sub-viewport, including: ; in, To display the x-coordinate of the boundary of the region layer; To display the ordinate of the boundary of the region layer; The x-coordinate of the viewport boundary after normalization; The ordinate of the viewport boundary after normalization; Set the zoom level for the main viewer. The width of the original image; High for the original image; ; in, The normalized top-left corner coordinates of the display boundary of the sub-viewport in the magnifying glass module; The normalized lower right corner coordinates of the display boundary of the sub-viewport in the magnifying glass module; Normalized coordinates of the top left corner of the main viewport; Normalized dimensions for the main viewport; This is the scaling factor for the magnifying glass.

5. The high-precision local magnifying glass system based on digital pathological slides as described in claim 1, characterized in that, Also includes: A bidirectional event-driven synchronization module is used to listen for viewport changes and rotation events of the main view module and the magnifying glass module, and to perform the following: when the view state of the main view module changes, drive the magnifying glass module to update synchronously; when the sub-viewport in the magnifying glass module is interactively dragged, drive the position of the display area layer in the main view module to update accordingly.

6. The high-precision local magnifying glass system based on digital pathological slides as described in claim 1, characterized in that, The control handle layer includes: A region movement handle submodule is used to respond to user dragging to adjust the position of the local region; The area zoom handle submodule is used to respond to user dragging to adjust the size of the local area.

7. The high-precision local magnifying glass system based on digital pathological slides as described in claim 6, characterized in that, The control handle layer also includes a switching submodule, used to respond to user keyboard shortcut operations, switch the operation focus between the main view module and the magnifying glass module, or adjust the magnification of the magnifying glass module.

8. The high-precision local magnifying glass system based on digital pathological slides as described in claim 1, characterized in that, Also includes: The rotation processing module is used to control the sub-viewport to rotate in the opposite direction when the main view module rotates, and to synchronize the rotation center of the sub-viewport with the rotation center of the main view module, so as to keep the display content of the magnifying glass module consistent with the visual direction of the local area in the main view module.

9. The high-precision local magnifying glass system based on digital pathological slides as described in claim 1, characterized in that, Also includes: The dynamic size adaptive module is used to calculate the size of the sub-viewport in the magnifying glass module after the size change when the display size of the main view module changes, and to control the display area layer to maintain a constant area or a constant aspect ratio.

10. The high-precision local magnifying glass system based on digital pathological slides as described in claim 9, characterized in that, When the display size of the main view module changes, the size of the sub-viewport in the magnifying glass module after the size change is calculated, and the display area layer is controlled to maintain a constant area or a constant aspect ratio, including: ; in, This is the window width of the sub-viewport in the magnifying glass module; The height of the magnifying glass window; To fix the area of ​​the magnifying glass; Main viewer container width; The main viewer container is high.