def get_floorplan_images(states, floorplan, map_range_x, map_range_y, scale_factor=1):
    """ Get floorplan images from floorplan class """
    size_x = int(map_range_x * scale_factor)
    size_y = int(map_range_y * scale_factor)
    ims = floorplan.rgb(states, (size_x, size_y))
    return ims