Alejandro1400 / fluorophores_blinking_smlm

0 stars 0 forks source link

[ui/feat] Preprocessing Feature and Interface #1

Closed Alejandro1400 closed 3 months ago

Alejandro1400 commented 3 months ago

Overview

This issue outlines the requirements and current status of the "Image Preprocessing for STORM" interface, designed to facilitate image preprocessing tasks via a MATLAB-based GUI. The interface supports various functionalities such as loading TIFF files, adjusting image contrast, applying sharpness, and more.

Functionalities Included

The GUI provides the following features:

  1. Load TIFF Files: Users can load TIFF images for preprocessing, which involves selecting an image file through a dialog box. The first frame of the image is then displayed in the interface.
  2. Adjust Contrast: Offers interactive tools to adjust the contrast of the loaded image. Adjustments are made in real-time, allowing users to see the effect of their changes immediately.
  3. Apply Sharpness: Provides functionality to enhance the sharpness of the image. Users can specify parameters like radius, amount, and threshold to fine-tune the sharpening effect.
  4. Reset Changes: Allows users to revert any adjustments made to the image and return to the original state.
  5. Apply Changes Across Frames: If the TIFF file consists of multiple frames, changes made to one frame can be applied to all frames.
  6. Save Processed Files: Once the image adjustments are satisfactory, the processed image or images can be saved back to disk with the adjustments applied.
  7. Display Processed Frames as Video: For multi-frame TIFF files, this feature allows users to view the sequence of processed frames as a video, providing a quick preview of the entire file.

Code Structure

The GUI is implemented using MATLAB's App Designer with structured callback functions for each button and action. Image adjustments are handled through MATLAB's image processing toolbox, ensuring high performance and quality.

Implementation Details

Alejandro1400 commented 3 months ago

Completion of Image Preprocessing Interface

The development of the Image Preprocessing GUI for STORM has been completed successfully. Below is a summary of the functionalities implemented and screenshots showing the different stages of the interface in action.

Functionalities Implemented:

Screenshots:

  1. Initial Interface: Initial Interface

  2. Loading Image Progress: Loading Image

  3. Original Image Loaded: Original Image Loaded

  4. Adjusting Image Contrast: Adjust Image Contrast

  5. Set Sharpening Parameters: Set Sharpening Parameters

  6. Video Playback of Processed Frames: Processed Frames Video

  7. Saving Adjusted TIFF: Saving Adjusted TIFF

Conclusion:

All planned features have been integrated into the GUI, providing a robust tool for image preprocessing tailored for STORM applications. The GUI facilitates easy manipulation of image data, enhancing user interaction and efficiency.