Class ScaleByTypeToByte

Object
AnchorBean<ConvertChannelTo<UnsignedByteBuffer>>
InitializableBean<ConvertChannelTo<UnsignedByteBuffer>, ImageInitialization>
ImageBean<ConvertChannelTo<UnsignedByteBuffer>>
ConvertChannelTo<UnsignedByteBuffer>
ScaleByTypeToByte

public class ScaleByTypeToByte extends ConvertChannelTo<UnsignedByteBuffer>
Converts a channel to unsigned byte format, scaling the values based on the original voxel type.

This class extends ConvertChannelTo to provide a specific implementation for converting channels to unsigned byte format with type-based scaling.

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ChannelConverter<UnsignedByteBuffer>
     

    Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean

    getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization

    Methods inherited from class org.anchoranalysis.bean.AnchorBean

    checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ScaleByTypeToByte

      public ScaleByTypeToByte()
  • Method Details

    • createConverter

      public ChannelConverter<UnsignedByteBuffer> createConverter()
      Specified by:
      createConverter in class ConvertChannelTo<UnsignedByteBuffer>