# Resizing Views

The resizing option is available for the Green Classify High Detail and the Red Analyze High Detail tools through the Resizing expert mode parameters.

Note: Resizing causes loss of image information for training. To avoid information loss, please adjust the ROI to reduce the size of the views.

The parameters look similar in the GUI, but they operate differently for each tool:

- Resizing for Green Classify High Detail tools

  The software automatically shrinks views when you use large images that exceed the GPU capacity. If you want to resize manually, set the Resize Mode parameter to Manual. For Green Classify tools, resizing only affects the training phase, but it does not affect processing.

- Resizing for Red Analyze High Detail tools

  You can use resizing to improve both training and processing speed. Additionally, the software shrinks the label and marking sizes together with the size of the image. The software automatically shrinks oversized images if the Resize Mode parameter is set to Auto.

## Configure Resizing Parameter

You can resize the view in two ways: auto mode and manual mode. For both modes, resizing is applied to all views while they are processed and used for training, but the images of the original sizes are preserved in View Browser and Image Display Area.

Training the model with images larger than the capacity of the GPU can result in reduced performance. You can check the maximum image size with the resize tool in expert mode. If you are using other software that consumes a lot of GPU VRAM, the maximum size to train can get reduced. Critical details can be lost if you resize the image to an extremely small size.

### Resize Logic

- When a view has larger width or height than the input size, the view will keep its original aspect-ratio. The resized view is placed in the center of the resize area surrounded by zero-padding.
- When a view has smaller width or height than the input size, the view is placed in the center of the resize area surrounded by zero-padding.

If the original aspect ratio is not identical for all views, the tool creates the new aspect ratio and calculates the maximum buffer size based on the maximum height and maximum width of the images.

### Preview Dialog - Green Classify High Detail only

You can check how the views are resized before training in the Preview Dialog.

- The dialog shows the view that you selected in the Image Display Area in the new size and resolution.
- The zero-padded area is displayed in black.
- You can zoom in and out with the scroll wheel. The scale of the view is shown at the bottom.